[X86] AVX512: Only allow k1-k7 as predicates to vpcmp*
authorAdam Nemet <anemet@apple.com>
Tue, 8 Jul 2014 00:22:32 +0000 (00:22 +0000)
committerAdam Nemet <anemet@apple.com>
Tue, 8 Jul 2014 00:22:32 +0000 (00:22 +0000)
commitf189d9cdf72d6adc2fa515084cf14a33db42721c
treee131b24863b5348d2c032450ac471860088373f2
parent46425228a6d024ac7e6c16518f89bb3637aad6cb
[X86] AVX512: Only allow k1-k7 as predicates to vpcmp*

As destination k0 is allowed but not as predicate/writemask.

I also modified the test to allow checking of error messages by the assembler.
I applied a similar approach to the test ret.s in the same directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212504 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
test/MC/X86/avx512-encodings.s