[AVR] CPIRdK can only work with r16..r31; Authored by Dr. Gergo Erdi
(https://github.com/avr-rust/rust/issues/50) llvm-svn: 304283
This commit is contained in:
parent
e597bd8230
commit
48614d4a2c
|
@ -904,7 +904,7 @@ let Defs = [SREG] in
|
|||
// Compares a register with an 8 bit immediate.
|
||||
def CPIRdK : FRdK<0b0011,
|
||||
(outs),
|
||||
(ins GPR8:$rd, imm_ldi8:$k),
|
||||
(ins LD8:$rd, imm_ldi8:$k),
|
||||
"cpi\t$rd, $k",
|
||||
[(AVRcmp i8:$rd, imm:$k), (implicit SREG)]>;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue