mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
R600: Add support for GROUP_BARRIER instruction
Reviewed-by: Vincent Lejeune<vljn at ovi.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185161 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1499,6 +1499,36 @@ let hasSideEffects = 1 in {
|
||||
|
||||
def UINT_TO_FLT_eg : UINT_TO_FLT_Common<0x9C>;
|
||||
|
||||
def GROUP_BARRIER : InstR600 <
|
||||
(outs), (ins), " GROUP_BARRIER", [(int_AMDGPU_barrier_local)], AnyALU>,
|
||||
R600ALU_Word0,
|
||||
R600ALU_Word1_OP2 <0x54> {
|
||||
|
||||
let dst = 0;
|
||||
let dst_rel = 0;
|
||||
let src0 = 0;
|
||||
let src0_rel = 0;
|
||||
let src0_neg = 0;
|
||||
let src0_abs = 0;
|
||||
let src1 = 0;
|
||||
let src1_rel = 0;
|
||||
let src1_neg = 0;
|
||||
let src1_abs = 0;
|
||||
let write = 0;
|
||||
let omod = 0;
|
||||
let clamp = 0;
|
||||
let last = 1;
|
||||
let bank_swizzle = 0;
|
||||
let pred_sel = 0;
|
||||
let update_exec_mask = 0;
|
||||
let update_pred = 0;
|
||||
|
||||
let Inst{31-0} = Word0;
|
||||
let Inst{63-32} = Word1;
|
||||
|
||||
let ALUInst = 1;
|
||||
}
|
||||
|
||||
// TRUNC is used for the FLT_TO_INT instructions to work around a
|
||||
// perceived problem where the rounding modes are applied differently
|
||||
// depending on the instruction and the slot they are in.
|
||||
|
||||
Reference in New Issue
Block a user