diff options
| author | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2014-08-15 09:29:30 +0000 |
|---|---|---|
| committer | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2014-08-15 09:29:30 +0000 |
| commit | 8d380fa37aa2ac85649975a7009095f59b4701c0 (patch) | |
| tree | 657d9323cb83ece9b53b5718e7506242dbddb03e /llvm/lib/Target/Mips/MipsInstrFormats.td | |
| parent | 70cf4c626e25298c570d951f441522fb0d9e1783 (diff) | |
| download | bcm5719-llvm-8d380fa37aa2ac85649975a7009095f59b4701c0.tar.gz bcm5719-llvm-8d380fa37aa2ac85649975a7009095f59b4701c0.zip | |
Current implementation of c.cond.fmt instructions only accept default cc0 register. This patch enables the instruction to accept other fcc registers. The aliases with default fcc0 registers are also defined.
llvm-svn: 215698
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstrFormats.td')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsInstrFormats.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrFormats.td b/llvm/lib/Target/Mips/MipsInstrFormats.td index 6a01ae560f3..1c1915a1ba8 100644 --- a/llvm/lib/Target/Mips/MipsInstrFormats.td +++ b/llvm/lib/Target/Mips/MipsInstrFormats.td @@ -768,6 +768,7 @@ class CEQS_FM<bits<5> fmt> : StdArch { bits<5> fs; bits<5> ft; bits<4> cond; + bits<3> cc; bits<32> Inst; @@ -775,7 +776,7 @@ class CEQS_FM<bits<5> fmt> : StdArch { let Inst{25-21} = fmt; let Inst{20-16} = ft; let Inst{15-11} = fs; - let Inst{10-8} = 0; // cc + let Inst{10-8} = cc; let Inst{7-4} = 0x3; let Inst{3-0} = cond; } |

