📄 jm-insns.c
字号:
#endif /* !defined (NO_FLOAT) */#if !defined (NO_FLOAT)static test_t tests_fl_ops_spe[] = { { NULL, NULL, },};#endif /* !defined (NO_FLOAT) */#if !defined (NO_FLOAT)static test_t tests_flr_ops_spe[] = { { NULL, NULL, },};#endif /* !defined (NO_FLOAT) */#if !defined (NO_FLOAT)extern void test_lfs (void);ASSEMBLY_FUNC("test_lfs", "lfs 17,0(14)");extern void test_lfsu (void);ASSEMBLY_FUNC("test_lfsu", "lfsu 17,0(14)");extern void test_lfd (void);ASSEMBLY_FUNC("test_lfd", "lfd 17,0(14)");extern void test_lfdu (void);ASSEMBLY_FUNC("test_lfdu", "lfdu 17,0(14)");static test_t tests_fld_ops_two_i16[] = { { &test_lfs , " lfs", }, { &test_lfsu , " lfsu", }, { &test_lfd , " lfd", }, { &test_lfdu , " lfdu", }, { NULL, NULL, },};#endif /* !defined (NO_FLOAT) */#if !defined (NO_FLOAT)static void test_lfsx (void){ __asm__ __volatile__ ("lfsx 17,14,15");}static void test_lfsux (void){ __asm__ __volatile__ ("lfsux 17,14,15");}static void test_lfdx (void){ __asm__ __volatile__ ("lfdx 17,14,15");}static void test_lfdux (void){ __asm__ __volatile__ ("lfdux 17,14,15");}static test_t tests_fld_ops_two[] = { { &test_lfsx , " lfsx", }, { &test_lfsux , " lfsux", }, { &test_lfdx , " lfdx", }, { &test_lfdux , " lfdux", }, { NULL, NULL, },};#endif /* !defined (NO_FLOAT) */#if !defined (NO_FLOAT)extern void test_stfs (void);ASSEMBLY_FUNC("test_stfs", "stfs 14,0(15)");extern void test_stfsu (void);ASSEMBLY_FUNC("test_stfsu", "stfsu 14,0(15)");extern void test_stfd (void);ASSEMBLY_FUNC("test_stfd", "stfd 14,0(15)");extern void test_stfdu (void);ASSEMBLY_FUNC("test_stfdu", "stfdu 14,0(15)");static test_t tests_fst_ops_three_i16[] = { { &test_stfs , " stfs", }, { &test_stfsu , " stfsu", }, { &test_stfd , " stfd", }, { &test_stfdu , " stfdu", }, { NULL, NULL, },};#endif /* !defined (NO_FLOAT) */#if !defined (NO_FLOAT)static void test_stfsx (void){ __asm__ __volatile__ ("stfsx 14,15,16");}static void test_stfsux (void){ __asm__ __volatile__ ("stfsux 14,15,16");}static void test_stfdx (void){ __asm__ __volatile__ ("stfdx 14,15,16");}static void test_stfdux (void){ __asm__ __volatile__ ("stfdux 14,15,16");}static test_t tests_fst_ops_three[] = { { &test_stfsx , " stfsx", }, { &test_stfsux , " stfsux", }, { &test_stfdx , " stfdx", }, { &test_stfdux , " stfdux", }, { NULL, NULL, },};#endif /* !defined (NO_FLOAT) */#if defined (HAS_ALTIVEC)static void test_vmhaddshs (void){ __asm__ __volatile__ ("vmhaddshs 17, 14, 15, 16");}static void test_vmhraddshs (void){ __asm__ __volatile__ ("vmhraddshs 17, 14, 15, 16");}static void test_vmladduhm (void){ __asm__ __volatile__ ("vmladduhm 17, 14, 15, 16");}static void test_vmsumubm (void){ __asm__ __volatile__ ("vmsumubm 17, 14, 15, 16");}static void test_vmsumuhm (void){ __asm__ __volatile__ ("vmsumuhm 17, 14, 15, 16");}static void test_vmsumshs (void){ __asm__ __volatile__ ("vmsumshs 17, 14, 15, 16");}static void test_vmsumuhs (void){ __asm__ __volatile__ ("vmsumuhs 17, 14, 15, 16");}static void test_vmsummbm (void){ __asm__ __volatile__ ("vmsummbm 17, 14, 15, 16");}static void test_vmsumshm (void){ __asm__ __volatile__ ("vmsumshm 17, 14, 15, 16");}static test_t tests_aa_ops_three[] = { { &test_vmhaddshs , " vmhaddshs", }, { &test_vmhraddshs , " vmhraddshs", }, { &test_vmladduhm , " vmladduhm", }, { &test_vmsumubm , " vmsumubm", }, { &test_vmsumuhm , " vmsumuhm", }, { &test_vmsumshs , " vmsumshs", }, { &test_vmsumuhs , " vmsumuhs", }, { &test_vmsummbm , " vmsummbm", }, { &test_vmsumshm , " vmsumshm", }, { NULL, NULL, },};#endif /* defined (HAS_ALTIVEC) */#if defined (HAS_ALTIVEC)static void test_vperm (void){ __asm__ __volatile__ ("vperm 17, 14, 15, 16");}static void test_vsel (void){ __asm__ __volatile__ ("vsel 17, 14, 15, 16");}static test_t tests_al_ops_three[] = { { &test_vperm , " vperm", }, { &test_vsel , " vsel", }, { NULL, NULL, },};#endif /* defined (HAS_ALTIVEC) */#if defined (HAS_ALTIVEC)static void test_vaddubm (void){ __asm__ __volatile__ ("vaddubm 17, 14, 15");}static void test_vadduhm (void){ __asm__ __volatile__ ("vadduhm 17, 14, 15");}static void test_vadduwm (void){ __asm__ __volatile__ ("vadduwm 17, 14, 15");}static void test_vaddubs (void){ __asm__ __volatile__ ("vaddubs 17, 14, 15");}static void test_vadduhs (void){ __asm__ __volatile__ ("vadduhs 17, 14, 15");}static void test_vadduws (void){ __asm__ __volatile__ ("vadduws 17, 14, 15");}static void test_vaddsbs (void){ __asm__ __volatile__ ("vaddsbs 17, 14, 15");}static void test_vaddshs (void){ __asm__ __volatile__ ("vaddshs 17, 14, 15");}static void test_vaddsws (void){ __asm__ __volatile__ ("vaddsws 17, 14, 15");}static void test_vaddcuw (void){ __asm__ __volatile__ ("vaddcuw 17, 14, 15");}static void test_vsububm (void){ __asm__ __volatile__ ("vsububm 17, 14, 15");}static void test_vsubuhm (void){ __asm__ __volatile__ ("vsubuhm 17, 14, 15");}static void test_vsubuwm (void){ __asm__ __volatile__ ("vsubuwm 17, 14, 15");}static void test_vsububs (void){ __asm__ __volatile__ ("vsububs 17, 14, 15");}static void test_vsubuhs (void){ __asm__ __volatile__ ("vsubuhs 17, 14, 15");}static void test_vsubuws (void){ __asm__ __volatile__ ("vsubuws 17, 14, 15");}static void test_vsubsbs (void){ __asm__ __volatile__ ("vsubsbs 17, 14, 15");}static void test_vsubshs (void){ __asm__ __volatile__ ("vsubshs 17, 14, 15");}static void test_vsubsws (void){ __asm__ __volatile__ ("vsubsws 17, 14, 15");}static void test_vsubcuw (void){ __asm__ __volatile__ ("vsubcuw 17, 14, 15");}static void test_vmuloub (void){ __asm__ __volatile__ ("vmuloub 17, 14, 15");}static void test_vmulouh (void){ __asm__ __volatile__ ("vmulouh 17, 14, 15");}static void test_vmulosb (void){ __asm__ __volatile__ ("vmulosb 17, 14, 15");}static void test_vmulosh (void){ __asm__ __volatile__ ("vmulosh 17, 14, 15");}static void test_vmuleub (void){ __asm__ __volatile__ ("vmuleub 17, 14, 15");}static void test_vmuleuh (void){ __asm__ __volatile__ ("vmuleuh 17, 14, 15");}static void test_vmulesb (void){ __asm__ __volatile__ ("vmulesb 17, 14, 15");}static void test_vmulesh (void){ __asm__ __volatile__ ("vmulesh 17, 14, 15");}static void test_vsumsws (void){ __asm__ __volatile__ ("vsumsws 17, 14, 15");}static void test_vsum2sws (void){ __asm__ __volatile__ ("vsum2sws 17, 14, 15");}static void test_vsum4ubs (void){ __asm__ __volatile__ ("vsum4ubs 17, 14, 15");}static void test_vsum4sbs (void){ __asm__ __volatile__ ("vsum4sbs 17, 14, 15");}static void test_vsum4shs (void){ __asm__ __volatile__ ("vsum4shs 17, 14, 15");}static void test_vavgub (void){ __asm__ __volatile__ ("vavgub 17, 14, 15");}static void test_vavguh (void){ __asm__ __volatile__ ("vavguh 17, 14, 15");}static void test_vavguw (void){ __asm__ __volatile__ ("vavguw 17, 14, 15");}static void test_vavgsb (void){ __asm__ __volatile__ ("vavgsb 17, 14, 15");}static void test_vavgsh (void){ __asm__ __volatile__ ("vavgsh 17, 14, 15");}static void test_vavgsw (void){ __asm__ __volatile__ ("vavgsw 17, 14, 15");}static void test_vmaxub (void){ __asm__ __volatile__ ("vmaxub 17, 14, 15");}static void test_vmaxuh (void){ __asm__ __volatile__ ("vmaxuh 17, 14, 15");}static void test_vmaxuw (void){ __asm__ __volatile__ ("vmaxuw 17, 14, 15");}static void test_vmaxsb (void){ __asm__ __volatile__ ("vmaxsb 17, 14, 15");}static void test_vmaxsh (void){ __asm__ __volatile__ ("vmaxsh 17, 14, 15");}static void test_vmaxsw (void){ __asm__ __volatile__ ("vmaxsw 17, 14, 15");}static void test_vminub (void){ __asm__ __volatile__ ("vminub 17, 14, 15");}static void test_vminuh (void){ __asm__ __volatile__ ("vminuh 17, 14, 15");}static void test_vminuw (void){ __asm__ __volatile__ ("vminuw 17, 14, 15");}static void test_vminsb (void){ __asm__ __volatile__ ("vminsb 17, 14, 15");}static void test_vminsh (void){ __asm__ __volatile__ ("vminsh 17, 14, 15");}static void test_vminsw (void){ __asm__ __volatile__ ("vminsw 17, 14, 15");}static test_t tests_aa_ops_two[] = { { &test_vaddubm , " vaddubm", }, { &test_vadduhm , " vadduhm", }, { &test_vadduwm , " vadduwm", }, { &test_vaddubs , " vaddubs", }, { &test_vadduhs , " vadduhs", }, { &test_vadduws , " vadduws", }, { &test_vaddsbs , " vaddsbs", }, { &test_vaddshs , " vaddshs", }, { &test_vaddsws , " vaddsws", }, { &test_vaddcuw , " vaddcuw", }, { &test_vsububm , " vsububm", }, { &test_vsubuhm , " vsubuhm", }, { &test_vsubuwm , " vsubuwm", }, { &test_vsububs , " vsububs", }, { &test_vsubuhs , " vsubuhs", }, { &test_vsubuws , " vsubuws", }, { &test_vsubsbs , " vsubsbs", }, { &test_vsubshs , " vsubshs", }, { &test_vsubsws , " vsubsws", }, { &test_vsubcuw , " vsubcuw", }, { &test_vmuloub , " vmuloub", }, { &test_vmulouh , " vmulouh", }, { &test_vmulosb , " vmulosb", }, { &test_vmulosh , " vmulosh", }, { &test_vmuleub , " vmuleub", }, { &test_vmuleuh , " vmuleuh", }, { &test_vmulesb , " vmulesb", }, { &test_vmulesh , " vmulesh", }, { &test_vsumsws , " vsumsws", }, { &test_vsum2sws , " vsum2sws", }, { &test_vsum4ubs , " vsum4ubs", }, { &test_vsum4sbs , " vsum4sbs", }, { &test_vsum4shs , " vsum4shs", }, { &test_vavgub , " vavgub", }, { &test_vavguh , " vavguh", }, { &test_vavguw , " vavguw", }, { &test_vavgsb , " vavgsb", }, { &test_vavgsh , " vavgsh", }, { &test_vavgsw , " vavgsw", }, { &test_vmaxub , " vmaxub", }, { &test_vmaxuh , " vmaxuh", }, { &test_vmaxuw , " vmaxuw", }, { &test_vmaxsb , " vmaxsb", }, { &test_vmaxsh , " vmaxsh", }, { &test_vmaxsw , " vmaxsw", }, { &test_vminub , " vminub", }, { &test_vminuh , " vminuh", }, { &test_vminuw , " vminuw", }, { &test_vminsb , " vminsb", }, { &test_vminsh , " vminsh", }, { &test_vminsw , " vminsw", }, { NULL, NULL, },};#endif /* defined (HAS_ALTIVEC) */#if defined (HAS_ALTIVEC)static void test_vand (void
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -