summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2019-04-22 21:54:06 +0200
committerConnor Abbott <[email protected]>2019-07-18 14:33:23 +0200
commit12645e8714d92f40b0da9d2e70022f7444860303 (patch)
tree8b2ad009618fb5c2b1be710532ebb267b303ecbb /src/gallium/drivers/lima
parent16de3dd7a6ad4d70a41f987cf9da50d4cfa5a429 (diff)
lima/gp: Mark more add-only nodes as maybe-two-slot
Reviewed-by: Qiang Yu <[email protected]>
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",