From 1ca7c65b4caa0558b6fc37120ea1b926fda434ba Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Sat, 5 Jul 2014 19:40:35 +0000 Subject: [PATCH] Add a test case for the tilde operator in Microsoft inline assembly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212375 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/X86/x86-32-ms-inline-asm.s | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/MC/X86/x86-32-ms-inline-asm.s b/test/MC/X86/x86-32-ms-inline-asm.s index d912915c585..c41c90426c9 100644 --- a/test/MC/X86/x86-32-ms-inline-asm.s +++ b/test/MC/X86/x86-32-ms-inline-asm.s @@ -73,6 +73,10 @@ _t21: ## @t21 // CHECK: movl 16(%esi,%eax,2), %eax // CHECK: # encoding: [0x8b,0x44,0x46,0x10] + mov eax, ~15 +// CHECK: movl ~15, %eax +// CHECK: # encoding: [0xa1,A,A,A,A] + prefetchnta 64[eax] // CHECK: prefetchnta 64(%eax) // CHECK: # encoding: [0x0f,0x18,0x40,0x40] -- 2.34.1