From: Deyuan Guo Date: Thu, 12 Jan 2012 14:58:59 +0000 (-0500) Subject: mips: Fix decoder of two float-convert instructions X-Git-Tag: stable_2012_06_28~275^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a40ec5671fa023ad09de902028bd9e9ca1f1d7da;p=gem5.git mips: Fix decoder of two float-convert instructions --- diff --git a/src/arch/mips/isa/decoder.isa b/src/arch/mips/isa/decoder.isa index 179e409dd..8ebfa66bf 100644 --- a/src/arch/mips/isa/decoder.isa +++ b/src/arch/mips/isa/decoder.isa @@ -1253,7 +1253,7 @@ decode OPCODE_HI default Unknown::unknown() { //When rs=L1 //Note: "1. Format type L is legal only if 64-bit //floating point operations are enabled." - 0x5: decode FUNCTION_HI { + 0x5: decode FUNCTION { format FloatConvertOp { 0x20: cvt_s_l({{ val = Fs_ud; }}, ToSingle); 0x21: cvt_d_l({{ val = Fs_ud; }}, ToDouble);