diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-09-11 03:30:17 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 01:45:04 -0500 |
commit | 5ff04a8433b0ff396c4adcc03fe7787e22f57cb1 (patch) | |
tree | 1c4dad09b72c0c8835da4906fbdcd325b29baced /arch/mips/include/asm/mipsregs.h | |
parent | 774c105ed8d791b709b40082d107f5bb40254374 (diff) |
MIPS: define bits introduced for hybrid FPRs
Add definitions for the FRE & UFE bits in Config5, and the FREP bit in
FPIR. These bits are used to support a hybrid FPR scheme allowing a
mixture of FP32 & FP64 code to execute within a task.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7674/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mipsregs.h')
-rw-r--r-- | arch/mips/include/asm/mipsregs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mipsregs.h b/arch/mips/include/asm/mipsregs.h index b46cd220a018..7ebb6544392e 100644 --- a/arch/mips/include/asm/mipsregs.h +++ b/arch/mips/include/asm/mipsregs.h | |||
@@ -653,6 +653,8 @@ | |||
653 | #define MIPS_CONF5_NF (_ULCAST_(1) << 0) | 653 | #define MIPS_CONF5_NF (_ULCAST_(1) << 0) |
654 | #define MIPS_CONF5_UFR (_ULCAST_(1) << 2) | 654 | #define MIPS_CONF5_UFR (_ULCAST_(1) << 2) |
655 | #define MIPS_CONF5_MRP (_ULCAST_(1) << 3) | 655 | #define MIPS_CONF5_MRP (_ULCAST_(1) << 3) |
656 | #define MIPS_CONF5_FRE (_ULCAST_(1) << 8) | ||
657 | #define MIPS_CONF5_UFE (_ULCAST_(1) << 9) | ||
656 | #define MIPS_CONF5_MSAEN (_ULCAST_(1) << 27) | 658 | #define MIPS_CONF5_MSAEN (_ULCAST_(1) << 27) |
657 | #define MIPS_CONF5_EVA (_ULCAST_(1) << 28) | 659 | #define MIPS_CONF5_EVA (_ULCAST_(1) << 28) |
658 | #define MIPS_CONF5_CV (_ULCAST_(1) << 29) | 660 | #define MIPS_CONF5_CV (_ULCAST_(1) << 29) |
@@ -692,6 +694,7 @@ | |||
692 | #define MIPS_FPIR_W (_ULCAST_(1) << 20) | 694 | #define MIPS_FPIR_W (_ULCAST_(1) << 20) |
693 | #define MIPS_FPIR_L (_ULCAST_(1) << 21) | 695 | #define MIPS_FPIR_L (_ULCAST_(1) << 21) |
694 | #define MIPS_FPIR_F64 (_ULCAST_(1) << 22) | 696 | #define MIPS_FPIR_F64 (_ULCAST_(1) << 22) |
697 | #define MIPS_FPIR_FREP (_ULCAST_(1) << 29) | ||
695 | 698 | ||
696 | /* | 699 | /* |
697 | * Bits in the MIPS32 Memory Segmentation registers. | 700 | * Bits in the MIPS32 Memory Segmentation registers. |