[PowerPC] PR16512 - Support TLS call sequences in the asm parser
[oota-llvm.git] / test / MC / X86 / x86_errors.s
index e0a2c676d3df0785270b4be2b710828dabcadabf..a974233d2f49d225e0647de0cd105fd79be4e7a2 100644 (file)
@@ -15,3 +15,19 @@ addl $0, 0(%rax)
 
 # 8 "test.s"
  movi $8,%eax
+
+movl 0(%rax), 0(%edx)  // error: invalid operand for instruction
+
+// 32: error: instruction requires: 64-bit mode
+sysexitq
+
+// rdar://10710167
+// 64: error: expected scale expression
+lea (%rsp, %rbp, $4), %rax
+
+// rdar://10423777
+// 64: error: index register is 32-bit, but base register is 64-bit
+movq (%rsi,%ecx),%xmm0
+
+// 32: error: invalid operand for instruction
+outb al, 4