/* { dg-options "-mlasx -w -fno-strict-aliasing" } */ #include "../simd_correctness_check.h" #include int main () { __m256i __m256i_op0, __m256i_op1, __m256i_op2, __m256i_out, __m256i_result; __m256 __m256_op0, __m256_op1, __m256_op2, __m256_out, __m256_result; __m256d __m256d_op0, __m256d_op1, __m256d_op2, __m256d_out, __m256d_result; int int_op0, int_op1, int_op2, int_out, int_result, i = 1, fail; long int long_op0, long_op1, long_op2, lont_out, lont_result; long int long_int_out, long_int_result; unsigned int unsigned_int_out, unsigned_int_result; unsigned long int unsigned_long_int_out, unsigned_long_int_result; *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00000000; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00000000; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00000000; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00000000; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvth_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvth_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); *((int *)&__m256_op0[7]) = 0x0000aaaa; *((int *)&__m256_op0[6]) = 0x00008bfe; *((int *)&__m256_op0[5]) = 0x0000aaaa; *((int *)&__m256_op0[4]) = 0x0000aaaa; *((int *)&__m256_op0[3]) = 0x0000aaaa; *((int *)&__m256_op0[2]) = 0x00008bfe; *((int *)&__m256_op0[1]) = 0x0000aaaa; *((int *)&__m256_op0[0]) = 0x0000aaaa; *((unsigned long *)&__m256d_result[3]) = 0x3795554000000000; *((unsigned long *)&__m256d_result[2]) = 0x37917fc000000000; *((unsigned long *)&__m256d_result[1]) = 0x3795554000000000; *((unsigned long *)&__m256d_result[0]) = 0x37917fc000000000; __m256d_out = __lasx_xvfcvth_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); *((unsigned long *)&__m256i_op0[3]) = 0x0404010008080808; *((unsigned long *)&__m256i_op0[2]) = 0x0408010008080808; *((unsigned long *)&__m256i_op0[1]) = 0x0404010008080808; *((unsigned long *)&__m256i_op0[0]) = 0x0408010008080808; *((int *)&__m256_result[7]) = 0x38808000; *((int *)&__m256_result[6]) = 0x37800000; *((int *)&__m256_result[5]) = 0x39010000; *((int *)&__m256_result[4]) = 0x39010000; *((int *)&__m256_result[3]) = 0x38808000; *((int *)&__m256_result[2]) = 0x37800000; *((int *)&__m256_result[1]) = 0x39010000; *((int *)&__m256_result[0]) = 0x39010000; __m256_out = __lasx_xvfcvth_s_h (__m256i_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((unsigned long *)&__m256i_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[0]) = 0x0000000000000000; *((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_xvfcvth_s_h (__m256i_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvth_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); *((unsigned long *)&__m256i_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[2]) = 0x0000000000000080; *((unsigned long *)&__m256i_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[0]) = 0x0000000000000000; *((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_xvfcvth_s_h (__m256i_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvth_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0xffffffffe0000000; *((unsigned long *)&__m256d_result[2]) = 0xffffffffe0000000; *((unsigned long *)&__m256d_result[1]) = 0xffffffffe0000000; *((unsigned long *)&__m256d_result[0]) = 0xffffffffe0000000; __m256d_out = __lasx_xvfcvth_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); *((unsigned long *)&__m256i_op0[3]) = 0x8000800080008000; *((unsigned long *)&__m256i_op0[2]) = 0x000100010001fffe; *((unsigned long *)&__m256i_op0[1]) = 0x8000800080008000; *((unsigned long *)&__m256i_op0[0]) = 0x000100010001fffe; *((int *)&__m256_result[7]) = 0x80000000; *((int *)&__m256_result[6]) = 0x80000000; *((int *)&__m256_result[5]) = 0x80000000; *((int *)&__m256_result[4]) = 0x80000000; *((int *)&__m256_result[3]) = 0x80000000; *((int *)&__m256_result[2]) = 0x80000000; *((int *)&__m256_result[1]) = 0x80000000; *((int *)&__m256_result[0]) = 0x80000000; __m256_out = __lasx_xvfcvth_s_h (__m256i_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((unsigned long *)&__m256i_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[0]) = 0x0000000000000100; *((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_xvfcvth_s_h (__m256i_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((int *)&__m256_op0[7]) = 0x00000000; *((int *)&__m256_op0[6]) = 0x00020006; *((int *)&__m256_op0[5]) = 0x00000000; *((int *)&__m256_op0[4]) = 0x00020006; *((int *)&__m256_op0[3]) = 0x00000000; *((int *)&__m256_op0[2]) = 0x00020006; *((int *)&__m256_op0[1]) = 0x00000000; *((int *)&__m256_op0[0]) = 0x00020006; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x37b0003000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x37b0003000000000; __m256d_out = __lasx_xvfcvth_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); *((int *)&__m256_op0[7]) = 0xfffffff0; *((int *)&__m256_op0[6]) = 0xfffffff0; *((int *)&__m256_op0[5]) = 0xfffffff0; *((int *)&__m256_op0[4]) = 0xfffffff0; *((int *)&__m256_op0[3]) = 0xfffffff0; *((int *)&__m256_op0[2]) = 0xfffffff0; *((int *)&__m256_op0[1]) = 0xfffffff0; *((int *)&__m256_op0[0]) = 0xfffffff0; *((unsigned long *)&__m256d_result[3]) = 0xfffffffe00000000; *((unsigned long *)&__m256d_result[2]) = 0xfffffffe00000000; *((unsigned long *)&__m256d_result[1]) = 0xfffffffe00000000; *((unsigned long *)&__m256d_result[0]) = 0xfffffffe00000000; __m256d_out = __lasx_xvfcvth_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0xffffffffe0000000; *((unsigned long *)&__m256d_result[2]) = 0xffffffffe0000000; *((unsigned long *)&__m256d_result[1]) = 0xffffffffe0000000; *((unsigned long *)&__m256d_result[0]) = 0xffffffffe0000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); *((unsigned long *)&__m256i_op0[3]) = 0xf001000100010001; *((unsigned long *)&__m256i_op0[2]) = 0xf000000000000000; *((unsigned long *)&__m256i_op0[1]) = 0xf001000100010001; *((unsigned long *)&__m256i_op0[0]) = 0xf000000000000000; *((int *)&__m256_result[7]) = 0xc6000000; *((int *)&__m256_result[6]) = 0x00000000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0xc6000000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfcvtl_s_h (__m256i_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((unsigned long *)&__m256i_op0[3]) = 0xc080ffff0049ffd2; *((unsigned long *)&__m256i_op0[2]) = 0x0002ff80ffb70000; *((unsigned long *)&__m256i_op0[1]) = 0x0000fffeffb9ff9d; *((unsigned long *)&__m256i_op0[0]) = 0x00010000002fff9e; *((int *)&__m256_result[7]) = 0x34000000; *((int *)&__m256_result[6]) = 0xfff00000; *((int *)&__m256_result[5]) = 0xfff6e000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x33800000; *((int *)&__m256_result[2]) = 0x00000000; *((int *)&__m256_result[1]) = 0x363c0000; *((int *)&__m256_result[0]) = 0xfff3c000; __m256_out = __lasx_xvfcvtl_s_h (__m256i_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); *((unsigned long *)&__m256i_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[2]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[0]) = 0x0000000000000000; *((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_xvfcvtl_s_h (__m256i_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); *((int *)&__m256_op0[7]) = 0x80000000; *((int *)&__m256_op0[6]) = 0x80000000; *((int *)&__m256_op0[5]) = 0x80000000; *((int *)&__m256_op0[4]) = 0xff800000; *((int *)&__m256_op0[3]) = 0x80000000; *((int *)&__m256_op0[2]) = 0x80000000; *((int *)&__m256_op0[1]) = 0x80000000; *((int *)&__m256_op0[0]) = 0xff800000; *((unsigned long *)&__m256d_result[3]) = 0x8000000000000000; *((unsigned long *)&__m256d_result[2]) = 0xfff0000000000000; *((unsigned long *)&__m256d_result[1]) = 0x8000000000000000; *((unsigned long *)&__m256d_result[0]) = 0xfff0000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); *((unsigned long *)&__m256i_op0[3]) = 0x41dfffffffc00000; *((unsigned long *)&__m256i_op0[2]) = 0xc1d75053f0000000; *((unsigned long *)&__m256i_op0[1]) = 0x41dfffffffc00000; *((unsigned long *)&__m256i_op0[0]) = 0xc1d75053f0000000; *((int *)&__m256_result[7]) = 0xc03ae000; *((int *)&__m256_result[6]) = 0x420a6000; *((int *)&__m256_result[5]) = 0xc6000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0xc03ae000; *((int *)&__m256_result[2]) = 0x420a6000; *((int *)&__m256_result[1]) = 0xc6000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfcvtl_s_h (__m256i_op0); ASSERTEQ_32 (__LINE__, __m256_result, __m256_out); *((unsigned long *)&__m256i_op0[3]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[2]) = 0x03802fc000000000; *((unsigned long *)&__m256i_op0[1]) = 0x0000000000000000; *((unsigned long *)&__m256i_op0[0]) = 0x03802fc000000000; *((int *)&__m256_result[7]) = 0x38600000; *((int *)&__m256_result[6]) = 0x3df80000; *((int *)&__m256_result[5]) = 0x00000000; *((int *)&__m256_result[4]) = 0x00000000; *((int *)&__m256_result[3]) = 0x38600000; *((int *)&__m256_result[2]) = 0x3df80000; *((int *)&__m256_result[1]) = 0x00000000; *((int *)&__m256_result[0]) = 0x00000000; __m256_out = __lasx_xvfcvtl_s_h (__m256i_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0xffffffffe0000000; *((unsigned long *)&__m256d_result[2]) = 0xffffffffe0000000; *((unsigned long *)&__m256d_result[1]) = 0xffffffffe0000000; *((unsigned long *)&__m256d_result[0]) = 0xffffffffe0000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_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; *((unsigned long *)&__m256d_result[3]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[2]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[1]) = 0x0000000000000000; *((unsigned long *)&__m256d_result[0]) = 0x0000000000000000; __m256d_out = __lasx_xvfcvtl_d_s (__m256_op0); ASSERTEQ_64 (__LINE__, __m256d_result, __m256d_out); return 0; }