https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122446

--- Comment #3 from Hu Lin <lin1.hu at intel dot com> ---
I need to add c before [, like
#define _tile_int8_dp_internal(name,dst,src1,src2)                             
        \
 39   __asm__ volatile                                                      \
 40   ("{"#name"\t%%tmm%c[_src2], %%tmm%c[_src1],
%%tmm%c[_dst]|"#name"\t%%tmm%c[_dst], %%tmm%c[_src1], %%tmm%c[_src2]}"
::[_dst]"i"(dst),[_src1]"i"(src1),[_src2]"i"(src2))

The output like
tdpbssd %tmm2, %tmm1, %tmm0

And I will modify all macros about AMX.

Reply via email to