mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-03 17:39:48 +00:00
Added the 'r' and 'i' annotations to instructions as their opcode names have
changed. llvm-svn: 6380
This commit is contained in:
parent
4960b8db94
commit
3da906bb36
@ -90,14 +90,14 @@ struct UltraSparcInstrInfo : public TargetInstrInfo {
|
||||
bool ignore;
|
||||
if (this->maxImmedConstant(opCode, ignore) != 0) {
|
||||
// 1st store opcode
|
||||
assert(! this->isStore((MachineOpCode) V9::STB - 1)); //r
|
||||
assert(! this->isStore((MachineOpCode) V9::STBr - 1));
|
||||
// last store opcode
|
||||
assert(! this->isStore((MachineOpCode) V9::STXFSR + 1)); //i
|
||||
assert(! this->isStore((MachineOpCode) V9::STXFSRi + 1));
|
||||
|
||||
if (opCode == V9::SETSW || opCode == V9::SETUW ||
|
||||
opCode == V9::SETX || opCode == V9::SETHI)
|
||||
return 0;
|
||||
if (opCode >= V9::STB && opCode <= V9::STXFSR) //r, i
|
||||
if (opCode >= V9::STBr && opCode <= V9::STXFSRi)
|
||||
return 2;
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user