/* { dg-options "-mlasx -w -fno-strict-aliasing" } */ /* { dg-timeout 500 } */ #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; *((int *)&__m256_op0[7]) = 0xffffffff; *((int *)&__m256_op0[6]) = 0xffff5f5c; *((int *)&__m256_op0[5]) = 0xffffffff; *((int *)&__m256_op0[4]) = 0xffff605a; *((int *)&__m256_op0[3]) = 0xffffffff; *((int *)&__m256_op0[2]) = 0xffff5f5c; *((int *)&__m256_op0[1]) = 0xffffffff; *((int *)&__m256_op0[0]) = 0xffff605a; *((int *)&__m256_result[7]) = 0xffffffff; *((int *)&__m256_result[6]) = 0xffff5f5c; *((int *)&__m256_result[5]) = 0xffffffff; *((int *)&__m256_result[4]) = 0xffff605a; *((int *)&__m256_result[3]) = 0xffffffff; *((int *)&__m256_result[2]) = 0xffff5f5c; *((int *)&__m256_result[1]) = 0xffffffff; *((int *)&__m256_result[0]) = 0xffff605a; __m256_out = __lasx_xvfrint_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0xc5c5c5c4; *((int *)&__m256_op0[6]) = 0xc5c5c5c4; *((int *)&__m256_op0[5]) = 0x45c5c5c5; *((int *)&__m256_op0[4]) = 0x45c5c5c5; *((int *)&__m256_op0[3]) = 0xc5c5c5c4; *((int *)&__m256_op0[2]) = 0xc5c5c5c4; *((int *)&__m256_op0[1]) = 0x45c5c5c5; *((int *)&__m256_op0[0]) = 0x45c5c5c5; *((int *)&__m256_result[7]) = 0xc5c5c800; *((int *)&__m256_result[6]) = 0xc5c5c800; *((int *)&__m256_result[5]) = 0x45c5c800; *((int *)&__m256_result[4]) = 0x45c5c800; *((int *)&__m256_result[3]) = 0xc5c5c800; *((int *)&__m256_result[2]) = 0xc5c5c800; *((int *)&__m256_result[1]) = 0x45c5c800; *((int *)&__m256_result[0]) = 0x45c5c800; __m256_out = __lasx_xvfrint_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0xffffffff; *((int *)&__m256_result[6]) = 0xffffffff; *((int *)&__m256_result[5]) = 0xffffffff; *((int *)&__m256_result[4]) = 0xffffffff; *((int *)&__m256_result[3]) = 0xffffffff; *((int *)&__m256_result[2]) = 0xffffffff; *((int *)&__m256_result[1]) = 0xffffffff; *((int *)&__m256_result[0]) = 0xffffffff; __m256_out = __lasx_xvfrint_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrint_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0xffff6f20; *((int *)&__m256_op0[5]) = 0x0000781e; *((int *)&__m256_op0[4]) = 0x0000f221; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0xffff6f20; *((int *)&__m256_op0[1]) = 0x0000781e; *((int *)&__m256_op0[0]) = 0x0000f221; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0xffff6f20; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0xffff6f20; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrint_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0xffffb3b4; *((int *)&__m256_op0[5]) = 0xfffffff5; *((int *)&__m256_op0[4]) = 0xffff4738; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0xffffb3b4; *((int *)&__m256_op0[1]) = 0xfffffff5; *((int *)&__m256_op0[0]) = 0xffff4738; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0xffffb3b4; *((int *)&__m256_result[5]) = 0xfffffff5; *((int *)&__m256_result[4]) = 0xffff4738; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0xffffb3b4; *((int *)&__m256_result[1]) = 0xfffffff5; *((int *)&__m256_result[0]) = 0xffff4738; __m256_out = __lasx_xvfrint_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00ff0000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00ff0000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00ff0000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00ff0000; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrint_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00003fea; *((int *)&__m256_op0[6]) = 0x00013feb; *((int *)&__m256_op0[5]) = 0x00003fe9; *((int *)&__m256_op0[4]) = 0x00014022; *((int *)&__m256_op0[3]) = 0x00003fea; *((int *)&__m256_op0[2]) = 0x00013feb; *((int *)&__m256_op0[1]) = 0x00003fe9; *((int *)&__m256_op0[0]) = 0x00014022; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrint_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrne_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0xffffffff; *((int *)&__m256_result[6]) = 0xffffffff; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0xffffffff; *((int *)&__m256_result[2]) = 0xffffffff; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrne_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0xffffffff; *((int *)&__m256_result[6]) = 0xffffffff; *((int *)&__m256_result[5]) = 0xffffffff; *((int *)&__m256_result[4]) = 0xffffffff; *((int *)&__m256_result[3]) = 0xffffffff; *((int *)&__m256_result[2]) = 0xffffffff; *((int *)&__m256_result[1]) = 0xffffffff; *((int *)&__m256_result[0]) = 0xffffffff; __m256_out = __lasx_xvfrintrne_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrne_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrne_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0xffffffff; *((int *)&__m256_result[6]) = 0xffffffff; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0xffffffff; *((int *)&__m256_result[2]) = 0xffffffff; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrne_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0xffffffff; *((int *)&__m256_result[6]) = 0xffffffff; *((int *)&__m256_result[5]) = 0xffffffff; *((int *)&__m256_result[4]) = 0xffffffff; *((int *)&__m256_result[3]) = 0xffffffff; *((int *)&__m256_result[2]) = 0xffffffff; *((int *)&__m256_result[1]) = 0xffffffff; *((int *)&__m256_result[0]) = 0xffffffff; __m256_out = __lasx_xvfrintrne_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrne_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x55555555; *((int *)&__m256_op0[6]) = 0x36aaaaac; *((int *)&__m256_op0[5]) = 0x55555555; *((int *)&__m256_op0[4]) = 0xaaaaaaac; *((int *)&__m256_op0[3]) = 0x55555555; *((int *)&__m256_op0[2]) = 0x36aaaaac; *((int *)&__m256_op0[1]) = 0x55555555; *((int *)&__m256_op0[0]) = 0xaaaaaaac; *((int *)&__m256_result[7]) = 0x55555555; *((int *)&__m256_result[6]) = 0x3f800000; *((int *)&__m256_result[5]) = 0x55555555; *((int *)&__m256_result[4]) = 0x80000000; *((int *)&__m256_result[3]) = 0x55555555; *((int *)&__m256_result[2]) = 0x3f800000; *((int *)&__m256_result[1]) = 0x55555555; *((int *)&__m256_result[0]) = 0x80000000; __m256_out = __lasx_xvfrintrp_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrp_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0xffffc741; *((int *)&__m256_op0[6]) = 0x8a023680; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0xffff8845; *((int *)&__m256_op0[2]) = 0xbb954b00; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_result[7]) = 0xffffc741; *((int *)&__m256_result[6]) = 0x80000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0xffff8845; *((int *)&__m256_result[2]) = 0x80000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrp_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0xffffffff; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0xffffffff; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0xffffffff; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0xffffffff; __m256_out = __lasx_xvfrintrp_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00200101; *((int *)&__m256_op0[6]) = 0x01610000; *((int *)&__m256_op0[5]) = 0x00612000; *((int *)&__m256_op0[4]) = 0x00610000; *((int *)&__m256_op0[3]) = 0x00200101; *((int *)&__m256_op0[2]) = 0x01610000; *((int *)&__m256_op0[1]) = 0x00612000; *((int *)&__m256_op0[0]) = 0x00610000; *((int *)&__m256_result[7]) = 0x3f800000; *((int *)&__m256_result[6]) = 0x3f800000; *((int *)&__m256_result[5]) = 0x3f800000; *((int *)&__m256_result[4]) = 0x3f800000; *((int *)&__m256_result[3]) = 0x3f800000; *((int *)&__m256_result[2]) = 0x3f800000; *((int *)&__m256_result[1]) = 0x3f800000; *((int *)&__m256_result[0]) = 0x3f800000; __m256_out = __lasx_xvfrintrp_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0xfefefefe; *((int *)&__m256_op0[4]) = 0x01010101; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0xfefefefe; *((int *)&__m256_op0[0]) = 0x01010101; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0xfefefefe; *((int *)&__m256_result[4]) = 0x3f800000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0xfefefefe; *((int *)&__m256_result[0]) = 0x3f800000; __m256_out = __lasx_xvfrintrp_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x1c1c1c1c; *((int *)&__m256_op0[6]) = 0x1c1c1c1c; *((int *)&__m256_op0[5]) = 0xfffffffe; *((int *)&__m256_op0[4]) = 0xffffff00; *((int *)&__m256_op0[3]) = 0x1c1c1c1c; *((int *)&__m256_op0[2]) = 0x1c1c1c1c; *((int *)&__m256_op0[1]) = 0xfffffffe; *((int *)&__m256_op0[0]) = 0xffffff00; *((int *)&__m256_result[7]) = 0x3f800000; *((int *)&__m256_result[6]) = 0x3f800000; *((int *)&__m256_result[5]) = 0xfffffffe; *((int *)&__m256_result[4]) = 0xffffff00; *((int *)&__m256_result[3]) = 0x3f800000; *((int *)&__m256_result[2]) = 0x3f800000; *((int *)&__m256_result[1]) = 0xfffffffe; *((int *)&__m256_result[0]) = 0xffffff00; __m256_out = __lasx_xvfrintrp_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000008; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00080000; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrm_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrm_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0xffffffff; *((int *)&__m256_op0[6]) = 0xffffffff; *((int *)&__m256_op0[5]) = 0x0000ffff; *((int *)&__m256_op0[4]) = 0xffffffff; *((int *)&__m256_op0[3]) = 0xffffffff; *((int *)&__m256_op0[2]) = 0xffffffff; *((int *)&__m256_op0[1]) = 0x0000ffff; *((int *)&__m256_op0[0]) = 0xffffffff; *((int *)&__m256_result[7]) = 0xffffffff; *((int *)&__m256_result[6]) = 0xffffffff; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0xffffffff; *((int *)&__m256_result[3]) = 0xffffffff; *((int *)&__m256_result[2]) = 0xffffffff; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0xffffffff; __m256_out = __lasx_xvfrintrm_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x5d20a0a1; *((int *)&__m256_op0[6]) = 0x5d20a0a1; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0x5d20a0a1; *((int *)&__m256_op0[2]) = 0x5d20a0a1; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_result[7]) = 0x5d20a0a1; *((int *)&__m256_result[6]) = 0x5d20a0a1; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x5d20a0a1; *((int *)&__m256_result[2]) = 0x5d20a0a1; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrm_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x001d001d; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x001d001d; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrm_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000033; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000033; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrm_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000001; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000001; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrm_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000300; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000303; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrz_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0xffffffff; *((int *)&__m256_op0[6]) = 0xfffffffe; *((int *)&__m256_op0[5]) = 0xfffffffe; *((int *)&__m256_op0[4]) = 0xfffffefc; *((int *)&__m256_op0[3]) = 0xffffffff; *((int *)&__m256_op0[2]) = 0xfffffffe; *((int *)&__m256_op0[1]) = 0xffffffff; *((int *)&__m256_op0[0]) = 0xfffffffe; *((int *)&__m256_result[7]) = 0xffffffff; *((int *)&__m256_result[6]) = 0xfffffffe; *((int *)&__m256_result[5]) = 0xfffffffe; *((int *)&__m256_result[4]) = 0xfffffefc; *((int *)&__m256_result[3]) = 0xffffffff; *((int *)&__m256_result[2]) = 0xfffffffe; *((int *)&__m256_result[1]) = 0xffffffff; *((int *)&__m256_result[0]) = 0xfffffffe; __m256_out = __lasx_xvfrintrz_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfrintrz_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x0001c4e8; *((int *)&__m256_op0[4]) = 0xffffffff; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x0001c4e8; *((int *)&__m256_op0[0]) = 0xffffffff; *((int *)&__m256_result[7]) = 0x00000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0xffffffff; *((int *)&__m256_result[3]) = 0x00000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0xffffffff; __m256_out = __lasx_xvfrintrz_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x80000000; *((int *)&__m256_op0[6]) = 0x80000000; *((int *)&__m256_op0[5]) = 0xffffffff; *((int *)&__m256_op0[4]) = 0xffffffff; *((int *)&__m256_op0[3]) = 0x80000000; *((int *)&__m256_op0[2]) = 0x80000000; *((int *)&__m256_op0[1]) = 0xffffffff; *((int *)&__m256_op0[0]) = 0xffffffff; *((int *)&__m256_result[7]) = 0x80000000; *((int *)&__m256_result[6]) = 0x80000000; *((int *)&__m256_result[5]) = 0xffffffff; *((int *)&__m256_result[4]) = 0xffffffff; *((int *)&__m256_result[3]) = 0x80000000; *((int *)&__m256_result[2]) = 0x80000000; *((int *)&__m256_result[1]) = 0xffffffff; *((int *)&__m256_result[0]) = 0xffffffff; __m256_out = __lasx_xvfrintrz_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_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_result[7]) = 0xffffffff; *((int *)&__m256_result[6]) = 0xffffffff; *((int *)&__m256_result[5]) = 0xffffffff; *((int *)&__m256_result[4]) = 0xffffffff; *((int *)&__m256_result[3]) = 0xffffffff; *((int *)&__m256_result[2]) = 0xffffffff; *((int *)&__m256_result[1]) = 0xffffffff; *((int *)&__m256_result[0]) = 0xffffffff; __m256_out = __lasx_xvfrintrz_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0xf5fffc00; *((int *)&__m256_op0[6]) = 0xfc000000; *((int *)&__m256_op0[5]) = 0xf5fffc00; *((int *)&__m256_op0[4]) = 0xfc000000; *((int *)&__m256_op0[3]) = 0xf5fffc00; *((int *)&__m256_op0[2]) = 0xfc000000; *((int *)&__m256_op0[1]) = 0xf5fffc00; *((int *)&__m256_op0[0]) = 0xfc000000; *((int *)&__m256_result[7]) = 0xf5fffc00; *((int *)&__m256_result[6]) = 0xfc000000; *((int *)&__m256_result[5]) = 0xf5fffc00; *((int *)&__m256_result[4]) = 0xfc000000; *((int *)&__m256_result[3]) = 0xf5fffc00; *((int *)&__m256_result[2]) = 0xfc000000; *((int *)&__m256_result[1]) = 0xf5fffc00; *((int *)&__m256_result[0]) = 0xfc000000; __m256_out = __lasx_xvfrintrz_s (__m256_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); return 0; }