projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mips] Add definition of JALR instruction which has two register operands. Change the
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsInstrFormats.td
diff --git
a/lib/Target/Mips/MipsInstrFormats.td
b/lib/Target/Mips/MipsInstrFormats.td
index 6977e45264691758e4bf2475ab64a4b894c2fb23..ee432c8753550940b3294b80e969cf23dcdaa1a0 100644
(file)
--- a/
lib/Target/Mips/MipsInstrFormats.td
+++ b/
lib/Target/Mips/MipsInstrFormats.td
@@
-367,6
+367,7
@@
class LUI_FM {
}
class JALR_FM {
+ bits<5> rd;
bits<5> rs;
bits<32> Inst;
@@
-374,7
+375,7
@@
class JALR_FM {
let Inst{31-26} = 0;
let Inst{25-21} = rs;
let Inst{20-16} = 0;
- let Inst{15-11} =
31
;
+ let Inst{15-11} =
rd
;
let Inst{10-6} = 0;
let Inst{5-0} = 9;
}