From 4a6100054c1702e08fea898d6a30050aadf36bcb Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 28 Aug 2013 17:03:22 -0700 Subject: i965: Remove never used RSR and RSL opcodes. RSR and RSL are listed in the "Defeatured Instructions" section of the 965 PRM, Volume 4: "The following instructions are removed from Gen4 implementation mainly due to implementation cost/schedule reasons. They are candidates for future generations." Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_defines.h | 2 -- src/mesa/drivers/dri/i965/brw_eu.h | 2 -- src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 -- src/mesa/drivers/dri/i965/brw_fs_cse.cpp | 2 -- 4 files changed, 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index ec6c854e906..7040a270d41 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -691,8 +691,6 @@ enum opcode { BRW_OPCODE_XOR = 7, BRW_OPCODE_SHR = 8, BRW_OPCODE_SHL = 9, - BRW_OPCODE_RSR = 10, - BRW_OPCODE_RSL = 11, BRW_OPCODE_ASR = 12, BRW_OPCODE_CMP = 16, BRW_OPCODE_CMPN = 17, diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index 387450bb025..6ac1c684d21 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -154,8 +154,6 @@ ALU2(OR) ALU2(XOR) ALU2(SHR) ALU2(SHL) -ALU2(RSR) -ALU2(RSL) ALU2(ASR) ALU1(F32TO16) ALU1(F16TO32) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index ecf8597823f..f26c9135658 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -936,8 +936,6 @@ ALU2(OR) ALU2(XOR) ALU2(SHR) ALU2(SHL) -ALU2(RSR) -ALU2(RSL) ALU2(ASR) ALU1(F32TO16) ALU1(F16TO32) diff --git a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp index e715c3767b9..ccd4e5edd1e 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp @@ -53,8 +53,6 @@ is_expression(const fs_inst *const inst) case BRW_OPCODE_XOR: case BRW_OPCODE_SHR: case BRW_OPCODE_SHL: - case BRW_OPCODE_RSR: - case BRW_OPCODE_RSL: case BRW_OPCODE_ASR: case BRW_OPCODE_ADD: case BRW_OPCODE_MUL: -- cgit v1.2.3