lima/gp: Mark more add-only nodes as maybe-two-slot
Reviewed-by: Qiang Yu <yuq825@gmail.com>
This commit is contained in:
@@ -68,21 +68,29 @@ const gpir_op_info gpir_op_infos[] = {
|
||||
.name = "floor",
|
||||
.src_neg = {true, false, false, false},
|
||||
.slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END },
|
||||
.spillless = true,
|
||||
.may_consume_two_slots = true,
|
||||
},
|
||||
[gpir_op_sign] = {
|
||||
.name = "sign",
|
||||
.src_neg = {true, false, false, false},
|
||||
.slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END },
|
||||
.spillless = true,
|
||||
.may_consume_two_slots = true,
|
||||
},
|
||||
[gpir_op_ge] = {
|
||||
.name = "ge",
|
||||
.src_neg = {true, true, false, false},
|
||||
.slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END },
|
||||
.spillless = true,
|
||||
.may_consume_two_slots = true,
|
||||
},
|
||||
[gpir_op_lt] = {
|
||||
.name = "lt",
|
||||
.src_neg = {true, true, false, false},
|
||||
.slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END },
|
||||
.spillless = true,
|
||||
.may_consume_two_slots = true,
|
||||
},
|
||||
[gpir_op_min] = {
|
||||
.name = "min",
|
||||
|
||||
Reference in New Issue
Block a user