return 'q';
case 16:
return 'h';
+ case 64:
+ return 'd';
default:
return 0;
}
print_reg(reg, 32);
}
} else if (mode == midgard_reg_mode_64) {
- /* TODO */
+ if (src->rep_high)
+ printf(" /* rep_high */ ");
+
+ if (src->rep_low)
+ printf(" /* rep_low */ ");
+
+ if (src->half)
+ printf(" /* half */ ");
+
+ if (out_high)
+ printf(" /* out_high */ ");
+
+ print_reg(reg, 64);
}
//swizzle
midgard_vector_alu *alu_field = (midgard_vector_alu *) words;
midgard_reg_mode mode = alu_field->reg_mode;
- if (mode == midgard_reg_mode_64) {
- printf("unknown reg mode %u\n", alu_field->reg_mode);
- }
-
/* For now, prefix instruction names with their unit, until we
* understand how this works on a deeper level */
printf("%s.", name);