ARM: Fix small bug with vcvt instruction

This commit is contained in:
Ali Saidi 2011-05-04 20:38:26 -05:00
parent 0dffd35741
commit 632cf8dd80

View file

@ -2349,8 +2349,8 @@ let {{
case 0x7: case 0x7:
if (opc3 == 0x3) { if (opc3 == 0x3) {
if (single) { if (single) {
vm = (IntRegIndex)(bits(machInst, 5) | vd = (IntRegIndex)((bits(machInst, 22) << 5) |
(bits(machInst, 3, 0) << 1)); (bits(machInst, 15, 12) << 1));
return new VcvtFpSFpD(machInst, vd, vm); return new VcvtFpSFpD(machInst, vd, vm);
} else { } else {
vd = (IntRegIndex)(bits(machInst, 22) | vd = (IntRegIndex)(bits(machInst, 22) |