[PATCH] D42824: [X86] Remove checks for FeatureAVX512 from the X86 assembly parser. Remove mcpu/mattr from assembly test command lines.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 15:41:35 PST 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, echristo, bkramer.

We should always be able to accept AVX512 registers and instructions in llvm-mc. The only subtarget mode that should be checked is 16-bit vs 32-bit vs 64-bit mode.

I've also removed all the mattr/mcpu lines from test RUN lines to be consistent with this. Most were due to AVX512, but a few were for other features.


https://reviews.llvm.org/D42824

Files:
  lib/Target/X86/AsmParser/X86AsmParser.cpp
  test/MC/X86/AVX512F_512-32.s
  test/MC/X86/AVX512F_512-64.s
  test/MC/X86/X86_64-pku.s
  test/MC/X86/avx512-encodings.s
  test/MC/X86/avx512-err.s
  test/MC/X86/avx512bitalg-encoding.s
  test/MC/X86/avx512bw-encoding.s
  test/MC/X86/avx512gfni-encoding.s
  test/MC/X86/avx512ifma-encoding.s
  test/MC/X86/avx512ifmavl-encoding.s
  test/MC/X86/avx512vaes-encoding.s
  test/MC/X86/avx512vbmi-encoding.s
  test/MC/X86/avx512vbmi2-encoding.s
  test/MC/X86/avx512vbmi2vl-encoding.s
  test/MC/X86/avx512vl-encoding.s
  test/MC/X86/avx512vl_bitalg-encoding.s
  test/MC/X86/avx512vl_gfni-encoding.s
  test/MC/X86/avx512vl_vaes-encoding.s
  test/MC/X86/avx512vl_vnni-encoding.s
  test/MC/X86/avx512vlvpclmul.s
  test/MC/X86/avx512vnni-encoding.s
  test/MC/X86/avx512vpclmul.s
  test/MC/X86/avx_vaes-encoding.s
  test/MC/X86/cet-encoding.s
  test/MC/X86/gather.s
  test/MC/X86/gfni-encoding.s
  test/MC/X86/intel-syntax-avx512-error.s
  test/MC/X86/intel-syntax-avx512.s
  test/MC/X86/intel-syntax-unsized-memory.s
  test/MC/X86/intel-syntax-x86-64-avx512f_vl.s
  test/MC/X86/intel-syntax-x86-avx512dq_vl.s
  test/MC/X86/intel-syntax-x86-avx512vbmi_vl.s
  test/MC/X86/mpx-encodings.s
  test/MC/X86/vpclmulqdq.s
  test/MC/X86/x86-64-avx512bw.s
  test/MC/X86/x86-64-avx512bw_vl.s
  test/MC/X86/x86-64-avx512cd.s
  test/MC/X86/x86-64-avx512cd_vl.s
  test/MC/X86/x86-64-avx512dq.s
  test/MC/X86/x86-64-avx512dq_vl.s
  test/MC/X86/x86-64-avx512f_vl.s
  test/MC/X86/x86-64-avx512vpopcntdq.s
  test/MC/X86/x86_errors.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42824.132491.patch
Type: text/x-patch
Size: 31574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180201/81ac0bf9/attachment.bin>


More information about the llvm-commits mailing list