mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
sim: sh: fix plds Dz,MACL implementation
The plds Dz,MACL insn stores the Dz bit into MACL. The current code was storing the "res" variable into Dz and then into MACL, but not setting "res" to anything. Delete that logic and make it match the existing plds Dz,MACH insn.
This commit is contained in:
@@ -2439,7 +2439,7 @@ static op ppi_tab[] =
|
||||
"if (0xa05f >> z & 1)",
|
||||
" RAISE_EXCEPTION (SIGILL);",
|
||||
"else",
|
||||
" MACL = DSP_R (z) = res;",
|
||||
" MACL = DSP_R (z);",
|
||||
"return;",
|
||||
},
|
||||
/* sh4a */
|
||||
|
||||
Reference in New Issue
Block a user