<div dir="ltr">Acked-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 12, 2019 at 11:52 AM Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The original SrcType is a 3-bit field that takes a subset of the types<br>
supported for the hardware for 3-source instructions. Since gen8,<br>
when the half-float type was added, 3-source floating point operations<br>
can use use mixed precision mode, where not all the operands have the<br>
same floating-point precision. While the precision for the first operand<br>
is taken from the type in SrcType, the bits in Src1Type (bit 36) and<br>
Src2Type (bit 35) define the precision for the other operands<br>
(0: normal precision, 1: half precision).<br>
<br>
Reviewed-by: Topi Pohjolainen <<a href="mailto:topi.pohjolainen@intel.com" target="_blank">topi.pohjolainen@intel.com</a>><br>
Reviewed-by: Matt Turner <<a href="mailto:mattst88@gmail.com" target="_blank">mattst88@gmail.com</a>><br>
---<br>
 src/intel/compiler/brw_inst.h | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/src/intel/compiler/brw_inst.h b/src/intel/compiler/brw_inst.h<br>
index 71316f12215..1f55d45125d 100644<br>
--- a/src/intel/compiler/brw_inst.h<br>
+++ b/src/intel/compiler/brw_inst.h<br>
@@ -222,6 +222,8 @@ F8(3src_src1_negate,        39, 39, 40, 40)<br>
 F8(3src_src1_abs,           38, 38, 39, 39)<br>
 F8(3src_src0_negate,        37, 37, 38, 38)<br>
 F8(3src_src0_abs,           36, 36, 37, 37)<br>
+F8(3src_a16_src1_type,      -1, -1, 36, 36)<br>
+F8(3src_a16_src2_type,      -1, -1, 35, 35)<br>
 F8(3src_a16_flag_reg_nr,    34, 34, 33, 33)<br>
 F8(3src_a16_flag_subreg_nr, 33, 33, 32, 32)<br>
 FF(3src_a16_dst_reg_file,<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a></blockquote></div>