Home
last modified time | relevance | path

Searched refs:VOP2 (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm/lib/Target/AMDGPU/
DVIInstructions.td44 // VOP2 Instructions
89 // are VOP2 on SI and VOP3 on VI.
DSIInstrFormats.td32 field bits<1> VOP2 = 0;
68 let TSFlags{11} = VOP2;
142 let VOP2 = 1;
648 class VOP2 <bits<6> op, dag outs, dag ins, string asm, list<dag> pattern> :
DSIDefines.h29 VOP2 = 1 << 11, enumerator
DSIInstrInfo.h256 return MI.getDesc().TSFlags & SIInstrFlags::VOP2; in isVOP2()
260 return get(Opcode).TSFlags & SIInstrFlags::VOP2; in isVOP2()
DSIInstrInfo.td46 // Specify a VOP2 opcode for SI and VOP3 opcode for VI
47 // that doesn't have VOP2 encoding on VI
1141 !if (!eq(Src2.Value, untyped.Value), 2, // VOP2
1191 !if(!eq(NumSrcArgs, 2), (ins Src0RC:$src0, Src1RC:$src1), // VOP2
1221 // VOP2 without modifiers
1786 VOP2 <op.SI, outs, ins, opName#asm, []>,
1794 VOP2 <op.VI, outs, ins, opName#asm, []>,
2072 // An instruction that is VOP2 on SI and VOP3 on VI, no modifiers.
2080 def _si : VOP2 <op.SI3{5-0}, outs, ins, asm, []>,
2228 // A VOP2 instruction that is VOP3-only on VI.
/external/llvm-project/llvm/docs/
DAMDGPUInstructionSyntax.rst125 Most *VOP1*, *VOP2* and *VOPC* instructions have several variants:
134 Native 32-bit encoding (*VOP1*, *VOP2* or *VOPC*) _e32
/external/mesa3d/src/amd/compiler/
Daco_opcodes.py54 VOP2 = 1 << 9 variable in Format
640 VOP2 = { variable
715 for (gfx6, gfx7, gfx8, gfx9, gfx10, name, modifiers) in VOP2:
716 opcode(name, gfx7, gfx9, gfx10, Format.VOP2, modifiers, modifiers)
721 opcode(name, gfx7, gfx9, gfx10, Format.VOP2, True, False)
Daco_validate.cpp114 else if ((uint32_t)base_format & (uint32_t)Format::VOP2) in validate_ir()
115 base_format = Format::VOP2; in validate_ir()
135 check(base_format == Format::VOP2 || in validate_ir()
144 check(base_format == Format::VOP2 || in validate_ir()
241 instr->format == Format::VOP2 || in validate_ir()
Daco_ir.h100 VOP2 = 1 << 9, enumerator
242 assert(format == Format::VOP1 || format == Format::VOP2 || format == Format::VOPC); in asSDWA()
919 || ((uint16_t) format & (uint16_t) Format::VOP2) == (uint16_t) Format::VOP2 in isVALU()
Daco_optimizer.cpp2272 new_instr.reset(create_instruction<VOP2_instruction>(new_op, Format::VOP2, 3, 2)); in combine_add_sub_b2i()
2275 … new_instr.reset(create_instruction<VOP3A_instruction>(new_op, asVOP3(Format::VOP2), 3, 2)); in combine_add_sub_b2i()
2612 …w_instr.reset(create_instruction<VOP2_instruction>(aco_opcode::v_cndmask_b32, Format::VOP2, 3, 1)); in combine_and_subbrev()
2615 …eset(create_instruction<VOP3A_instruction>(aco_opcode::v_cndmask_b32, asVOP3(Format::VOP2), 3, 1)); in combine_and_subbrev()
2689 … instr.reset(create_instruction<VOP3A_instruction>(mul_instr->opcode, asVOP3(Format::VOP2), 2, 1)); in combine_instruction()
2841 …on> new_instr{create_instruction<VOP2_instruction>(aco_opcode::v_cndmask_b32, Format::VOP2, 3, 1)}; in combine_instruction()
3223 new_mad.reset(create_instruction<VOP2_instruction>(new_op, Format::VOP2, 3, 1)); in apply_literals()
Daco_assembler.cpp259 case Format::VOP2: { in emit_instruction()
552 if ((uint16_t) instr->format & (uint16_t) Format::VOP2) { in emit_instruction()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIInstrFormats.td29 field bit VOP2 = 0;
149 let TSFlags{8} = VOP2;
213 let hasExtraSrcRegAllocReq = !or(VOP1, VOP2, VOP3, VOPC, SDWA, VALU);
DVOP2Instructions.td10 // VOP2 Classes
76 let VOP2 = 1;
469 // VOP2 Instructions
923 //===------------------------------- VOP2 -------------------------------===//
969 //===------------------------- VOP2 (with name) -------------------------===//
1179 // VOP2 no carry-in, carry-out.
1187 // VOP2 carry-in, carry-out.
1602 // are VOP2 on SI and VOP3 on VI.
DSIDefines.h33 VOP2 = 1 << 8, enumerator
DSIInstrInfo.h420 return MI.getDesc().TSFlags & SIInstrFlags::VOP2; in isVOP2()
424 return get(Opcode).TSFlags & SIInstrFlags::VOP2; in isVOP2()
/external/llvm/docs/
DAMDGPUUsage.rst101 VOP1, VOP2, VOP3, VOPC Instructions
107 VOP1, VOP2, and VOPC instructions based on the operands. If you want to force
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dsdwa-vop2-64bit.mir5 # No conversion for VOP2 instructions that have only 64-bit encoding
Ddpp_combine.mir8 # VOP2:
27 ; VOP2
58 # VOP2:
111 ; VOP2
545 # Test instruction which does not have modifiers in VOP2 form but does in DPP form.
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrFormats.td29 field bit VOP2 = 0;
141 let TSFlags{8} = VOP2;
207 …let hasExtraSrcRegAllocReq = !if(VOP1,1,!if(VOP2,1,!if(VOP3,1,!if(VOPC,1,!if(SDWA,1, !if(VALU,1,0)…
DVOP2Instructions.td10 // VOP2 Classes
72 let VOP2 = 1;
458 // VOP2 Instructions
869 //===------------------------------- VOP2 -------------------------------===//
915 //===------------------------- VOP2 (with name) -------------------------===//
1124 // VOP2 no carry-in, carry-out.
1132 // VOP2 carry-in, carry-out.
1526 // are VOP2 on SI and VOP3 on VI.
DSIDefines.h33 VOP2 = 1 << 8, enumerator
DSIInstrInfo.h414 return MI.getDesc().TSFlags & SIInstrFlags::VOP2; in isVOP2()
418 return get(Opcode).TSFlags & SIInstrFlags::VOP2; in isVOP2()
/external/llvm-project/llvm/docs/AMDGPU/
DAMDGPUAsmGFX1011.rst56 VOP2 section in Instructions
DAMDGPUAsmGFX906.rst36 VOP2 section in Instructions
/external/llvm-project/llvm/test/MC/Disassembler/AMDGPU/
Dliteralv216_gfx10.txt144 # Packed VOP2

12