/external/llvm/lib/Target/Sparc/ |
D | SparcInstrAliases.td | 389 // inc simm13, rd -> add rd, simm13, rd 390 def : InstAlias<"inc $simm13, $rd", (ADDri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; 395 // inccc simm13, rd -> addcc rd, simm13, rd 396 def : InstAlias<"inccc $simm13, $rd", (ADDCCri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; 401 // dec simm13, rd -> sub rd, simm13, rd 402 def : InstAlias<"dec $simm13, $rd", (SUBri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; 407 // deccc simm13, rd -> subcc rd, simm13, rd 408 def : InstAlias<"deccc $simm13, $rd", (SUBCCri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; 412 def : InstAlias<"btst $simm13, $rs1", (ANDCCri G0, IntRegs:$rs1, i32imm:$simm13), 0>; 416 def : InstAlias<"bset $simm13, $rd", (ORri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; [all …]
|
D | SparcInstr64Bit.td | 64 // The ALU instructions want their simm13 operands as i32 immediates. 68 def : Pat<(i64 simm13:$val), (ORri (i64 G0), (as_i32imm $val))>; 99 // (sllx simm13, n) 103 // (xor (sllx sethi), simm13) 104 // (sllx (xor sethi, simm13)) 113 // (or (sllx sethi), (or sethi, simm13)) 114 // (xnor (sllx sethi), (or sethi, simm13)) 120 // (or (sllx (or sethi, simmm13)), (or sethi, simm13)) 180 def : Pat<(SPcmpicc i64:$a, (i64 simm13:$b)), (CMPri $a, (as_i32imm $b))>; 197 (outs IntRegs:$rd), (ins IntRegs:$rs1, i64imm:$simm13), [all …]
|
D | SparcInstrInfo.td | 76 def simm13 : PatLeaf<(imm), [{ return isInt<13>(N->getSExtValue()); }]>; 297 (outs RC:$rd), (ins RC:$rs1, immOp:$simm13), 298 !strconcat(OpcStr, " $rs1, $simm13, $rd"), 299 [(set Ty:$rd, (OpNode Ty:$rs1, (Ty simm13:$simm13)))], 311 (outs IntRegs:$rd), (ins IntRegs:$rs1, simm13Op:$simm13), 312 !strconcat(OpcStr, " $rs1, $simm13, $rd"), [], 420 let rd = 0, rs1 = 1, simm13 = 3 in 657 (outs IntRegs:$rd), (ins IntRegs:$rs1, simm13Op:$simm13), 658 "andn $rs1, $simm13, $rd", []>; 667 (outs IntRegs:$rd), (ins IntRegs:$rs1, simm13Op:$simm13), [all …]
|
D | SparcInstrFormats.td | 147 bits<13> simm13; 153 let Inst{12-0} = simm13;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/ |
D | SparcInstrAliases.td | 389 // inc simm13, rd -> add rd, simm13, rd 390 def : InstAlias<"inc $simm13, $rd", (ADDri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; 395 // inccc simm13, rd -> addcc rd, simm13, rd 396 def : InstAlias<"inccc $simm13, $rd", (ADDCCri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; 401 // dec simm13, rd -> sub rd, simm13, rd 402 def : InstAlias<"dec $simm13, $rd", (SUBri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; 407 // deccc simm13, rd -> subcc rd, simm13, rd 408 def : InstAlias<"deccc $simm13, $rd", (SUBCCri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; 412 def : InstAlias<"btst $simm13, $rs1", (ANDCCri G0, IntRegs:$rs1, i32imm:$simm13), 0>; 416 def : InstAlias<"bset $simm13, $rd", (ORri IntRegs:$rd, IntRegs:$rd, i32imm:$simm13), 0>; [all …]
|
D | SparcInstr64Bit.td | 64 // The ALU instructions want their simm13 operands as i32 immediates. 68 def : Pat<(i64 simm13:$val), (ORri (i64 G0), (as_i32imm $val))>; 99 // (sllx simm13, n) 103 // (xor (sllx sethi), simm13) 104 // (sllx (xor sethi, simm13)) 113 // (or (sllx sethi), (or sethi, simm13)) 114 // (xnor (sllx sethi), (or sethi, simm13)) 120 // (or (sllx (or sethi, simmm13)), (or sethi, simm13)) 180 def : Pat<(SPcmpicc i64:$a, (i64 simm13:$b)), (CMPri $a, (as_i32imm $b))>; 197 (outs IntRegs:$rd), (ins IntRegs:$rs1, i64imm:$simm13), [all …]
|
D | SparcInstrInfo.td | 79 def simm13 : PatLeaf<(imm), [{ return isInt<13>(N->getSExtValue()); }]>; 301 (outs RC:$rd), (ins RC:$rs1, immOp:$simm13), 302 !strconcat(OpcStr, " $rs1, $simm13, $rd"), 303 [(set Ty:$rd, (OpNode Ty:$rs1, (Ty simm13:$simm13)))], 315 (outs IntRegs:$rd), (ins IntRegs:$rs1, simm13Op:$simm13), 316 !strconcat(OpcStr, " $rs1, $simm13, $rd"), [], 424 let rd = 8, rs1 = 0, simm13 = 3 in 661 (outs IntRegs:$rd), (ins IntRegs:$rs1, simm13Op:$simm13), 662 "andn $rs1, $simm13, $rd", []>; 671 (outs IntRegs:$rd), (ins IntRegs:$rs1, simm13Op:$simm13), [all …]
|
D | SparcInstrFormats.td | 147 bits<13> simm13; 153 let Inst{12-0} = simm13;
|
/external/capstone/arch/Sparc/ |
D | SparcDisassembler.c | 260 unsigned simm13 = 0; in DecodeMem() local 263 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeMem() 280 MCOperand_CreateImm0(MI, simm13); in DecodeMem() 381 unsigned simm13 = 0; in DecodeJMPL() local 384 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeJMPL() 400 MCOperand_CreateImm0(MI, simm13); in DecodeJMPL() 417 unsigned simm13 = 0; in DecodeReturn() local 419 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeReturn() 430 MCOperand_CreateImm0(MI, simm13); in DecodeReturn() 448 unsigned simm13 = 0; in DecodeSWAP() local [all …]
|
D | SparcGenAsmWriter.inc | 3923 // (ORri IntRegs:$rd, G0, i32imm:$simm13)
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/Disassembler/ |
D | SparcDisassembler.cpp | 389 unsigned simm13 = 0; in DecodeMem() local 391 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeMem() 409 MI.addOperand(MCOperand::createImm(simm13)); in DecodeMem() 544 unsigned simm13 = 0; in DecodeJMPL() local 546 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeJMPL() 562 MI.addOperand(MCOperand::createImm(simm13)); in DecodeJMPL() 577 unsigned simm13 = 0; in DecodeReturn() local 579 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeReturn() 590 MI.addOperand(MCOperand::createImm(simm13)); in DecodeReturn() 608 unsigned simm13 = 0; in DecodeSWAP() local [all …]
|
/external/llvm/lib/Target/Sparc/Disassembler/ |
D | SparcDisassembler.cpp | 387 unsigned simm13 = 0; in DecodeMem() local 389 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeMem() 407 MI.addOperand(MCOperand::createImm(simm13)); in DecodeMem() 542 unsigned simm13 = 0; in DecodeJMPL() local 544 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeJMPL() 560 MI.addOperand(MCOperand::createImm(simm13)); in DecodeJMPL() 575 unsigned simm13 = 0; in DecodeReturn() local 577 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeReturn() 588 MI.addOperand(MCOperand::createImm(simm13)); in DecodeReturn() 606 unsigned simm13 = 0; in DecodeSWAP() local [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
D | SparcInstrFormats.td | 93 bits<13> simm13; 99 let Inst{12-0} = simm13;
|
D | SparcInstrInfo.td | 48 def simm13 : PatLeaf<(imm), [{ return isInt<13>(N->getSExtValue()); }]>; 189 [(set IntRegs:$dst, (OpNode IntRegs:$b, simm13:$c))]>; 230 let rd = 0, rs1 = 1, simm13 = 3 in 301 "jmp %o7+$val", [(retflag simm13:$val)]>; 785 def : Pat<(i32 simm13:$val), 794 def : Pat<(subc IntRegs:$b, simm13:$val),
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/ |
D | WritingAnLLVMBackend.rst | 814 [(set i32:$dst, (OpNode i32:$b, simm13:$c))]>;
|
/external/llvm/docs/ |
D | WritingAnLLVMBackend.rst | 814 [(set i32:$dst, (OpNode i32:$b, simm13:$c))]>;
|