/* { 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]) = 0x05050505; *((int *)&__m128_op0[2]) = 0x05050505; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x05050000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x03574e38; *((int *)&__m128_op1[0]) = 0xe496cbc9; *((int *)&__m128_result[3]) = 0x05050505; *((int *)&__m128_result[2]) = 0x05050505; *((int *)&__m128_result[1]) = 0x03574e38; *((int *)&__m128_result[0]) = 0xe496cbc9; __m128_out = __lsx_vfadd_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfadd_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfadd_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x0000000f; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00077f88; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00077f97; __m128_out = __lsx_vfadd_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x000000ff; *((int *)&__m128_op0[0]) = 0x000000ff; *((int *)&__m128_op1[3]) = 0x370bdfec; *((int *)&__m128_op1[2]) = 0xffecffec; *((int *)&__m128_op1[1]) = 0x370bdfec; *((int *)&__m128_op1[0]) = 0xffecffec; *((int *)&__m128_result[3]) = 0x370bdfec; *((int *)&__m128_result[2]) = 0xffecffec; *((int *)&__m128_result[1]) = 0x370bdfec; *((int *)&__m128_result[0]) = 0xffecffec; __m128_out = __lsx_vfadd_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0xffffffff; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0xffffffff; *((int *)&__m128_op0[0]) = 0xffffffff; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x0000ff00; *((int *)&__m128_op1[0]) = 0x00ff0000; *((int *)&__m128_result[3]) = 0xffffffff; *((int *)&__m128_result[2]) = 0xffffffff; *((int *)&__m128_result[1]) = 0xffffffff; *((int *)&__m128_result[0]) = 0xffffffff; __m128_out = __lsx_vfadd_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0xffff0000; *((int *)&__m128_op0[2]) = 0xffff0000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x40088040; *((int *)&__m128_op1[2]) = 0x80040110; *((int *)&__m128_op1[1]) = 0x40408010; *((int *)&__m128_op1[0]) = 0x80200110; *((int *)&__m128_result[3]) = 0xffff0000; *((int *)&__m128_result[2]) = 0xffff0000; *((int *)&__m128_result[1]) = 0x40408010; *((int *)&__m128_result[0]) = 0x80200110; __m128_out = __lsx_vfadd_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0xffffffff; *((int *)&__m128_op1[2]) = 0xfffffffc; *((int *)&__m128_op1[1]) = 0xffffffff; *((int *)&__m128_op1[0]) = 0xfffffffc; *((int *)&__m128_result[3]) = 0xffffffff; *((int *)&__m128_result[2]) = 0xfffffffc; *((int *)&__m128_result[1]) = 0xffffffff; *((int *)&__m128_result[0]) = 0xfffffffc; __m128_out = __lsx_vfadd_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x0000001b; *((int *)&__m128_op0[2]) = 0x0000001b; *((int *)&__m128_op0[1]) = 0x0000001b; *((int *)&__m128_op0[0]) = 0x0000001b; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x0000001b; *((int *)&__m128_result[2]) = 0x0000001b; *((int *)&__m128_result[1]) = 0x0000001b; *((int *)&__m128_result[0]) = 0x0000001b; __m128_out = __lsx_vfadd_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x56411278; *((int *)&__m128_op0[2]) = 0x43c0d41e; *((int *)&__m128_op0[1]) = 0x0124d8f6; *((int *)&__m128_op0[0]) = 0xa494006b; *((int *)&__m128_op1[3]) = 0xffffffff; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0xffffffff; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x80000000; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x05010501; *((int *)&__m128_op1[2]) = 0x05010501; *((int *)&__m128_op1[1]) = 0x05010501; *((int *)&__m128_op1[0]) = 0x0501050c; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x21f32eaf; *((int *)&__m128_op0[2]) = 0x5b7a02c8; *((int *)&__m128_op0[1]) = 0x407c2ca3; *((int *)&__m128_op0[0]) = 0x2cbd0357; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00010400; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0xfffe0001; *((int *)&__m128_op0[2]) = 0xfffe0001; *((int *)&__m128_op0[1]) = 0xfffe0001; *((int *)&__m128_op0[0]) = 0xfffe0001; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0xfffe0001; *((int *)&__m128_result[2]) = 0xfffe0001; *((int *)&__m128_result[1]) = 0xfffe0001; *((int *)&__m128_result[0]) = 0xfffe0001; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00002ebf; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0xffffffff; *((int *)&__m128_op1[0]) = 0xffffffff; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0xffffffff; *((int *)&__m128_result[0]) = 0xffffffff; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x01000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00081f1f; *((int *)&__m128_op0[2]) = 0x1f1f1f1f; *((int *)&__m128_op0[1]) = 0x1f1f1f1f; *((int *)&__m128_op0[0]) = 0x1f1f1f1f; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x021b7d24; *((int *)&__m128_op0[2]) = 0x49678a35; *((int *)&__m128_op0[1]) = 0x030298a6; *((int *)&__m128_op0[0]) = 0x21030a49; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000002; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0xf6548a17; *((int *)&__m128_op0[2]) = 0x47e59090; *((int *)&__m128_op0[1]) = 0x27b169bb; *((int *)&__m128_op0[0]) = 0xb8145f50; *((int *)&__m128_op1[3]) = 0x004eff62; *((int *)&__m128_op1[2]) = 0x00d2ff76; *((int *)&__m128_op1[1]) = 0xff700028; *((int *)&__m128_op1[0]) = 0x00be00a0; *((int *)&__m128_result[3]) = 0xb7032c34; *((int *)&__m128_result[2]) = 0x093d35ab; *((int *)&__m128_result[1]) = 0xe7a6533b; *((int *)&__m128_result[0]) = 0x800001b8; __m128_out = __lsx_vfmul_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfsub_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x7fff0101; *((int *)&__m128_op0[2]) = 0x81010102; *((int *)&__m128_op0[1]) = 0x7fffffff; *((int *)&__m128_op0[0]) = 0x81010102; *((int *)&__m128_op1[3]) = 0x00000fff; *((int *)&__m128_op1[2]) = 0xffffe000; *((int *)&__m128_op1[1]) = 0x00001020; *((int *)&__m128_op1[0]) = 0x20204000; *((int *)&__m128_result[3]) = 0x7fff0101; *((int *)&__m128_result[2]) = 0xffffe000; *((int *)&__m128_result[1]) = 0x7fffffff; *((int *)&__m128_result[0]) = 0xa0204000; __m128_out = __lsx_vfsub_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0xffffffff; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0xffffffff; *((int *)&__m128_op1[3]) = 0x00000fff; *((int *)&__m128_op1[2]) = 0xffffe000; *((int *)&__m128_op1[1]) = 0x00001020; *((int *)&__m128_op1[0]) = 0x20204000; *((int *)&__m128_result[3]) = 0x80000fff; *((int *)&__m128_result[2]) = 0xffffffff; *((int *)&__m128_result[1]) = 0x80001020; *((int *)&__m128_result[0]) = 0xffffffff; __m128_out = __lsx_vfsub_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfsub_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x54feed87; *((int *)&__m128_op0[2]) = 0xbc3f2be1; *((int *)&__m128_op0[1]) = 0x8064d8f6; *((int *)&__m128_op0[0]) = 0xa494afcb; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x7f800000; *((int *)&__m128_result[2]) = 0xff800000; *((int *)&__m128_result[1]) = 0xff800000; *((int *)&__m128_result[0]) = 0xff800000; __m128_out = __lsx_vfdiv_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0xd8248069; *((int *)&__m128_op0[0]) = 0x7f678077; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0xd8248069; *((int *)&__m128_op1[0]) = 0x7f678077; *((int *)&__m128_result[3]) = 0x7fc00000; *((int *)&__m128_result[2]) = 0x7fc00000; *((int *)&__m128_result[1]) = 0x3f800000; *((int *)&__m128_result[0]) = 0x3f800000; __m128_out = __lsx_vfdiv_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x7fc00000; *((int *)&__m128_result[2]) = 0x7fc00000; *((int *)&__m128_result[1]) = 0x7fc00000; *((int *)&__m128_result[0]) = 0x7fc00000; __m128_out = __lsx_vfdiv_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00070000; *((int *)&__m128_op0[2]) = 0x00040000; *((int *)&__m128_op0[1]) = 0x00030000; *((int *)&__m128_op0[0]) = 0x00010000; *((int *)&__m128_op1[3]) = 0x00070000; *((int *)&__m128_op1[2]) = 0x00040000; *((int *)&__m128_op1[1]) = 0x00030000; *((int *)&__m128_op1[0]) = 0x00010000; *((int *)&__m128_result[3]) = 0x3f800000; *((int *)&__m128_result[2]) = 0x3f800000; *((int *)&__m128_result[1]) = 0x3f800000; *((int *)&__m128_result[0]) = 0x3f800000; __m128_out = __lsx_vfdiv_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00010001; *((int *)&__m128_op1[2]) = 0x0001007c; *((int *)&__m128_op1[1]) = 0x00010001; *((int *)&__m128_op1[0]) = 0x00010001; *((int *)&__m128_result[3]) = 0x00000000; *((int *)&__m128_result[2]) = 0x00000000; *((int *)&__m128_result[1]) = 0x00000000; *((int *)&__m128_result[0]) = 0x00000000; __m128_out = __lsx_vfdiv_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00001fff; *((int *)&__m128_op0[2]) = 0x00001fff; *((int *)&__m128_op0[1]) = 0x00000003; *((int *)&__m128_op0[0]) = 0xfffffffc; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x7f800000; *((int *)&__m128_result[2]) = 0x7f800000; *((int *)&__m128_result[1]) = 0x7f800000; *((int *)&__m128_result[0]) = 0xfffffffc; __m128_out = __lsx_vfdiv_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); *((int *)&__m128_op0[3]) = 0x00000000; *((int *)&__m128_op0[2]) = 0x00000000; *((int *)&__m128_op0[1]) = 0x00000000; *((int *)&__m128_op0[0]) = 0x00000000; *((int *)&__m128_op1[3]) = 0x00000000; *((int *)&__m128_op1[2]) = 0x00000000; *((int *)&__m128_op1[1]) = 0x00000000; *((int *)&__m128_op1[0]) = 0x00000000; *((int *)&__m128_result[3]) = 0x7fc00000; *((int *)&__m128_result[2]) = 0x7fc00000; *((int *)&__m128_result[1]) = 0x7fc00000; *((int *)&__m128_result[0]) = 0x7fc00000; __m128_out = __lsx_vfdiv_s (__m128_op0, __m128_op1); ASSERTEQ_32 (__LINE__, __m128_result, __m128_out); return 0; }