summaryrefslogtreecommitdiff
path: root/src/arch/arm/isa/formats/fp.isa
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/isa/formats/fp.isa')
-rw-r--r--src/arch/arm/isa/formats/fp.isa11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/arch/arm/isa/formats/fp.isa b/src/arch/arm/isa/formats/fp.isa
index d15412825..e553b180d 100644
--- a/src/arch/arm/isa/formats/fp.isa
+++ b/src/arch/arm/isa/formats/fp.isa
@@ -640,8 +640,17 @@ let {{
// Between half and single precision.
return new WarnUnimplemented("vcvtb, vcvtt", machInst);
case 0x4:
+ if (single) {
+ return new VcmpS(machInst, vd, vm);
+ } else {
+ return new VcmpD(machInst, vd, vm);
+ }
case 0x5:
- return new WarnUnimplemented("vcmp, vcmpe", machInst);
+ if (single) {
+ return new VcmpZeroS(machInst, vd, 0);
+ } else {
+ return new VcmpZeroD(machInst, vd, 0);
+ }
case 0x7:
if (opc3 == 0x3) {
if (single) {