forked from OSchip/llvm-project
In 64-bit mode, addr mode operands use G8RC instead of GPRC.
llvm-svn: 28840
This commit is contained in:
parent
a5190ae7a9
commit
e8fe5e2bf4
|
@ -205,17 +205,17 @@ def crbitm: Operand<i8> {
|
|||
def memri : Operand<iPTR> {
|
||||
let PrintMethod = "printMemRegImm";
|
||||
let NumMIOperands = 2;
|
||||
let MIOperandInfo = (ops i32imm, GPRC);
|
||||
let MIOperandInfo = (ops i32imm, ptr_rc);
|
||||
}
|
||||
def memrr : Operand<iPTR> {
|
||||
let PrintMethod = "printMemRegReg";
|
||||
let NumMIOperands = 2;
|
||||
let MIOperandInfo = (ops GPRC, GPRC);
|
||||
let MIOperandInfo = (ops ptr_rc, ptr_rc);
|
||||
}
|
||||
def memrix : Operand<iPTR> { // memri where the imm is shifted 2 bits.
|
||||
let PrintMethod = "printMemRegImmShifted";
|
||||
let NumMIOperands = 2;
|
||||
let MIOperandInfo = (ops i32imm, GPRC);
|
||||
let MIOperandInfo = (ops i32imm, ptr_rc);
|
||||
}
|
||||
|
||||
// Define PowerPC specific addressing mode.
|
||||
|
|
Loading…
Reference in New Issue