/* { 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]) = 0xfe02fe02; *((int *)&__m256_op0[2]) = 0xfee5fe22; *((int *)&__m256_op0[1]) = 0xff49fe42; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0x0000ffff; *((int *)&__m256_op1[6]) = 0x0000ff80; *((int *)&__m256_op1[5]) = 0x00004686; *((int *)&__m256_op1[4]) = 0x00007f79; *((int *)&__m256_op1[3]) = 0xffffffff; *((int *)&__m256_op1[2]) = 0x0000ffff; *((int *)&__m256_op1[1]) = 0x0000f328; *((int *)&__m256_op1[0]) = 0x0000dfff; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_clt_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]) = 0x01000000; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0x01000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_clt_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]) = 0xffff80cb; *((int *)&__m256_op1[6]) = 0xfffffdf8; *((int *)&__m256_op1[5]) = 0x00000815; *((int *)&__m256_op1[4]) = 0x00000104; *((int *)&__m256_op1[3]) = 0xffffffa4; *((int *)&__m256_op1[2]) = 0xfffffffd; *((int *)&__m256_op1[1]) = 0x00000007; *((int *)&__m256_op1[0]) = 0x00000002; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_clt_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]) = 0xffff0000; *((int *)&__m256_op0[0]) = 0xffffffff; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00003f3f; *((int *)&__m256_op1[4]) = 0xc6c68787; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0x00003f3f; *((int *)&__m256_op1[0]) = 0x87870000; *((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_clt_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]) = 0x00000002; *((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]) = 0xffffffff00000000; __m256i_out = __lasx_xvfcmp_clt_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_clt_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]) = 0xffffffff; *((int *)&__m256_op1[6]) = 0xffffffff; *((int *)&__m256_op1[5]) = 0xffffffff; *((int *)&__m256_op1[4]) = 0x0101ffff; *((int *)&__m256_op1[3]) = 0xffffffff; *((int *)&__m256_op1[2]) = 0xffffffff; *((int *)&__m256_op1[1]) = 0xffffffff; *((int *)&__m256_op1[0]) = 0x0101ffff; *((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_clt_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x01000100; *((int *)&__m256_op0[6]) = 0x01000100; *((int *)&__m256_op0[5]) = 0x01000100; *((int *)&__m256_op0[4]) = 0x01000100; *((int *)&__m256_op0[3]) = 0x01000100; *((int *)&__m256_op0[2]) = 0x01000100; *((int *)&__m256_op0[1]) = 0x01000100; *((int *)&__m256_op0[0]) = 0x01000100; *((int *)&__m256_op1[7]) = 0x7f800000; *((int *)&__m256_op1[6]) = 0x7f800000; *((int *)&__m256_op1[5]) = 0x62d2acee; *((int *)&__m256_op1[4]) = 0x7fc00000; *((int *)&__m256_op1[3]) = 0x7f800000; *((int *)&__m256_op1[2]) = 0x7f800000; *((int *)&__m256_op1[1]) = 0x62d2acee; *((int *)&__m256_op1[0]) = 0x7fc00000; *((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_clt_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]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00000000; *((int *)&__m256_op1[5]) = 0x00000808; *((int *)&__m256_op1[4]) = 0x00000808; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00000000; *((int *)&__m256_op1[1]) = 0x00000808; *((int *)&__m256_op1[0]) = 0x00000808; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0xffffffff00000000; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0xffffffff00000000; __m256i_out = __lasx_xvfcmp_clt_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0xffffffff; *((int *)&__m256_op0[6]) = 0xffff8000; *((int *)&__m256_op0[5]) = 0x7efefefe; *((int *)&__m256_op0[4]) = 0x80ffffff; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x7efefefe; *((int *)&__m256_op0[0]) = 0x80ffffff; *((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]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0x00000000ffffffff; __m256i_out = __lasx_xvfcmp_clt_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]) = 0x0001ffaa; *((int *)&__m256_op1[6]) = 0x0000040e; *((int *)&__m256_op1[5]) = 0x00007168; *((int *)&__m256_op1[4]) = 0x00007bb6; *((int *)&__m256_op1[3]) = 0x0001ffe8; *((int *)&__m256_op1[2]) = 0x0001fe9c; *((int *)&__m256_op1[1]) = 0x00002282; *((int *)&__m256_op1[0]) = 0x00001680; *((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_cult_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x01010101; *((int *)&__m256_op0[5]) = 0x55555501; *((int *)&__m256_op0[4]) = 0xfefefeab; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x01010101; *((int *)&__m256_op0[1]) = 0x55555501; *((int *)&__m256_op0[0]) = 0xfefefeab; *((int *)&__m256_op1[7]) = 0x00000105; *((int *)&__m256_op1[6]) = 0xfffffefb; *((int *)&__m256_op1[5]) = 0xffffff02; *((int *)&__m256_op1[4]) = 0x000000fe; *((int *)&__m256_op1[3]) = 0x00000105; *((int *)&__m256_op1[2]) = 0xfffffefb; *((int *)&__m256_op1[1]) = 0xffffff02; *((int *)&__m256_op1[0]) = 0x000000fe; *((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_cult_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]) = 0x00000080; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000080; *((int *)&__m256_op1[7]) = 0xffffffff; *((int *)&__m256_op1[6]) = 0xffffffff; *((int *)&__m256_op1[5]) = 0xffffffff; *((int *)&__m256_op1[4]) = 0xffffffff; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0xffffffff; *((int *)&__m256_op1[1]) = 0xffffffff; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[0]) = 0xffffffff00000000; __m256i_out = __lasx_xvfcmp_cult_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x0000ffce; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x0000fc7c; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x0000ffce; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x0000fc7c; *((int *)&__m256_op1[7]) = 0xe7e7e7e7; *((int *)&__m256_op1[6]) = 0xe7e7e7e7; *((int *)&__m256_op1[5]) = 0xe7e7e7e7; *((int *)&__m256_op1[4]) = 0xe7e7e7e7; *((int *)&__m256_op1[3]) = 0xe7e7e7e7; *((int *)&__m256_op1[2]) = 0xe7e7e7e7; *((int *)&__m256_op1[1]) = 0xe7e7e7e7; *((int *)&__m256_op1[0]) = 0xe7e7e7e7; *((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_cult_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0xffffffff; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0xffffffff; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0xffffffff; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0xffffffff; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0xffffffff; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0xffffffff; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0xffffffff; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0xffffffff; *((unsigned long *)&__m256i_result[3]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[2]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[1]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[0]) = 0x00000000ffffffff; __m256i_out = __lasx_xvfcmp_cult_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]) = 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_cult_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_cult_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]) = 0x0007a861; *((int *)&__m256_op1[3]) = 0xffffffff; *((int *)&__m256_op1[2]) = 0xffffffff; *((int *)&__m256_op1[1]) = 0xffffffff; *((int *)&__m256_op1[0]) = 0x0007a861; *((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_cult_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0xffffffff; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0xffffffff; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0xffffffff; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0xffffffff; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_op1[7]) = 0x00000000; *((int *)&__m256_op1[6]) = 0x00100010; *((int *)&__m256_op1[5]) = 0x00100010; *((int *)&__m256_op1[4]) = 0x00100010; *((int *)&__m256_op1[3]) = 0x00000000; *((int *)&__m256_op1[2]) = 0x00100010; *((int *)&__m256_op1[1]) = 0x00100010; *((int *)&__m256_op1[0]) = 0x00100010; *((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_cult_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((int *)&__m256_op0[7]) = 0x01010101; *((int *)&__m256_op0[6]) = 0x01010101; *((int *)&__m256_op0[5]) = 0x01010101; *((int *)&__m256_op0[4]) = 0x00000001; *((int *)&__m256_op0[3]) = 0x01010101; *((int *)&__m256_op0[2]) = 0x01010101; *((int *)&__m256_op0[1]) = 0x01010101; *((int *)&__m256_op0[0]) = 0x00000001; *((int *)&__m256_op1[7]) = 0x000001e0; *((int *)&__m256_op1[6]) = 0x01e001e0; *((int *)&__m256_op1[5]) = 0x00000000; *((int *)&__m256_op1[4]) = 0x00000000; *((int *)&__m256_op1[3]) = 0x000001e0; *((int *)&__m256_op1[2]) = 0x01e001e0; *((int *)&__m256_op1[1]) = 0x00000000; *((int *)&__m256_op1[0]) = 0x00000000; *((unsigned long *)&__m256i_result[3]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[1]) = 0x00000000ffffffff; *((unsigned long *)&__m256i_result[0]) = 0x0000000000000000; __m256i_out = __lasx_xvfcmp_cult_s (__m256_op0, __m256_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0x0001000100010001; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0x0001000100010001; *((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_clt_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op0[1]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op0[0]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[1]) = 0x000000000000007f; *((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_clt_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0001000100010001; *((unsigned long *)&__m256d_op0[2]) = 0x0001000100010001; *((unsigned long *)&__m256d_op0[1]) = 0x0001000100010001; *((unsigned long *)&__m256d_op0[0]) = 0x0001000100010001; *((unsigned long *)&__m256d_op1[3]) = 0xf800d0d8ffffeecf; *((unsigned long *)&__m256d_op1[2]) = 0x0000383fffffdf0d; *((unsigned long *)&__m256d_op1[1]) = 0xf800d0d8ffffeecf; *((unsigned long *)&__m256d_op1[0]) = 0x0000383fffffdf0d; *((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_clt_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x7fefffffffffffff; *((unsigned long *)&__m256d_op0[2]) = 0x7fefffffffffffff; *((unsigned long *)&__m256d_op0[1]) = 0x7fefffffffffffff; *((unsigned long *)&__m256d_op0[0]) = 0x7fefffffffffffff; *((unsigned long *)&__m256d_op1[3]) = 0x7fefffffffffffff; *((unsigned long *)&__m256d_op1[2]) = 0x7fefffffffffffff; *((unsigned long *)&__m256d_op1[1]) = 0x7fefffffffffffff; *((unsigned long *)&__m256d_op1[0]) = 0x7fefffffffffffff; *((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_clt_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0x001ffffe00200000; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0x001ffffe00200000; *((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_clt_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_clt_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]) = 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_clt_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x2020000020200000; *((unsigned long *)&__m256d_op0[2]) = 0x2020000020200000; *((unsigned long *)&__m256d_op0[1]) = 0x0008000001010000; *((unsigned long *)&__m256d_op0[0]) = 0x0101000001010000; *((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_cult_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]) = 0x0006000000040000; *((unsigned long *)&__m256d_op1[2]) = 0x0002000000000000; *((unsigned long *)&__m256d_op1[1]) = 0x0006000000040000; *((unsigned long *)&__m256d_op1[0]) = 0x0002000000000000; *((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_cult_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000ffff00000000; *((unsigned long *)&__m256d_op0[2]) = 0x0000ffff00000000; *((unsigned long *)&__m256d_op0[1]) = 0x0000ffff00000000; *((unsigned long *)&__m256d_op0[0]) = 0x0000ffff00000000; *((unsigned long *)&__m256d_op1[3]) = 0x0000ffff00000000; *((unsigned long *)&__m256d_op1[2]) = 0x0000ffff00000000; *((unsigned long *)&__m256d_op1[1]) = 0x0000ffff00000000; *((unsigned long *)&__m256d_op1[0]) = 0x0000ffff00000000; *((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_cult_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0xffffffff00000000; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0xffffffff00000000; *((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]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cult_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); *((unsigned long *)&__m256d_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[2]) = 0xfff1000000000000; *((unsigned long *)&__m256d_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op0[0]) = 0xfff1000000000000; *((unsigned long *)&__m256d_op1[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256d_op1[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_op1[0]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[2]) = 0xffffffffffffffff; *((unsigned long *)&__m256i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_result[0]) = 0xffffffffffffffff; __m256i_out = __lasx_xvfcmp_cult_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]) = 0xfffefffefffefffe; *((unsigned long *)&__m256d_op1[2]) = 0xfffefffefffefffe; *((unsigned long *)&__m256d_op1[1]) = 0xfffefffefffefffe; *((unsigned long *)&__m256d_op1[0]) = 0xfffefffefffefffe; *((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_cult_d (__m256d_op0, __m256d_op1); ASSERTEQ_64 (__LINE__, __m256i_result, __m256i_out); return 0; }