ARM: Implement a basic version of the fmrx instruction.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 27 Jul 2009 07:53:24 +0000 (00:53 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 27 Jul 2009 07:53:24 +0000 (00:53 -0700)
src/arch/arm/isa/decoder.isa

index 046e529507ef77523664bed8cac39c81e46ec1db..36c2296951ab4575770774cd9b1d26d0fe78fe4c 100644 (file)
@@ -416,6 +416,15 @@ format DataOp {
                     }
                 }
             }
+            0xa: decode MISC_OPCODE {
+                0x1: decode MEDIA_OPCODE {
+                    0xf: decode RN {
+                        0x0: FloatOp::fmrx_fpsid({{ Rd = Fpsid; }});
+                        0x1: FloatOp::fmrx_fpscr({{ Rd = Fpscr; }});
+                        0x8: FloatOp::fmrx_fpexc({{ Rd = Fpexc; }});
+                    }
+                }
+            }
         }
         format PredOp {
             // ARM System Call (SoftWare Interrupt)