On 3/5/24 4:40 AM, Xi Ruoyao wrote:
Recently I've fixed two wrong FP vector negate implementation which caused wrong sign bits in zeros in targets (r14-8786 and r14-8801). To prevent a similar issue from happening again, add a test case. Tested on x86_64 (with SSE2, AVX, AVX2, and AVX512F), AArch64, MIPS (with MSA), LoongArch (with LSX and LASX). gcc/testsuite: * gcc.dg/vect/vect-neg-zero.c: New test. --- - v1 -> v2: Remove { dg-do run } which may cause SIGILL. - v2 -> v3: Add -fno-associative-math to fix an excessive warning on arm. Ok for trunk?
OK jeff