diff options
author | Michael Snyder <msnyder@vmware.com> | 2003-08-11 19:28:05 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2003-08-11 19:28:05 +0000 |
commit | d1789acece69deabeddae520341aa828d5a96c7f (patch) | |
tree | fbdf96d7dbb1c2453cf149d57415fde69764c971 /sim/sh/gencode.c | |
parent | b246147cd381994da11d762f3e204a97ec00ef9a (diff) | |
download | gdb-d1789acece69deabeddae520341aa828d5a96c7f.zip gdb-d1789acece69deabeddae520341aa828d5a96c7f.tar.gz gdb-d1789acece69deabeddae520341aa828d5a96c7f.tar.bz2 |
2003-08-11 Shrinivas Atre <shrinivasa@KPITCummins.com>
* sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and
correction for MAC.W handler
* sim/sh/interp.c ( macl ): New Function. Implementation of
MAC.L handler.
Diffstat (limited to 'sim/sh/gencode.c')
-rw-r--r-- | sim/sh/gencode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sim/sh/gencode.c b/sim/sh/gencode.c index fb6f5b2..a4a1c2d 100644 --- a/sim/sh/gencode.c +++ b/sim/sh/gencode.c @@ -580,12 +580,11 @@ op tab[] = }, { "nm", "nm", "mac.l @<REG_M>+,@<REG_N>+", "0000nnnnmmmm1111", - "trap (255, R0, PC, memory, maskl, maskw, endianw);", - "/* FIXME: mac.l support */", + "macl(&R0,memory,n,m);", }, { "nm", "nm", "mac.w @<REG_M>+,@<REG_N>+", "0100nnnnmmmm1111", - "macw(R0,memory,n,m,endianw);", + "macw(&R0,memory,n,m,endianw);", }, { "n", "", "mov #<imm>,<REG_N>", "1110nnnni8*1....", |