X86: Add operand type information to the fnstcw and fldw instruction placeholders.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 31 Jul 2007 21:55:06 +0000 (14:55 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 31 Jul 2007 21:55:06 +0000 (14:55 -0700)
These are the only floating point instructions that get used in my simple hello world test. These instructions are for setting up the floating point control register. Their not being implemented doesn't affect anything because floating point isn't used.

--HG--
extra : convert_revision : 4dfb9ef2a5665f034946c504978029e8799e64cd

src/arch/x86/isa/decoder/x87.isa

index f16647fe573c8ca3cbe8fc8cc56ab744daf619f2..bab687acdca827866109f2085d860d1aedfa05fd 100644 (file)
                 0x5: fldln2();
                 0x6: fldz();
             }
-            default: fldcw();
+            default: fldcw_Mw();
         }
         0x6: decode MODRM_MOD {
             0x3: decode MODRM_RM {
                 0x6: fsin();
                 0x7: fcos();
             }
-            default: fnstcw();
+            default: fnstcw_Mw();
         }
     }
     //0x2: esc2();