We should only accept as vcmpeqsh.
Same for all the other 31 comparison values.
.Case("gt_oq", 0x1E)
.Case("true_us", 0x1F)
.Default(~0U);
- if (CC != ~0U && (IsVCMP || CC < 8)) {
+ if (CC != ~0U && (IsVCMP || CC < 8) &&
+ (IsVCMP || PatchedName.back() != 'h')) {
if (PatchedName.endswith("ss"))
PatchedName = IsVCMP ? "vcmpss" : "cmpss";
else if (PatchedName.endswith("sd"))
// ERR: invalid instruction mnemonic 'maskmov'
maskmov %mm1, %mm2
+
+// ERR: invalid instruction mnemonic 'cmpeqsh'
+cmpeqsh %xmm2, %xmm1, %k0