From: Matt Turner Date: Tue, 1 Aug 2017 02:13:15 +0000 (-0700) Subject: i965: Remove CONT/BREAK from instruction compaction test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56a676eed289bdea928b56e7533023f775468bb2;p=mesa.git i965: Remove CONT/BREAK from instruction compaction test These cannot be compacted. A similar mistake was fixed in commit 90eaf01616a8 Reviewed-by: Scott D Phillips --- diff --git a/src/intel/compiler/test_eu_compact.cpp b/src/intel/compiler/test_eu_compact.cpp index 668a972bfa6..1532e3b9840 100644 --- a/src/intel/compiler/test_eu_compact.cpp +++ b/src/intel/compiler/test_eu_compact.cpp @@ -68,8 +68,6 @@ clear_pad_bits(const struct gen_device_info *devinfo, brw_inst *inst) { if (brw_inst_opcode(devinfo, inst) != BRW_OPCODE_SEND && brw_inst_opcode(devinfo, inst) != BRW_OPCODE_SENDC && - brw_inst_opcode(devinfo, inst) != BRW_OPCODE_BREAK && - brw_inst_opcode(devinfo, inst) != BRW_OPCODE_CONTINUE && brw_inst_src0_reg_file(devinfo, inst) != BRW_IMMEDIATE_VALUE && brw_inst_src1_reg_file(devinfo, inst) != BRW_IMMEDIATE_VALUE) { brw_inst_set_bits(inst, 127, 111, 0); @@ -133,8 +131,6 @@ skip_bit(const struct gen_device_info *devinfo, brw_inst *src, int bit) /* sometimes these are pad bits. */ if (brw_inst_opcode(devinfo, src) != BRW_OPCODE_SEND && brw_inst_opcode(devinfo, src) != BRW_OPCODE_SENDC && - brw_inst_opcode(devinfo, src) != BRW_OPCODE_BREAK && - brw_inst_opcode(devinfo, src) != BRW_OPCODE_CONTINUE && brw_inst_src0_reg_file(devinfo, src) != BRW_IMMEDIATE_VALUE && brw_inst_src1_reg_file(devinfo, src) != BRW_IMMEDIATE_VALUE && bit >= 121) {