From d2f18ae42afc58479c4cbfcc5e9a790b42858f60 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 23 Jul 2003 21:23:32 +0000 Subject: 2003-06-27 Michael Snyder * gencode.c (op tab): Implement movca.l. --- sim/sh/gencode.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sim/sh/gencode.c') 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, ", "0000nnnn11000011", - "/* FIXME: Not implemented */", - "RAISE_EXCEPTION (SIGILL);", + { "", "n0", "movca.l R0, @", "0000nnnn11000011", + "/* We don't simulate cache, so this insn is identical to mov. */", + "MA (1);", + "WLAT (R[n], R[0]);", }, { "n", "", "movt ", "0000nnnn00101001", -- cgit v1.2.1