mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
[Hexagon] Adding NOP encoding bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222791 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a4bf227a9
commit
c688fdbeea
@ -409,10 +409,11 @@ def AND_ri : ALU32_ri<(outs IntRegs:$dst),
|
||||
s10ExtPred:$src2))]>, ImmRegRel;
|
||||
|
||||
// Nop.
|
||||
let neverHasSideEffects = 1, isCodeGenOnly = 0 in
|
||||
def NOP : ALU32_rr<(outs), (ins),
|
||||
"nop",
|
||||
[]>;
|
||||
let hasSideEffects = 0 in
|
||||
def A2_nop: ALU32Inst <(outs), (ins), "nop" > {
|
||||
let IClass = 0b0111;
|
||||
let Inst{27-24} = 0b1111;
|
||||
}
|
||||
|
||||
// Rd32=sub(#s10,Rs32)
|
||||
let isExtendable = 1, opExtendable = 1, isExtentSigned = 1, opExtentBits = 10,
|
||||
|
@ -97,7 +97,7 @@ void HexagonInstPrinter::printInst(const HexagonMCInst *MI, raw_ostream &O,
|
||||
HexagonMCInst Nop;
|
||||
StringRef NoAnnot;
|
||||
|
||||
Nop.setOpcode (Hexagon::NOP);
|
||||
Nop.setOpcode (Hexagon::A2_nop);
|
||||
Nop.setPacketStart (MI->isPacketStart());
|
||||
printInst (&Nop, O, NoAnnot);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user