]> git.proxmox.com Git - mirror_qemu.git/commit
target-mips: add Config5.FRE support allowing Status.FR=0 emulation
authorLeon Alrae <leon.alrae@imgtec.com>
Tue, 21 Apr 2015 15:06:28 +0000 (16:06 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Thu, 11 Jun 2015 09:13:28 +0000 (10:13 +0100)
commit7c979afd11b09a16634699dd6344e3ba10c9677e
tree2175a47d3d9f5a95406887a1b0e17c3c5c00b9d6
parenteab9944c7801525737626fa45cddaf00932dd2c8
target-mips: add Config5.FRE support allowing Status.FR=0 emulation

This relatively small architectural feature adds the following:

FIR.FREP: Read-only. If FREP=1, then Config5.FRE and Config5.UFE are
          available.

Config5.FRE: When enabled all single-precision FP arithmetic instructions,
             LWC1/LWXC1/MTC1, SWC1/SWXC1/MFC1 cause a Reserved Instructions
             exception.

Config5.UFE: Allows user to write/read Config5.FRE using CTC1/CFC1
             instructions.

Enable the feature in MIPS64R6-generic CPU.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
target-mips/cpu.h
target-mips/op_helper.c
target-mips/translate.c
target-mips/translate_init.c