diff options
author | Matt Turner <[email protected]> | 2017-06-14 14:49:31 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-10-20 15:00:17 -0700 |
commit | 3b2c868848c12ea772ac818c0833850a2940eb7e (patch) | |
tree | e36f9be20a8ea516569c2794383ed9e2bee1d2f2 /src/intel/compiler/brw_disasm.c | |
parent | 281e8b8f278ef23f24b331e03c751fa8d1c5f7c2 (diff) |
i965: Add align1 ternary instruction support to conversion functions
Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_disasm.c')
-rw-r--r-- | src/intel/compiler/brw_disasm.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c index e91961028e7..ef7f623ceb0 100644 --- a/src/intel/compiler/brw_disasm.c +++ b/src/intel/compiler/brw_disasm.c @@ -764,9 +764,7 @@ dest_3src(FILE *file, const struct gen_device_info *devinfo, const brw_inst *ins { int err = 0; uint32_t reg_file; - enum brw_reg_type type = - brw_hw_3src_type_to_reg_type(devinfo, - brw_inst_3src_a16_dst_hw_type(devinfo, inst)); + enum brw_reg_type type = brw_inst_3src_a16_dst_type(devinfo, inst); unsigned dst_subreg_nr = brw_inst_3src_a16_dst_subreg_nr(devinfo, inst) * 4 / brw_reg_type_to_size(type); @@ -934,9 +932,7 @@ static int src0_3src(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) { int err = 0; - enum brw_reg_type type = - brw_hw_3src_type_to_reg_type(devinfo, - brw_inst_3src_a16_src_hw_type(devinfo, inst)); + enum brw_reg_type type = brw_inst_3src_a16_src_type(devinfo, inst); unsigned src0_subreg_nr = brw_inst_3src_a16_src0_subreg_nr(devinfo, inst) * 4 / brw_reg_type_to_size(type); @@ -966,9 +962,7 @@ static int src1_3src(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) { int err = 0; - enum brw_reg_type type = - brw_hw_3src_type_to_reg_type(devinfo, - brw_inst_3src_a16_src_hw_type(devinfo, inst)); + enum brw_reg_type type = brw_inst_3src_a16_src_type(devinfo, inst); unsigned src1_subreg_nr = brw_inst_3src_a16_src1_subreg_nr(devinfo, inst) * 4 / brw_reg_type_to_size(type); @@ -999,9 +993,7 @@ static int src2_3src(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) { int err = 0; - enum brw_reg_type type = - brw_hw_3src_type_to_reg_type(devinfo, - brw_inst_3src_a16_src_hw_type(devinfo, inst)); + enum brw_reg_type type = brw_inst_3src_a16_src_type(devinfo, inst); unsigned src2_subreg_nr = brw_inst_3src_a16_src2_subreg_nr(devinfo, inst) * 4 / brw_reg_type_to_size(type); |