[PATCH v2 2/2] Fixes TCG generation for sh4 `fipr` and `ftrv` instructions.

Randy Schifflin <[email protected]> Wed, 29 Jul 2026 13:45:06 -0700
Newsgroups org.nongnu.qemu-trivial,org.nongnu.qemu-devel
Message-ID <20260729-fixup-sh4-tcg-fpu-instructions-b4-v2-2-2c1c0fe04672@gmail.com>
Updates the current logic for these instructions to check the
FPSCR register appropriately (according to the sh4 cpu manual, `fipr`
and `ftrv` are only defined when the FPSCR register PR flag is 0).
Also fixes the mth/nth-vector operands by multiplying by 4 to convert
to the correct floating point register offset.

Signed-off-by: Randy Schifflin <[email protected]>

-- 
2.43.0