mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
R600: Add some missing CF instruction definitions to the .td files.
reviewed-by: Vincent Lejeune <vljn at ovi.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c0c884e42
commit
39210ac1c6
@ -642,6 +642,9 @@ ins, AsmPrint, [] >, CF_WORD0_EG, CF_WORD1_EG {
|
||||
def CF_ALU : ALU_CLAUSE<8, "ALU">;
|
||||
def CF_ALU_PUSH_BEFORE : ALU_CLAUSE<9, "ALU_PUSH_BEFORE">;
|
||||
def CF_ALU_POP_AFTER : ALU_CLAUSE<10, "ALU_POP_AFTER">;
|
||||
def CF_ALU_CONTINUE : ALU_CLAUSE<13, "ALU_CONTINUE">;
|
||||
def CF_ALU_BREAK : ALU_CLAUSE<14, "ALU_BREAK">;
|
||||
def CF_ALU_ELSE_AFTER : ALU_CLAUSE<15, "ALU_ELSE_AFTER">;
|
||||
|
||||
def FETCH_CLAUSE : AMDGPUInst <(outs),
|
||||
(ins i32imm:$addr), "Fetch clause starting at $addr:", [] > {
|
||||
@ -1238,6 +1241,10 @@ let Predicates = [isR600] in {
|
||||
"JUMP @$ADDR POP:$POP_COUNT"> {
|
||||
let CNT = 0;
|
||||
}
|
||||
def CF_PUSH_ELSE_R600 : CF_CLAUSE_R600<12, (ins i32imm:$ADDR),
|
||||
"PUSH_ELSE @$ADDR"> {
|
||||
let CNT = 0;
|
||||
}
|
||||
def CF_ELSE_R600 : CF_CLAUSE_R600<13, (ins i32imm:$ADDR, i32imm:$POP_COUNT),
|
||||
"ELSE @$ADDR POP:$POP_COUNT"> {
|
||||
let CNT = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user