diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-05-13 11:45:36 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-05-13 11:45:36 +0000 |
commit | 0e0f907356529765531f27993d7f9cbd15ae6425 (patch) | |
tree | e4c61a7a7447b3165783fc93132faa040f19875a /lib/Target/Mips/MipsSubtarget.h | |
parent | 34b9ca5e145d363361474c21d559077d8c7bdb51 (diff) | |
download | llvm-0e0f907356529765531f27993d7f9cbd15ae6425.tar.gz llvm-0e0f907356529765531f27993d7f9cbd15ae6425.tar.bz2 llvm-0e0f907356529765531f27993d7f9cbd15ae6425.tar.xz |
[mips] Marked up instructions added in MIPS32r2 and tested that IAS for -mcpu=mips(2|32) does not accept them
Summary:
This required a new instruction group representing the 32-bit subset of
MIPS-3 that was available in MIPS32R2.
To limit the number of tests required, only one 32-bit and one 64-bit ISA
prior to MIPS32/MIPS64 are tested.
rdhwr has been deliberately left without an ISA annotation for now. This is
because the assembler and CodeGen disagree on when the instruction is
available. Strictly speaking, it is only available in MIPS32r2 and
MIPS64r2. However, it is emulated by a kernel trap on earlier ISA's and is
necessary for TLS so CodeGen should emit it on older ISA's too.
Depends on D3696
Reviewers: vmedic
Reviewed By: vmedic
Differential Revision: http://reviews.llvm.org/D3697
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.h')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.h b/lib/Target/Mips/MipsSubtarget.h index 135dfec2e0..d57e678314 100644 --- a/lib/Target/Mips/MipsSubtarget.h +++ b/lib/Target/Mips/MipsSubtarget.h @@ -82,6 +82,9 @@ protected: // HasMips3_32 - The subset of MIPS-III instructions added to MIPS32 bool HasMips3_32; + // HasMips3_32r2 - The subset of MIPS-III instructions added to MIPS32r2 + bool HasMips3_32r2; + // HasMips4_32 - Has the subset of MIPS-IV present in MIPS32 bool HasMips4_32; |