summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/lima')
-rw-r--r--src/gallium/drivers/lima/ir/gp/node.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/ir/gp/node.c b/src/gallium/drivers/lima/ir/gp/node.c
index e6287db713d..eda6ae7ed6f 100644
--- a/src/gallium/drivers/lima/ir/gp/node.c
+++ b/src/gallium/drivers/lima/ir/gp/node.c
@@ -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",