This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

            Bug ID: 79880
           Summary: Gcc refuses to encode vpgatherdd instruction (x86-64)
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kobalicek.petr at gmail dot com
  Target Milestone: ---

I'm unable to encode `vpgatherdd xmm, mem, xmm` instruction in inline asm:

void test() {
  __asm(".intel_syntax\n"
      "vpgatherdd xmm4, [r13 + xmm3], xmm4\n"
      ".att_syntax\n");
}

It seems that ICC refuses this construct as well while clang is fine with that.
I'm not sure if it's bug or this form of the instruction is incorrect. But
according to X86 Architecture Reference Manual it's encodable.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]