summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/X86/x86_errors.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/x86_errors.s b/llvm/test/MC/X86/x86_errors.s
index 4a5bd977d9f..3eaf4036605 100644
--- a/llvm/test/MC/X86/x86_errors.s
+++ b/llvm/test/MC/X86/x86_errors.s
@@ -11,6 +11,10 @@ cmp $0, 0(%eax)
// 32: error: register %rax is only available in 64-bit mode
addl $0, 0(%rax)
+// 32: error: register %xmm16 is only available in 64-bit mode
+// 64: error: register %xmm16 is only available with AVX512
+vaddps %xmm16, %xmm0, %xmm0
+
// 32: test.s:8:2: error: invalid instruction mnemonic 'movi'
# 8 "test.s"
OpenPOWER on IntegriCloud