[PATCH 00/10] Add emulation support for FPU R6 instructions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patch adds support for the new R6 FPU instructions. It has been
tested on a 32-bit R6 QEMU using the nofpu kernel parameter.

I have also pushed my patches to the following branch:
git://git.linux-mips.org/pub/scm/mchandras/linux.git v4.3-fpu-r6

Markos Chandras (10):
  MIPS: include: uapi: inst: Add new MIPS R6 FPU opcodes
  MIPS: math-emu: cp1emu: Add support for the CMP.condn.fmt R6
    instruction
  MIPS: math-emu: cp1emu: Add support for the MIPS R6 SELEQZ FPU
    instruction
  MIPS: math-emu: cp1emu: Add support for the MIPS R6 SELNEZ FPU
    instruction
  MIPS: math-emu: Add support for the MIPS R6 MADDF FPU instruction
  MIPS: math-emu: Add support for the MIPS R6 MSUBF FPU instruction
  MIPS: math-emu: Add support for the MIPS R6 RINT FPU instruction
  MIPS: math-emu: Add support for the MIPS R6 CLASS FPU instruction
  MIPS: math-emu: Add support for the MIPS R6 MIN{,A} FPU instruction
  MIPS: math-emu: Add support for the MIPS R6 MAX{,A} FPU instruction

 arch/mips/include/uapi/asm/inst.h |   9 +-
 arch/mips/math-emu/Makefile       |   4 +-
 arch/mips/math-emu/cp1emu.c       | 371 +++++++++++++++++++++++++++++++++++++-
 arch/mips/math-emu/dp_2008class.c |  55 ++++++
 arch/mips/math-emu/dp_fmax.c      | 213 ++++++++++++++++++++++
 arch/mips/math-emu/dp_fmin.c      | 213 ++++++++++++++++++++++
 arch/mips/math-emu/dp_maddf.c     | 265 +++++++++++++++++++++++++++
 arch/mips/math-emu/dp_msubf.c     | 269 +++++++++++++++++++++++++++
 arch/mips/math-emu/ieee754.h      |  19 ++
 arch/mips/math-emu/sp_2008class.c |  55 ++++++
 arch/mips/math-emu/sp_fmax.c      | 213 ++++++++++++++++++++++
 arch/mips/math-emu/sp_fmin.c      | 213 ++++++++++++++++++++++
 arch/mips/math-emu/sp_maddf.c     | 255 ++++++++++++++++++++++++++
 arch/mips/math-emu/sp_msubf.c     | 258 ++++++++++++++++++++++++++
 14 files changed, 2399 insertions(+), 13 deletions(-)
 create mode 100644 arch/mips/math-emu/dp_2008class.c
 create mode 100644 arch/mips/math-emu/dp_fmax.c
 create mode 100644 arch/mips/math-emu/dp_fmin.c
 create mode 100644 arch/mips/math-emu/dp_maddf.c
 create mode 100644 arch/mips/math-emu/dp_msubf.c
 create mode 100644 arch/mips/math-emu/sp_2008class.c
 create mode 100644 arch/mips/math-emu/sp_fmax.c
 create mode 100644 arch/mips/math-emu/sp_fmin.c
 create mode 100644 arch/mips/math-emu/sp_maddf.c
 create mode 100644 arch/mips/math-emu/sp_msubf.c

-- 
2.5.0





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux