[PATCH] D25013: [x86][inline-asm][avx512] allow swapping of '{k<num>}' & '{z}' marks

coby via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 04:00:26 PDT 2016


coby created this revision.
coby added reviewers: delena, myatsina.
coby added a subscriber: llvm-commits.
coby set the repository for this revision to rL LLVM.

Desc:

AVX512 allows dest operand to be followed by an op-mask register specifier ('{k<num>}', which in turn may be followed by a merging/zeroing specifier ('{z}')
Currently, the following forms are allowed:
{k<num>}
{k<num>}{z}

This patch allows the following forms:
{z}{k<num>}

and ignores the next form:
{z}

Justification would be quite a simple - GCC

Repository:
  rL LLVM

https://reviews.llvm.org/D25013

Files:
  lib/Target/X86/AsmParser/X86AsmParser.cpp
  test/MC/X86/avx512bw-encoding.s
  test/MC/X86/intel-syntax-avx512.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25013.72794.patch
Type: text/x-patch
Size: 5580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160928/b6172ab2/attachment.bin>


More information about the llvm-commits mailing list