From 2828fa459db0acbd92d569a3a1821b03d079604f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 27 Jul 2009 00:53:24 -0700 Subject: [PATCH] ARM: Implement a basic version of the fmrx instruction. --- src/arch/arm/isa/decoder.isa | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/arch/arm/isa/decoder.isa b/src/arch/arm/isa/decoder.isa index 046e52950..36c229695 100644 --- a/src/arch/arm/isa/decoder.isa +++ b/src/arch/arm/isa/decoder.isa @@ -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) -- 2.30.2