summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2014-07-05 19:40:35 +0000
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2014-07-05 19:40:35 +0000
commit7c35b0f004c38d7e917c7f48353cf4a8955d5e5b (patch)
tree0c1b2a65ff5c9d40fbac0eae0e4889db35030b20
parent5a63aa305d27764fecbb95e23045b8abb7ee309e (diff)
downloadbcm5719-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.s4
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]
OpenPOWER on IntegriCloud