]> Git Repo - qemu.git/commit
ppc: Add support for 'mffscrn','mffscrni' instructions
authorPaul A. Clarke <[email protected]>
Wed, 18 Sep 2019 14:31:21 +0000 (09:31 -0500)
committerDavid Gibson <[email protected]>
Fri, 4 Oct 2019 00:25:23 +0000 (10:25 +1000)
commita2735cf483814b1c0e5773eee4a52f8e32d438cf
treebd97e35550ae7cb6490901b2fbefdb9ce57dfbfa
parent4c3539d491026a0cc68e3b886f16cb7f57efd46b
ppc: Add support for 'mffscrn','mffscrni' instructions

ISA 3.0B added a set of Floating-Point Status and Control Register (FPSCR)
instructions: mffsce, mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl.
This patch adds support for 'mffscrn' and 'mffscrni' instructions.

'mffscrn' and 'mffscrni' are similar to 'mffsl', except they do not return
the status bits (FI, FR, FPRF) and they also set the rounding mode in the
FPSCR.

On CPUs without support for 'mffscrn'/'mffscrni' (below ISA 3.0), the
instructions will execute identically to 'mffs'.

Signed-off-by: Paul A. Clarke <[email protected]>
Message-Id: <1568817081[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: David Gibson <[email protected]>
target/ppc/cpu.h
target/ppc/dfp_helper.c
target/ppc/internal.h
target/ppc/translate/fp-impl.inc.c
target/ppc/translate/fp-ops.inc.c
This page took 0.02443 seconds and 4 git commands to generate.