summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-07-27 00:53:24 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-07-27 00:53:24 -0700
commit2828fa459db0acbd92d569a3a1821b03d079604f (patch)
treed830b30834689c2fa997cee6197e959a394d3b16 /src
parent4079792f2b61bd1e7c46a5aa8ddb06974982d1db (diff)
downloadgem5-2828fa459db0acbd92d569a3a1821b03d079604f.tar.xz
ARM: Implement a basic version of the fmrx instruction.
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm/isa/decoder.isa9
1 files changed, 9 insertions, 0 deletions
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)