/* { dg-options "-mlsx -w -fno-strict-aliasing" } */ #include "../simd_correctness_check.h" #include int main () { __m128i __m128i_op0, __m128i_op1, __m128i_op2, __m128i_out, __m128i_result; __m128 __m128_op0, __m128_op1, __m128_op2, __m128_out, __m128_result; __m128d __m128d_op0, __m128d_op1, __m128d_op2, __m128d_out, __m128d_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 *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00d4ccb8; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00124888; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xfff00000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0xfff00000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x80000000; *((int *)&__m128_op0[2]) = 0xffffd860; *((int *)&__m128_op0[1]) = 0x7fffffff; *((int *)&__m128_op0[0]) = 0x80000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00008000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00008000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xff80ffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0x7ffffffe; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x4f804f80; *((int *)&__m128_op0[0]) = 0x4f804f80; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x0000007b; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000600; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0xffffffff; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x3f800000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000001; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x04870ba0; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00009c7c; *((int *)&__m128_op0[0]) = 0x00007176; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0xffffffff; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x0667ae56; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000020; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftinth_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrnel_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrnel_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x887c8beb; *((int *)&__m128_op0[2]) = 0x969e00f2; *((int *)&__m128_op0[1]) = 0x101f8b68; *((int *)&__m128_op0[0]) = 0x0b6f8095; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrnel_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00020000; *((int *)&__m128_op0[2]) = 0x00020000; *((int *)&__m128_op0[1]) = 0x000001fc; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrnel_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrnel_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrnel_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrnel_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00020000; *((int *)&__m128_op0[0]) = 0xffff0001; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrnel_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x0a752a55; *((int *)&__m128_op0[1]) = 0x0a753500; *((int *)&__m128_op0[0]) = 0xa9fa0d06; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrnel_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x7fffffff; *((int *)&__m128_op0[2]) = 0x7fffffff; *((int *)&__m128_op0[1]) = 0x7fffffff; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x000d0254; *((int *)&__m128_op0[2]) = 0x0000007e; *((int *)&__m128_op0[1]) = 0x00000014; *((int *)&__m128_op0[0]) = 0x00140014; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000001; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000001; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x39412488; *((int *)&__m128_op0[0]) = 0x80000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000001; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000014; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000014; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000001; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00010001; *((int *)&__m128_op0[2]) = 0x00010001; *((int *)&__m128_op0[1]) = 0x00010001; *((int *)&__m128_op0[0]) = 0x00010001; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000001; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000001; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x2e34594c; *((int *)&__m128_op0[0]) = 0x3b000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000001; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000001; __m128i_out = __lsx_vftintrpl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrml_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrml_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0x7ffffffe; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrml_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00010001; *((int *)&__m128_op0[2]) = 0x00010001; *((int *)&__m128_op0[1]) = 0x00010001; *((int *)&__m128_op0[0]) = 0x00010001; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrml_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x7ff000ff; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrml_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrml_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00ff00ff; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xfffefffe; *((int *)&__m128_op0[2]) = 0xfffeffff; *((int *)&__m128_op0[1]) = 0xfffefffe; *((int *)&__m128_op0[0]) = 0xfffeffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x0000033a; *((int *)&__m128_op0[2]) = 0x0bde0853; *((int *)&__m128_op0[1]) = 0x0a960e6b; *((int *)&__m128_op0[0]) = 0x0a4f0000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzl_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0x7ffffffe; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrneh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0xfffffffe; *((int *)&__m128_op0[0]) = 0x00000001; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrneh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0xffffffff; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrneh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000001; *((int *)&__m128_op0[2]) = 0x7ffeffff; *((int *)&__m128_op0[1]) = 0x00000001; *((int *)&__m128_op0[0]) = 0x7ffeffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrneh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrneh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0xffffffff; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrneh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x80808080; *((int *)&__m128_op0[0]) = 0x80638063; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrph_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrph_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000080; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000001; __m128i_out = __lsx_vftintrph_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrph_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x80000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrmh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrmh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00ff00ff; *((int *)&__m128_op0[2]) = 0x00ff00ff; *((int *)&__m128_op0[1]) = 0x62cbf96e; *((int *)&__m128_op0[0]) = 0x4acfaf40; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrmh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0x0000ac26; *((int *)&__m128_op0[1]) = 0x00ff0000; *((int *)&__m128_op0[0]) = 0x00000001; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrmh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x6420e020; *((int *)&__m128_op0[2]) = 0x8400c4e3; *((int *)&__m128_op0[1]) = 0x20c4e0c4; *((int *)&__m128_op0[0]) = 0xe0da6499; *((unsigned long *)&__m128i_result[1]) = 0x7fffffffffffffff; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xfbffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0x7bffffff; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x8000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x18171615; *((int *)&__m128_op0[2]) = 0x17161514; *((int *)&__m128_op0[1]) = 0x16151413; *((int *)&__m128_op0[0]) = 0x15141312; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0xffffffff; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x046a09ec; *((int *)&__m128_op0[0]) = 0x009c0000; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0xffffffff; *((int *)&__m128_op0[0]) = 0xffffffff; *((unsigned long *)&__m128i_result[1]) = 0x0000000000000000; *((unsigned long *)&__m128i_result[0]) = 0x0000000000000000; __m128i_out = __lsx_vftintrzh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); *((int *)&__m128_op0[3]) = 0x4f4f4f4f; *((int *)&__m128_op0[2]) = 0x4f4f4f4f; *((int *)&__m128_op0[1]) = 0x4f4f4f4f; *((int *)&__m128_op0[0]) = 0x4f4f4f4f; *((unsigned long *)&__m128i_result[1]) = 0x00000000cf4f4f00; *((unsigned long *)&__m128i_result[0]) = 0x00000000cf4f4f00; __m128i_out = __lsx_vftintrzh_l_s (__m128_op0); ASSERTEQ_64 (__LINE__, __m128i_result, __m128i_out); return 0; }