diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-07-27 00:53:24 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-07-27 00:53:24 -0700 |
commit | 2828fa459db0acbd92d569a3a1821b03d079604f (patch) | |
tree | d830b30834689c2fa997cee6197e959a394d3b16 /src/arch/arm | |
parent | 4079792f2b61bd1e7c46a5aa8ddb06974982d1db (diff) | |
download | gem5-2828fa459db0acbd92d569a3a1821b03d079604f.tar.xz |
ARM: Implement a basic version of the fmrx instruction.
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/isa/decoder.isa | 9 |
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) |