diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2012-12-13 01:32:36 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-12-13 01:32:36 +0000 |
| commit | 89828a6a563426edda0e30384997b2b24be6bb12 (patch) | |
| tree | 9f9ca1ae40c36f64130f0fd6d52c33c2382c2f99 /lib/Target/Mips/MipsInstrFormats.td | |
| parent | 2b1a50cfdb2db28605fc9834310890160c29be4f (diff) | |
| download | external_llvm-89828a6a563426edda0e30384997b2b24be6bb12.zip external_llvm-89828a6a563426edda0e30384997b2b24be6bb12.tar.gz external_llvm-89828a6a563426edda0e30384997b2b24be6bb12.tar.bz2 | |
[mips] Modify definitions of floating point branch instructions.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsInstrFormats.td')
| -rw-r--r-- | lib/Target/Mips/MipsInstrFormats.td | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsInstrFormats.td b/lib/Target/Mips/MipsInstrFormats.td index 210a1cb..6c7e3c5 100644 --- a/lib/Target/Mips/MipsInstrFormats.td +++ b/lib/Target/Mips/MipsInstrFormats.td @@ -453,3 +453,16 @@ class SWXC1_FM<bits<6> funct> { let Inst{10-6} = 0; let Inst{5-0} = funct; } + +class BC1F_FM<bit nd, bit tf> { + bits<16> offset; + + bits<32> Inst; + + let Inst{31-26} = 0x11; + let Inst{25-21} = 0x8; + let Inst{20-18} = 0; // cc + let Inst{17} = nd; + let Inst{16} = tf; + let Inst{15-0} = offset; +} |
