/* { 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]) = 0x0018796d; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((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_cle_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00fffb04; *((int *)&__m256_op0[6]) = 0x02fddf20; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0x00fffb04; *((int *)&__m256_op0[2]) = 0x02fddf20; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0x41dfffc0; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0x41dfffdf; *((int *)&__m256_op1[2]) = 0xffc00000; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_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]) = 0xffffffff; *((int *)&__m256_op1[6]) = 0xffffffee; *((int *)&__m256_op1[5]) = 0xffffffff; *((int *)&__m256_op1[4]) = 0xffffffee; *((int *)&__m256_op1[3]) = 0xffffffff; *((int *)&__m256_op1[2]) = 0xffffffee; *((int *)&__m256_op1[1]) = 0xffffffff; *((int *)&__m256_op1[0]) = 0xffffffee; *((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_cle_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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_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]) = 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_cle_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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x01fe007a; *((int *)&__m256_op0[6]) = 0x01c40110; *((int *)&__m256_op0[5]) = 0x019d00a2; *((int *)&__m256_op0[4]) = 0x0039fff9; *((int *)&__m256_op0[3]) = 0x01fe007a; *((int *)&__m256_op0[2]) = 0x01c40110; *((int *)&__m256_op0[1]) = 0x019d00a2; *((int *)&__m256_op0[0]) = 0x003a0000; *((int *)&__m256_op1[7]) = 0x0000fffe; *((int *)&__m256_op1[6]) = 0x00800022; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0xffffffff; *((int *)&__m256_op1[3]) = 0x0000fffe; *((int *)&__m256_op1[2]) = 0x00800022; *((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_cle_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000001; *((int *)&__m256_op0[5]) = 0x7fff7ffe; *((int *)&__m256_op0[4]) = 0xffffffff; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000001; *((int *)&__m256_op0[1]) = 0x7fff7ffe; *((int *)&__m256_op0[0]) = 0xffffffff; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00000002; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00000002; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000002; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00000002; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_cle_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x04000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x04000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x04000000; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x04000000; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_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]) = 0x00000040; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000040; *((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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffff00000000; __m256i_out = __lasx_xvfcmp_cle_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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_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]) = 0xffffffff; *((int *)&__m256_op0[4]) = 0xffffffff; *((int *)&__m256_op0[3]) = 0xffffffff; *((int *)&__m256_op0[2]) = 0xffffffff; *((int *)&__m256_op0[1]) = 0xffffffff; *((int *)&__m256_op0[0]) = 0xffffffff; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00010001; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00010001; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00010001; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00010001; *((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_cle_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]) = 0xffffffff; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0xffffffff; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0x00000000ffffffff; __m256i_out = __lasx_xvfcmp_cle_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]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[2]) = 0x7fffffff7fffffff; *((unsigned long *)&__m256d_op1[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[0]) = 0x000000007fffffff; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0xe161616161614e60; *((unsigned long *)&__m256d_op0[2]) = 0xe161616161614e60; *((unsigned long *)&__m256d_op0[1]) = 0xe161616161614e60; *((unsigned long *)&__m256d_op0[0]) = 0xe161616161614e60; *((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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0x0000000000007773; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0x0000000000003373; *((unsigned long *)&__m256d_op1[3]) = 0x1616161616161616; *((unsigned long *)&__m256d_op1[2]) = 0x161616167fffffff; *((unsigned long *)&__m256d_op1[1]) = 0x7ffe16167f161616; *((unsigned long *)&__m256d_op1[0]) = 0x161616167fffffff; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_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]) = 0xffffcc8000000000; *((unsigned long *)&__m256d_op0[0]) = 0x000000007dfdff4b; *((unsigned long *)&__m256d_op1[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[2]) = 0xbabababababababa; *((unsigned long *)&__m256d_op1[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[0]) = 0xbabababababababa; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_cle_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0x0000000002a54290; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0x0000000002a54290; *((unsigned long *)&__m256d_op1[3]) = 0x0101010183f9999b; *((unsigned long *)&__m256d_op1[2]) = 0x0101010101010101; *((unsigned long *)&__m256d_op1[1]) = 0x01010101d58f43c9; *((unsigned long *)&__m256d_op1[0]) = 0x0101010101010101; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000ffff00000001; *((unsigned long *)&__m256d_op0[2]) = 0x1010100f10100fd4; *((unsigned long *)&__m256d_op0[1]) = 0x0000ffff00000001; *((unsigned long *)&__m256d_op0[0]) = 0x1010100f10100fd4; *((unsigned long *)&__m256d_op1[3]) = 0x0001000100010001; *((unsigned long *)&__m256d_op1[2]) = 0x0001000100010001; *((unsigned long *)&__m256d_op1[1]) = 0x0001000100010001; *((unsigned long *)&__m256d_op1[0]) = 0x0001000100010001; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_cle_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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x00000000ffffffff; *((unsigned long *)&__m256d_op0[2]) = 0x0100000001000100; *((unsigned long *)&__m256d_op0[1]) = 0x00000000ffffffff; *((unsigned long *)&__m256d_op0[0]) = 0x0100000001000100; *((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_cle_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0x0000000002070145; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0x0000000002070145; *((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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_cle_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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cle_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op0[2]) = 0xffffffff0007a861; *((unsigned long *)&__m256d_op0[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op0[0]) = 0xffffffff0007a861; *((unsigned long *)&__m256d_op1[3]) = 0x0000000000000003; *((unsigned long *)&__m256d_op1[2]) = 0x0000000000000003; *((unsigned long *)&__m256d_op1[1]) = 0x0000000000000003; *((unsigned long *)&__m256d_op1[0]) = 0x0000000000000003; *((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_cle_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x1b976395; *((int *)&__m256_op0[6]) = 0x2fc4c101; *((int *)&__m256_op0[5]) = 0xe37affb4; *((int *)&__m256_op0[4]) = 0x2fc05f69; *((int *)&__m256_op0[3]) = 0x18b988e6; *((int *)&__m256_op0[2]) = 0x4facb558; *((int *)&__m256_op0[1]) = 0xe5fb66c8; *((int *)&__m256_op0[0]) = 0x1da8e5bb; *((int *)&__m256_op1[7]) = 0x01a72334; *((int *)&__m256_op1[6]) = 0xffff00ff; *((int *)&__m256_op1[5]) = 0xff4f6838; *((int *)&__m256_op1[4]) = 0xff937648; *((int *)&__m256_op1[3]) = 0x00a2afb7; *((int *)&__m256_op1[2]) = 0xfff00ecb; *((int *)&__m256_op1[1]) = 0xffce110f; *((int *)&__m256_op1[0]) = 0x004658c7; *((unsigned long *)&__m256i_result[3]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[2]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[1]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffff00000000; __m256i_out = __lasx_xvfcmp_cule_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]) = 0xffffffff; *((int *)&__m256_op0[4]) = 0x00001000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0xffffffff; *((int *)&__m256_op0[0]) = 0x00001000; *((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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffff00000000; __m256i_out = __lasx_xvfcmp_cule_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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x0000ff00; *((int *)&__m256_op0[6]) = 0x0000ffff; *((int *)&__m256_op0[5]) = 0x000000ff; *((int *)&__m256_op0[4]) = 0x000000ff; *((int *)&__m256_op0[3]) = 0x0000ff00; *((int *)&__m256_op0[2]) = 0x0000ffff; *((int *)&__m256_op0[1]) = 0x000000ff; *((int *)&__m256_op0[0]) = 0x000000ff; *((int *)&__m256_op1[7]) = 0x0000ffee; *((int *)&__m256_op1[6]) = 0x0000ff4c; *((int *)&__m256_op1[5]) = 0x0000ff05; *((int *)&__m256_op1[4]) = 0x0000ff3c; *((int *)&__m256_op1[3]) = 0x0000fff9; *((int *)&__m256_op1[2]) = 0x0000ff78; *((int *)&__m256_op1[1]) = 0x0000ffa8; *((int *)&__m256_op1[0]) = 0x0000ff31; *((unsigned long *)&__m256i_result[3]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_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]) = 0xffffffff; *((int *)&__m256_op1[6]) = 0xffffffff; *((int *)&__m256_op1[5]) = 0xffff0000; *((int *)&__m256_op1[4]) = 0xffff0000; *((int *)&__m256_op1[3]) = 0xffffffff; *((int *)&__m256_op1[2]) = 0xffffffff; *((int *)&__m256_op1[1]) = 0xffff0000; *((int *)&__m256_op1[0]) = 0xffff0000; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x0000ff01; *((int *)&__m256_op0[6]) = 0x00ff0000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x0000ff01; *((int *)&__m256_op0[3]) = 0x0000ff01; *((int *)&__m256_op0[2]) = 0x00ff0000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x0000ff01; *((int *)&__m256_op1[7]) = 0xffffffff; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0xffffffff; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0xffffffff; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0xffffffff; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[2]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[1]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[0]) = 0xffffffff00000000; __m256i_out = __lasx_xvfcmp_cule_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]) = 0x00010000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00010000; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x02000000; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x02000000; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_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]) = 0xffffffff; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0xffffffff; *((int *)&__m256_op0[2]) = 0xffffffff; *((int *)&__m256_op0[1]) = 0xffffffff; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x01010000; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x01010000; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_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]) = 0xffffffff; *((int *)&__m256_op0[4]) = 0xffffffff; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0xffffffff; *((int *)&__m256_op0[0]) = 0xffffffff; *((int *)&__m256_op1[7]) = 0xffffffff; *((int *)&__m256_op1[6]) = 0xffffffff; *((int *)&__m256_op1[5]) = 0xffff0101; *((int *)&__m256_op1[4]) = 0x00000001; *((int *)&__m256_op1[3]) = 0xffffffff; *((int *)&__m256_op1[2]) = 0xffffffff; *((int *)&__m256_op1[1]) = 0xffff0101; *((int *)&__m256_op1[0]) = 0x00000001; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0xfffffffb; *((int *)&__m256_op0[6]) = 0xfffffffb; *((int *)&__m256_op0[5]) = 0xfffffffb; *((int *)&__m256_op0[4]) = 0xfffffffb; *((int *)&__m256_op0[3]) = 0xfffffffb; *((int *)&__m256_op0[2]) = 0xfffffffb; *((int *)&__m256_op0[1]) = 0xfffffffb; *((int *)&__m256_op0[0]) = 0xfffffffb; *((int *)&__m256_op1[7]) = 0x0000ffff; *((int *)&__m256_op1[6]) = 0x0001000e; *((int *)&__m256_op1[5]) = 0x0000ffff; *((int *)&__m256_op1[4]) = 0x0000ffff; *((int *)&__m256_op1[3]) = 0x0000ffff; *((int *)&__m256_op1[2]) = 0x0000ffff; *((int *)&__m256_op1[1]) = 0x0000ffff; *((int *)&__m256_op1[0]) = 0x0000ffff; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x8080808280808082; *((unsigned long *)&__m256d_op0[2]) = 0x8080808280808082; *((unsigned long *)&__m256d_op0[1]) = 0x8080808280808080; *((unsigned long *)&__m256d_op0[0]) = 0x8080808280808082; *((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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op0[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op0[0]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[2]) = 0xfffeffff10000000; *((unsigned long *)&__m256d_op1[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[0]) = 0xfffeffff10000000; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_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]) = 0x0c6a240000000000; *((unsigned long *)&__m256d_op1[2]) = 0x0f00204000000000; *((unsigned long *)&__m256d_op1[1]) = 0x0c6a240000000000; *((unsigned long *)&__m256d_op1[0]) = 0x0f00204000000000; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cule_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); return 0; }