diff options
| author | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-07-16 10:07:14 +0000 |
|---|---|---|
| committer | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-07-16 10:07:14 +0000 |
| commit | 64828a1f735fee853a251deded61922e6da5ddd0 (patch) | |
| tree | 0ee9d1609e32a910dd8f6c9bf80934247fbc5d0d /llvm/lib/Target/Mips/MipsInstrFormats.td | |
| parent | 37ce985739f8f7b85d58fd502960f1402923f67d (diff) | |
| download | bcm5719-llvm-64828a1f735fee853a251deded61922e6da5ddd0.tar.gz bcm5719-llvm-64828a1f735fee853a251deded61922e6da5ddd0.zip | |
This patch represents Mips utilization of r186388 code that alows asm matcher to emit mnemonics contain '.' characters. This makes asm parser code simpler and more efficient.
llvm-svn: 186397
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstrFormats.td')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsInstrFormats.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrFormats.td b/llvm/lib/Target/Mips/MipsInstrFormats.td index 6073476af2c..c2a58795770 100644 --- a/llvm/lib/Target/Mips/MipsInstrFormats.td +++ b/llvm/lib/Target/Mips/MipsInstrFormats.td @@ -97,6 +97,7 @@ class InstSE<dag outs, dag ins, string asmstr, list<dag> pattern, let Predicates = [HasStdEnc]; string BaseOpcode = opstr; string Arch; + let MnemonicContainsDot = 1; } // Mips Pseudo Instructions Format @@ -679,6 +680,10 @@ class CEQS_FM<bits<5> fmt> { let Inst{3-0} = cond; } +class C_COND_FM<bits<5> fmt, bits<4> c> : CEQS_FM<fmt> { + let cond = c; +} + class CMov_I_F_FM<bits<6> funct, bits<5> fmt> { bits<5> fd; bits<5> fs; |

