/* { dg-options "-mlasx -w -fno-strict-aliasing" } */ #include "../simd_correctness_check.h" #include int main () { __m256i __m256i_op0, __m256i_op1, __m256i_op2, __m256i_out, __m256i_result; __m256 __m256_op0, __m256_op1, __m256_op2, __m256_out, __m256_result; __m256d __m256d_op0, __m256d_op1, __m256d_op2, __m256d_out, __m256d_result; int int_op0, int_op1, int_op2, int_out, int_result, i = 1, fail; long int long_op0, long_op1, long_op2, lont_out, lont_result; long int long_int_out, long_int_result; unsigned int unsigned_int_out, unsigned_int_result; unsigned long int unsigned_long_int_out, unsigned_long_int_result; *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x0000ffff; *((int *)&__m256_op0[4]) = 0x0000ffff; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x0000ffff; *((int *)&__m256_op0[0]) = 0x0000ffff; *((int *)&__m256_op1[7]) = 0x0eb7aaaa; *((int *)&__m256_op1[6]) = 0xa6e6ac80; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0x0eb7aaaa; *((int *)&__m256_op1[2]) = 0xa6e6ac80; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x3fff3fff; *((int *)&__m256_op0[6]) = 0x3fff3fff; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x3fff3fff; *((int *)&__m256_op0[3]) = 0x3fff3fff; *((int *)&__m256_op0[2]) = 0x3fff3fff; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x3fff3fff; *((int *)&__m256_op1[7]) = 0x017e01fe; *((int *)&__m256_op1[6]) = 0x01fe01fe; *((int *)&__m256_op1[5]) = 0x05860606; *((int *)&__m256_op1[4]) = 0x01fe0202; *((int *)&__m256_op1[3]) = 0x017e01fe; *((int *)&__m256_op1[2]) = 0x01fe0000; *((int *)&__m256_op1[1]) = 0x05860606; *((int *)&__m256_op1[0]) = 0x01fe0004; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x0000003f; *((int *)&__m256_op0[6]) = 0x00390035; *((int *)&__m256_op0[5]) = 0x8015003f; *((int *)&__m256_op0[4]) = 0x0006001f; *((int *)&__m256_op0[3]) = 0x0000003f; *((int *)&__m256_op0[2]) = 0x00390035; *((int *)&__m256_op0[1]) = 0x8015003f; *((int *)&__m256_op0[0]) = 0x0006001f; *((int *)&__m256_op1[7]) = 0xffffffff; *((int *)&__m256_op1[6]) = 0xffffffff; *((int *)&__m256_op1[5]) = 0xffffffff; *((int *)&__m256_op1[4]) = 0xffffffff; *((int *)&__m256_op1[3]) = 0xffffffff; *((int *)&__m256_op1[2]) = 0xffffffff; *((int *)&__m256_op1[1]) = 0xffffffff; *((int *)&__m256_op1[0]) = 0xffffffff; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0xefdfefdf; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0xefdfefdf; *((int *)&__m256_op1[4]) = 0xefdfefdf; *((int *)&__m256_op1[3]) = 0xefdfefdf; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0xefdfefdf; *((int *)&__m256_op1[0]) = 0xefdfefdf; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0x00ff00ff; *((int *)&__m256_op1[6]) = 0x00ff00ff; *((int *)&__m256_op1[5]) = 0x00ff00ff; *((int *)&__m256_op1[4]) = 0x00ff00ff; *((int *)&__m256_op1[3]) = 0x00ff00ff; *((int *)&__m256_op1[2]) = 0x00ff00ff; *((int *)&__m256_op1[1]) = 0x00ff00ff; *((int *)&__m256_op1[0]) = 0x00ff00ff; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000001; *((int *)&__m256_op0[6]) = 0x7bfffff0; *((int *)&__m256_op0[5]) = 0x00000001; *((int *)&__m256_op0[4]) = 0x80007fe8; *((int *)&__m256_op0[3]) = 0x00000001; *((int *)&__m256_op0[2]) = 0x7bfffff0; *((int *)&__m256_op0[1]) = 0x00000001; *((int *)&__m256_op0[0]) = 0x80007fe8; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x02020102; *((int *)&__m256_op0[6]) = 0x02020102; *((int *)&__m256_op0[5]) = 0x02020102; *((int *)&__m256_op0[4]) = 0x02020102; *((int *)&__m256_op0[3]) = 0x02020102; *((int *)&__m256_op0[2]) = 0x02020102; *((int *)&__m256_op0[1]) = 0x02020102; *((int *)&__m256_op0[0]) = 0x02020102; *((int *)&__m256_op1[7]) = 0x3e800000; *((int *)&__m256_op1[6]) = 0x3e800000; *((int *)&__m256_op1[5]) = 0x3e800000; *((int *)&__m256_op1[4]) = 0x3e800000; *((int *)&__m256_op1[3]) = 0x3e800000; *((int *)&__m256_op1[2]) = 0x3e800000; *((int *)&__m256_op1[1]) = 0x3e800000; *((int *)&__m256_op1[0]) = 0x3e800000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00ff00ff; *((int *)&__m256_op0[6]) = 0x00ff00ff; *((int *)&__m256_op0[5]) = 0x00ff00ff; *((int *)&__m256_op0[4]) = 0x00ff00ff; *((int *)&__m256_op0[3]) = 0x00ff00ff; *((int *)&__m256_op0[2]) = 0x00ff00ff; *((int *)&__m256_op0[1]) = 0x00ff00ff; *((int *)&__m256_op0[0]) = 0x00ff00ff; *((int *)&__m256_op1[7]) = 0xffffffff; *((int *)&__m256_op1[6]) = 0xffffffff; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0xffffffff; *((int *)&__m256_op1[3]) = 0xffffffff; *((int *)&__m256_op1[2]) = 0xffffffff; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0xffffffff; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x80000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0xff88ff88; *((int *)&__m256_op0[3]) = 0x80000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0xff88ff88; *((int *)&__m256_op1[7]) = 0xfe01fe01; *((int *)&__m256_op1[6]) = 0x0000fd02; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x3fc03fc0; *((int *)&__m256_op1[3]) = 0xfe01fe01; *((int *)&__m256_op1[2]) = 0x0000fd02; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x3fc03fc0; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000001; *((int *)&__m256_op0[6]) = 0x00000001; *((int *)&__m256_op0[5]) = 0xffffb2f6; *((int *)&__m256_op0[4]) = 0x00006f48; *((int *)&__m256_op0[3]) = 0x00000001; *((int *)&__m256_op0[2]) = 0x00000001; *((int *)&__m256_op0[1]) = 0xffffb2f6; *((int *)&__m256_op0[0]) = 0x00006f48; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x000000ff; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x000000ff; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0xffffffff; *((int *)&__m256_op0[6]) = 0xffffffff; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0xffffffff; *((int *)&__m256_op0[2]) = 0xffffffff; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00100010; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00100010; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00100010; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00100010; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[3]) = 0x0000000000000020; *((unsigned long *)&__m256d_op1[2]) = 0x0020000000000000; *((unsigned long *)&__m256d_op1[1]) = 0x0000000000000020; *((unsigned long *)&__m256d_op1[0]) = 0x0020000000000000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0x00000000ffffffff; *((unsigned long *)&__m256d_op1[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[2]) = 0xfffffefefffffefe; *((unsigned long *)&__m256d_op1[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[0]) = 0xfffffefe00000000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[0]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op0[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op0[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op0[0]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[0]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0x0000000000000010; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0x0000000000000010; *((unsigned long *)&__m256d_op1[3]) = 0x000408080c111414; *((unsigned long *)&__m256d_op1[2]) = 0x000408080c111414; *((unsigned long *)&__m256d_op1[1]) = 0x000408080c111414; *((unsigned long *)&__m256d_op1[0]) = 0x000408080c111414; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x00000000ffdbbbcf; *((unsigned long *)&__m256d_op0[2]) = 0x00000000ffb8579f; *((unsigned long *)&__m256d_op0[1]) = 0x00000000ffdbbbcf; *((unsigned long *)&__m256d_op0[0]) = 0x00000000ffb8579f; *((unsigned long *)&__m256d_op1[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[0]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000200000000000; *((unsigned long *)&__m256d_op0[2]) = 0x0000000000004000; *((unsigned long *)&__m256d_op0[1]) = 0x0000200000000000; *((unsigned long *)&__m256d_op0[0]) = 0x0000000000004000; *((unsigned long *)&__m256d_op1[3]) = 0x3fffbfff80000000; *((unsigned long *)&__m256d_op1[2]) = 0x00004000007f8000; *((unsigned long *)&__m256d_op1[1]) = 0x3fffbfff80000000; *((unsigned long *)&__m256d_op1[0]) = 0x00004000007f8000; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_saf_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); return 0; }