]> Git Repo - qemu.git/commit
target-mips: Implement FCR31's R/W bitmask and related functionalities
authorAleksandar Markovic <[email protected]>
Fri, 10 Jun 2016 09:57:36 +0000 (11:57 +0200)
committerLeon Alrae <[email protected]>
Fri, 24 Jun 2016 12:43:52 +0000 (13:43 +0100)
commit599bc5e89c46f95f86ccad0d747d041c89a28806
treeac0fde39e6c036c145a5beba89e3a8b9975e0e50
parent87552089b62fa229d2ff86906e4e779177fb5835
target-mips: Implement FCR31's R/W bitmask and related functionalities

This patch implements read and write access rules for Mips floating
point control and status register (FCR31). The change can be divided
into following parts:

- Add fields that will keep FCR31's R/W bitmask in procesor
  definitions and processor float_status structure.

- Add appropriate value for FCR31's R/W bitmask for each supported
  processor.

- Add function for setting snan_bit_is_one, and integrate it in
  appropriate places.

- Modify handling of CTC1 (case 31) instruction to use FCR31's R/W
  bitmask.

- Modify handling user mode executables for Mips, in relation to the
  bit EF_MIPS_NAN2008 from ELF header, that is in turn related to
  reading and writing to FCR31.

- Modify gdb behavior in relation to FCR31.

Signed-off-by: Thomas Schwinge <[email protected]>
Signed-off-by: Maciej W. Rozycki <[email protected]>
Signed-off-by: Aleksandar Markovic <[email protected]>
Reviewed-by: Leon Alrae <[email protected]>
Signed-off-by: Leon Alrae <[email protected]>
linux-user/main.c
target-mips/cpu.h
target-mips/gdbstub.c
target-mips/op_helper.c
target-mips/translate.c
target-mips/translate_init.c
This page took 0.031777 seconds and 4 git commands to generate.