Skip to content

Commit 52848d0

Browse files
committed
[X86[MC][test] Error for EGPR in 32-bit mode
1 parent 505523e commit 52848d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/test/MC/X86/x86_errors.s

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,6 @@ vpermil2pd $16, %xmm3, %xmm5, %xmm1, %xmm2
190190

191191
// 32: error: instruction requires: 64-bit mode
192192
pbndkb
193+
194+
// 32: error: register %r16d is only available in 64-bit mode
195+
movl %eax, %r16d

0 commit comments

Comments
 (0)