[Bug inline-asm/79880] Gcc refuses to encode vpgatherdd instruction (x86-64)

kobalicek.petr at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 6 11:26:00 GMT 2017


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

--- Comment #4 from Petr <kobalicek.petr at gmail dot com> ---
In this case, DWORD PTR is redundant, nasm and yasm is fine with the syntax I
posted as well. 

It's a simplified test just to show that it won't pass.

Try:

  __asm(".intel_syntax\n"
      "vpgatherdd xmm4, dword ptr [r13 + xmm3], xmm4\n"
      ".att_syntax\n");

I will end up reporting the same error.


More information about the Gcc-bugs mailing list