[X86] Add proper 64-bit mode checks to jrcxz and jcxz.
[oota-llvm.git] / test / MC / X86 / x86_errors.s
index fa87ef676f3e54091dcd1fbac789c4c9d7812298..4a5bd977d9ff902fd8452f8fa67bb7c98e5845d2 100644 (file)
@@ -58,3 +58,9 @@ cmpps $-129, %xmm0, %xmm0
 // 32: error: invalid operand for instruction
 // 64: error: invalid operand for instruction
 cmppd $256, %xmm0, %xmm0
+
+// 32: error: instruction requires: 64-bit mode
+jrcxz 1
+
+// 64: error: instruction requires: Not 64-bit mode
+jcxz 1