sim: sh: refine pwsb & pwad nops
authorMike Frysinger <vapier@gentoo.org>
Sun, 24 Dec 2023 08:59:02 +0000 (03:59 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 24 Dec 2023 09:00:04 +0000 (04:00 -0500)
commit43fbcdcd03fec85a9ea147000c3feec9d4989d6c
tree329f76fec69949d2742b4bd8bdf5b2b077486949
parentfed277fe1516127a0414eeda0b17a8bb6b318baf
sim: sh: refine pwsb & pwad nops

Since these insns don't do anything and are effectively ignored,
return early to avoid doing any common processing at the end as
that requires initializing variables like "res" with something.
sim/sh/gencode.c