diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2014-07-05 19:40:35 +0000 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2014-07-05 19:40:35 +0000 |
commit | 7c35b0f004c38d7e917c7f48353cf4a8955d5e5b (patch) | |
tree | 0c1b2a65ff5c9d40fbac0eae0e4889db35030b20 | |
parent | 5a63aa305d27764fecbb95e23045b8abb7ee309e (diff) | |
download | bcm5719-llvm-7c35b0f004c38d7e917c7f48353cf4a8955d5e5b.tar.gz bcm5719-llvm-7c35b0f004c38d7e917c7f48353cf4a8955d5e5b.zip |
Add a test case for the tilde operator in Microsoft inline assembly
llvm-svn: 212375
-rw-r--r-- | llvm/test/MC/X86/x86-32-ms-inline-asm.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/x86-32-ms-inline-asm.s b/llvm/test/MC/X86/x86-32-ms-inline-asm.s index d912915c585..c41c90426c9 100644 --- a/llvm/test/MC/X86/x86-32-ms-inline-asm.s +++ b/llvm/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] |