From: Connor Abbott Date: Mon, 22 Apr 2019 19:54:06 +0000 (+0200) Subject: lima/gp: Mark more add-only nodes as maybe-two-slot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12645e8714d92f40b0da9d2e70022f7444860303;p=mesa.git lima/gp: Mark more add-only nodes as maybe-two-slot Reviewed-by: Qiang Yu --- 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",