diff options
-rw-r--r-- | src/arch/sparc/isa/decoder.isa | 6 | ||||
-rw-r--r-- | src/arch/sparc/isa/includes.isa | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/sparc/isa/decoder.isa b/src/arch/sparc/isa/decoder.isa index 8edb51546..81443fecb 100644 --- a/src/arch/sparc/isa/decoder.isa +++ b/src/arch/sparc/isa/decoder.isa @@ -845,7 +845,7 @@ decode OP default Unknown::unknown() Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc); }}); 0x53: FpUnimpl::fcmpq(); - 0x54: fcmpes({{ + 0x55: fcmpes({{ uint8_t fcc = 0; if(isnan(Frs1s) || isnan(Frs2s)) fault = new FpExceptionIEEE754; @@ -858,7 +858,7 @@ decode OP default Unknown::unknown() firstbit = FCMPCC * 2 + 30; Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc); }}); - 0x55: fcmped({{ + 0x56: fcmped({{ uint8_t fcc = 0; if(isnan(Frs1s) || isnan(Frs2s)) fault = new FpExceptionIEEE754; @@ -871,7 +871,7 @@ decode OP default Unknown::unknown() firstbit = FCMPCC * 2 + 30; Fsr = insertBits(Fsr, firstbit +1, firstbit, fcc); }}); - 0x56: FpUnimpl::fcmpeq(); + 0x57: FpUnimpl::fcmpeq(); default: FailUnimpl::fpop2(); } } diff --git a/src/arch/sparc/isa/includes.isa b/src/arch/sparc/isa/includes.isa index 474af3ad9..a6dca9bf1 100644 --- a/src/arch/sparc/isa/includes.isa +++ b/src/arch/sparc/isa/includes.isa @@ -76,5 +76,6 @@ output exec {{ #include "mem/packet_access.hh" using namespace SparcISA; +using namespace std; }}; |