summaryrefslogtreecommitdiffstats
path: root/sim/sh/gencode.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2003-07-23 21:23:32 +0000
committerMichael Snyder <msnyder@vmware.com>2003-07-23 21:23:32 +0000
commitd2f18ae42afc58479c4cbfcc5e9a790b42858f60 (patch)
tree9f507dc8f84267fd76211329bf72f6d25f058c03 /sim/sh/gencode.c
parent63858210357ce3f90a264895e9780ab302576a94 (diff)
downloadppe42-binutils-d2f18ae42afc58479c4cbfcc5e9a790b42858f60.tar.gz
ppe42-binutils-d2f18ae42afc58479c4cbfcc5e9a790b42858f60.zip
2003-06-27 Michael Snyder <msnyder@redhat.com>
* gencode.c (op tab): Implement movca.l.
Diffstat (limited to 'sim/sh/gencode.c')
-rw-r--r--sim/sh/gencode.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sim/sh/gencode.c b/sim/sh/gencode.c
index e8e780fec9..ea6d323eab 100644
--- a/sim/sh/gencode.c
+++ b/sim/sh/gencode.c
@@ -750,9 +750,10 @@ op tab[] =
"R0 = ((i + 4 + PH2T (PC)) & ~0x3);",
},
- { "0", "", "movca.l @R0, <REG_N>", "0000nnnn11000011",
- "/* FIXME: Not implemented */",
- "RAISE_EXCEPTION (SIGILL);",
+ { "", "n0", "movca.l R0, @<REG_N>", "0000nnnn11000011",
+ "/* We don't simulate cache, so this insn is identical to mov. */",
+ "MA (1);",
+ "WLAT (R[n], R[0]);",
},
{ "n", "", "movt <REG_N>", "0000nnnn00101001",
OpenPOWER on IntegriCloud