sim: sh: fix plds Dz,MACL implementation
authorMike Frysinger <vapier@gentoo.org>
Sun, 24 Dec 2023 08:53:03 +0000 (03:53 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 24 Dec 2023 08:56:00 +0000 (03:56 -0500)
commitfed277fe1516127a0414eeda0b17a8bb6b318baf
tree993b693d57dee10c68b2a31eac98e53c1c54b1f3
parent1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3
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.
sim/sh/gencode.c