brw: Add EU assembler support for bfloat16

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33664>
This commit is contained in:
Caio Oliveira 2024-09-07 09:41:01 -07:00 committed by Marge Bot
parent e37b707bd0
commit 6cec413a78
2 changed files with 3 additions and 0 deletions

View file

@ -356,6 +356,7 @@ i965_asm_set_instruction_options(struct brw_codegen *p,
%token <integer> TYPE_Q TYPE_UQ
%token <integer> TYPE_V TYPE_UV
%token <integer> TYPE_F TYPE_HF
%token <integer> TYPE_BF
%token <integer> TYPE_DF
%token <integer> TYPE_VF
@ -1883,6 +1884,7 @@ reg_type:
| TYPE_UQ { $$ = BRW_TYPE_UQ; }
| TYPE_Q { $$ = BRW_TYPE_Q; }
| TYPE_HF { $$ = BRW_TYPE_HF; }
| TYPE_BF { $$ = BRW_TYPE_BF; }
;
imm_type:

View file

@ -300,6 +300,7 @@ BranchCtrl { return BRANCH_CTRL; }
/* data types */
:?B { return TYPE_B; }
:?BF { return TYPE_BF; }
:?D { return TYPE_D; }
:?DF { return TYPE_DF; }
:?F { return TYPE_F; }