diff --git a/src/intel/compiler/brw/brw_eu_inst.h b/src/intel/compiler/brw/brw_eu_inst.h index 2418a3e96c5..052a6fe1b78 100644 --- a/src/intel/compiler/brw/brw_eu_inst.h +++ b/src/intel/compiler/brw/brw_eu_inst.h @@ -421,7 +421,6 @@ F(3src_debug_control, /* 9+ */ 30, 30, /* 12+ */ 30, 30) F(3src_cmpt_control, /* 9+ */ 29, 29, /* 12+ */ 29, 29) FC(3src_acc_wr_control, /* 9+ */ 28, 28, /* 12+ */ 33, 33, devinfo->ver < 20) F(3src_cond_modifier, /* 9+ */ 27, 24, /* 12+ */ 95, 92) -F(3src_exec_size, /* 9+ */ 23, 21, /* 12+ */ 18, 16) F(3src_pred_inv, /* 9+ */ 20, 20, /* 12+ */ 28, 28) F20(3src_pred_control, /* 9+ */ 19, 16, /* 12+ */ 27, 24, /* 20+ */ 27, 26) F(3src_thread_control, /* 9+ */ 15, 14, /* 12+ */ -1, -1) diff --git a/src/intel/compiler/brw/test_eu_validate.cpp b/src/intel/compiler/brw/test_eu_validate.cpp index 8c83b373de4..547137d3e0c 100644 --- a/src/intel/compiler/brw/test_eu_validate.cpp +++ b/src/intel/compiler/brw/test_eu_validate.cpp @@ -3871,11 +3871,7 @@ TEST_P(validation_test, bfloat_restrictions) UNREACHABLE("unexpected opcode in tests"); } - if (tests[i].opcode == BRW_OPCODE_MAD) { - brw_eu_inst_set_3src_exec_size(&devinfo, last_inst, cvt(t.exec_size) - 1); - } else { - brw_eu_inst_set_exec_size(&devinfo, last_inst, cvt(t.exec_size) - 1); - } + brw_eu_inst_set_exec_size(&devinfo, last_inst, cvt(t.exec_size) - 1); /* TODO: Expand this test logic to check validation error to other * tests.