[PATCH] D78977: [X86] Add x, t and g modifiers for inline asm

Amanieu d'Antras via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 23:57:27 PDT 2020


Amanieu added a comment.

They are not mentioned in the GCC documentation, but are documented in this <https://github.com/gcc-mirror/gcc/blob/f5edc76acac7bbadd8d1b00c4cc5994b2a088542/gcc/config/i386/i386.c#L12310> comment in the GCC code:

  If CODE is 'x', pretend the mode is V4SFmode.
  If CODE is 't', pretend the mode is V8SFmode.
  If CODE is 'g', pretend the mode is V16SFmode.

We need these modifiers for the new inline assembly support <https://github.com/Amanieu/rfcs/blob/inline-asm/text/0000-inline-asm.md#template-modifiers> in Rust.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78977





More information about the llvm-commits mailing list