[PATCH] D135941: [X86] Support AMX-FP16

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 01:43:40 PDT 2022


xiangzhangllvm added inline comments.


================
Comment at: clang/include/clang/Driver/Options.td:4526
 def mno_amx_bf16 : Flag<["-"], "mno-amx-bf16">, Group<m_x86_Features_Group>;
 def mtamx_int8 : Flag<["-"], "mamx-int8">, Group<m_x86_Features_Group>;
 def mno_amx_int8 : Flag<["-"], "mno-amx-int8">, Group<m_x86_Features_Group>;
----------------
pengfei wrote:
> This seems a typo?
I think so, should fix in another patch.


================
Comment at: clang/include/clang/Driver/Options.td:4530-4531
 def mno_amx_tile : Flag<["-"], "mno-amx-tile">, Group<m_x86_Features_Group>;
+def mamx_fp16 : Flag<["-"], "mamx-fp16">, Group<m_x86_Features_Group>;
+def mno_amx_fp16 : Flag<["-"], "mno-amx-fp16">, Group<m_x86_Features_Group>;
 def msse : Flag<["-"], "msse">, Group<m_x86_Features_Group>;
----------------
pengfei wrote:
> Better to move them below amx_bf16 for ordering.
let me reorder it when commit. thanks!


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135941/new/

https://reviews.llvm.org/D135941



More information about the llvm-commits mailing list