From 3d6d026fe1f61ed4ee501aa7d69b40196ee1b174 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Thu, 10 Apr 2025 15:44:31 +0200 Subject: [PATCH] no-gcse when loongarch64 --- utest/test_potrs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utest/test_potrs.c b/utest/test_potrs.c index e6ccf4bb6..bcb1f753b 100644 --- a/utest/test_potrs.c +++ b/utest/test_potrs.c @@ -32,6 +32,9 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. **********************************************************************************/ #include "openblas_utest.h" +#if defined(ARCH_LOONGARCH64) +#pragma GCC optimize("no-gcse") +#endif /* void BLASFUNC(cpotrf)(char*, BLASINT*, complex float*, BLASINT*, BLASINT*); void BLASFUNC(zpotrs_(char*, BLASINT*, BLASINT*, complex double*,