// pc-relative call:
def CALL : InstV8<(ops calltarget:$dst),
"call $dst",
- [(set ICC/*bogus*/, (call tglobaladdr:$dst, ICC/*bogus*/))]> {
+ [(set FLAG, (call tglobaladdr:$dst, FLAG))]> {
bits<30> disp;
let op = 1;
let Inst{29-0} = disp;
def JMPLrr : F3_1<2, 0b111000,
(ops MEMrr:$ptr),
"call $ptr",
- [(set ICC/*bogus*/, (call ADDRrr:$ptr, ICC/*bogus*/))]>;
+ [(set FLAG, (call ADDRrr:$ptr, FLAG))]>;
def JMPLri : F3_2<2, 0b111000,
(ops MEMri:$ptr),
"call $ptr",
- [(set ICC/*bogus*/, (call ADDRri:$ptr, ICC/*bogus*/))]>;
+ [(set FLAG, (call ADDRri:$ptr, FLAG))]>;
}
// Section B.28 - Read State Register Instructions
def : Pat<(V8lo tconstpool:$in), (ORri G0, tconstpool:$in)>;
// Return of a value, which has an input flag.
-def : Pat<(retflag ICC/*HACK*/), (RETL)>;
+def : Pat<(retflag FLAG), (RETL)>;
// Map integer extload's to zextloads.
def : Pat<(i32 (extload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>;
// pc-relative call:
def CALL : InstV8<(ops calltarget:$dst),
"call $dst",
- [(set ICC/*bogus*/, (call tglobaladdr:$dst, ICC/*bogus*/))]> {
+ [(set FLAG, (call tglobaladdr:$dst, FLAG))]> {
bits<30> disp;
let op = 1;
let Inst{29-0} = disp;
def JMPLrr : F3_1<2, 0b111000,
(ops MEMrr:$ptr),
"call $ptr",
- [(set ICC/*bogus*/, (call ADDRrr:$ptr, ICC/*bogus*/))]>;
+ [(set FLAG, (call ADDRrr:$ptr, FLAG))]>;
def JMPLri : F3_2<2, 0b111000,
(ops MEMri:$ptr),
"call $ptr",
- [(set ICC/*bogus*/, (call ADDRri:$ptr, ICC/*bogus*/))]>;
+ [(set FLAG, (call ADDRri:$ptr, FLAG))]>;
}
// Section B.28 - Read State Register Instructions
def : Pat<(V8lo tconstpool:$in), (ORri G0, tconstpool:$in)>;
// Return of a value, which has an input flag.
-def : Pat<(retflag ICC/*HACK*/), (RETL)>;
+def : Pat<(retflag FLAG), (RETL)>;
// Map integer extload's to zextloads.
def : Pat<(i32 (extload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>;