Home | History | Annotate | Download | only in ppc64

Lines Matching refs:RMC

82 static void _test_drintx(int R, int RMC)
84 if (RMC < 0 || RMC > 3 || R < 0 || R > 1) {
85 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", R, RMC);
88 switch (RMC) {
118 static void _test_drintn(int R, int RMC)
120 if (RMC < 0 || RMC > 3 || R < 0 || R > 1) {
121 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", R, RMC);
124 switch (RMC) {
238 static void _test_drintxq(int R, int RMC)
240 if (RMC < 0 || RMC > 3 || R < 0 || R > 1) {
241 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", R, RMC);
244 switch (RMC) {
274 static void _test_drintnq(int R, int RMC)
276 if (RMC < 0 || RMC > 3 || R < 0 || R > 1) {
277 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", R, RMC);
280 switch (RMC) {
392 static void _test_drrnd(int x __attribute__((unused)), int RMC)
394 if (RMC < 0 || RMC > 31) {
395 fprintf(stderr, "Invalid input to asm test: a=%d\n", RMC);
398 switch (RMC) {
416 static void _test_drrndq(int x __attribute__((unused)), int RMC)
418 if (RMC < 0 || RMC > 3) {
419 fprintf(stderr, "Invalid input to asm test: a=%dn", RMC);
422 switch (RMC) {
440 static void _test_dqua(int x __attribute__((unused)), int RMC)
442 if (RMC < 0 || RMC > 3) {
443 fprintf(stderr, "Invalid input to asm test: a=%d\n", RMC);
446 switch (RMC) {
464 static void _test_dquaq(int x __attribute__((unused)), int RMC)
466 if (RMC < 0 || RMC > 3) {
467 fprintf(stderr, "Invalid input to asm test: a=%d\n", RMC);
470 switch (RMC) {
500 static void _test_dquai(int TE, int RMC)
502 if (RMC < 0 || RMC > 3 || !__is_TE_val(TE)) {
503 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", TE, RMC);
506 switch (RMC) {
584 static void _test_dquaiq(int TE, int RMC)
586 if (RMC < 0 || RMC > 3 || !__is_TE_val(TE)) {
587 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", TE, RMC);
590 switch (RMC) {
821 int TE, RMC;
837 for (RMC = 0; RMC < 4; RMC++) {
838 (*func)(TE_vals[TE], RMC);
840 printf("%s (RMC=%2d, TE=%3d) %s %016llx", test_def.name, RMC,
880 int i, RMC;
903 for (RMC = 0; RMC < 4; RMC++) {
904 (*func)(-1, RMC);
906 printf("%s (RMC=%2d) %s %016llx", test_def.name, RMC, test_def.op, u0);
948 int RMC;
966 for (RMC = 0; RMC < 4; RMC++) {
967 (*func)(-1, RMC);
969 printf("%s (RMC=%d, ref sig=%d) %s%016llx", test_def.name, RMC,
1107 int R, RMC;
1123 for (RMC = 0; RMC < 4; RMC++) {
1124 (*func)(R, RMC);
1126 printf("%s (RM=%d) %s%016llx", test_def.name, (RMC + (R << 2)), test_def.op, u0);