⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mips-3d-8.c

📁 用于进行gcc测试
💻 C
📖 第 1 页 / 共 2 页
字号:
  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test24 (b, a, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test25 (b, a, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test26 (b, a, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test27 (b, a, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test28 (b, a, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test29 (b, a, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test30 (b, a, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test31 (b, a, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();#ifndef __FAST_MATH__  /* Test all 16 operators */  a = (v2sf) {qnan, qnan};  b = (v2sf) {1000, -1000};  c = (v2sf) {8, -78};  d = (v2sf) {-33, 123};  e = test0 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))    abort ();  e = test1 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))    abort ();  e = test2 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test3 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test4 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test5 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test6 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test7 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test8 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test9 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test10 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test11 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test12 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test13 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test14 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test15 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test16 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test17 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test18 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test19 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test20 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test21 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test22 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test23 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test24 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test25 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test26 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test27 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test28 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();  e = test29 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test30 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, d))     abort ();  e = test31 (a, b, c, d);  if (!__builtin_mips_all_c_eq_ps (e, c))     abort ();#endif  printf ("Test Passes\n");  exit (0);}NOMIPS16 v2sf test0 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_f_ps (a, b, c, d);}NOMIPS16 v2sf test1 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_f_ps (a, b, c, d);}NOMIPS16 v2sf test2 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_un_ps (a, b, c, d);}NOMIPS16 v2sf test3 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_un_ps (a, b, c, d);}NOMIPS16 v2sf test4 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_eq_ps (a, b, c, d);}NOMIPS16 v2sf test5 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_eq_ps (a, b, c, d);}NOMIPS16 v2sf test6 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_ueq_ps (a, b, c, d);}NOMIPS16 v2sf test7 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_ueq_ps (a, b, c, d);}NOMIPS16 v2sf test8 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_olt_ps (a, b, c, d);}NOMIPS16 v2sf test9 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_olt_ps (a, b, c, d);}NOMIPS16 v2sf test10 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_ult_ps (a, b, c, d);}NOMIPS16 v2sf test11 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_ult_ps (a, b, c, d);}NOMIPS16 v2sf test12 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_ole_ps (a, b, c, d);}NOMIPS16 v2sf test13 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_ole_ps (a, b, c, d);}NOMIPS16 v2sf test14 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_ule_ps (a, b, c, d);}NOMIPS16 v2sf test15 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_ule_ps (a, b, c, d);}NOMIPS16 v2sf test16 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_sf_ps (a, b, c, d);}NOMIPS16 v2sf test17 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_sf_ps (a, b, c, d);}NOMIPS16 v2sf test18 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_ngle_ps (a, b, c, d);}NOMIPS16 v2sf test19 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_ngle_ps (a, b, c, d);}NOMIPS16 v2sf test20 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_seq_ps (a, b, c, d);}NOMIPS16 v2sf test21 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_seq_ps (a, b, c, d);}NOMIPS16 v2sf test22 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_ngl_ps (a, b, c, d);}NOMIPS16 v2sf test23 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_ngl_ps (a, b, c, d);}NOMIPS16 v2sf test24 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_lt_ps (a, b, c, d);}NOMIPS16 v2sf test25 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_lt_ps (a, b, c, d);}NOMIPS16 v2sf test26 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_nge_ps (a, b, c, d);}NOMIPS16 v2sf test27 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_nge_ps (a, b, c, d);}NOMIPS16 v2sf test28 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_le_ps (a, b, c, d);}NOMIPS16 v2sf test29 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_le_ps (a, b, c, d);}NOMIPS16 v2sf test30 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movt_cabs_ngt_ps (a, b, c, d);}NOMIPS16 v2sf test31 (v2sf a, v2sf b, v2sf c, v2sf d){  return  __builtin_mips_movf_cabs_ngt_ps (a, b, c, d);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -