From ecfe9e2ad2b5f178ef09420f8d95d49937137cd9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 12 Nov 2014 14:36:19 -0800 Subject: gallium: Drop the unused SFL/STR opcodes. Nothing generated them. Reviewed-by: Jose Fonseca --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gallium/drivers/nouveau/codegen') diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp index 41b91e890b8..aa7390bc0ec 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp @@ -492,9 +492,6 @@ nv50_ir::CondCode Instruction::getSetCond() const return CC_NEU; case TGSI_OPCODE_USNE: return CC_NE; - case TGSI_OPCODE_SFL: - return CC_NEVER; - case TGSI_OPCODE_STR: default: return CC_ALWAYS; } @@ -537,7 +534,6 @@ static nv50_ir::operation translateOpcode(uint opcode) NV50_IR_OPCODE_CASE(KILL, DISCARD); NV50_IR_OPCODE_CASE(SEQ, SET); - NV50_IR_OPCODE_CASE(SFL, SET); NV50_IR_OPCODE_CASE(SGT, SET); NV50_IR_OPCODE_CASE(SIN, SIN); NV50_IR_OPCODE_CASE(SLE, SET); @@ -2533,11 +2529,9 @@ Converter::handleInstruction(const struct tgsi_full_instruction *insn) case TGSI_OPCODE_SLT: case TGSI_OPCODE_SGE: case TGSI_OPCODE_SEQ: - case TGSI_OPCODE_SFL: case TGSI_OPCODE_SGT: case TGSI_OPCODE_SLE: case TGSI_OPCODE_SNE: - case TGSI_OPCODE_STR: case TGSI_OPCODE_FSEQ: case TGSI_OPCODE_FSGE: case TGSI_OPCODE_FSLT: -- cgit v1.2.3