[llvm] r212375 - Add a test case for the tilde operator in Microsoft inline assembly

Ehsan Akhgari ehsan.akhgari at gmail.com
Sat Jul 5 12:40:35 PDT 2014


Author: ehsan
Date: Sat Jul  5 14:40:35 2014
New Revision: 212375

URL: http://llvm.org/viewvc/llvm-project?rev=212375&view=rev
Log:
Add a test case for the tilde operator in Microsoft inline assembly

Modified:
    llvm/trunk/test/MC/X86/x86-32-ms-inline-asm.s

Modified: llvm/trunk/test/MC/X86/x86-32-ms-inline-asm.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/x86-32-ms-inline-asm.s?rev=212375&r1=212374&r2=212375&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/x86-32-ms-inline-asm.s (original)
+++ llvm/trunk/test/MC/X86/x86-32-ms-inline-asm.s Sat Jul  5 14:40:35 2014
@@ -73,6 +73,10 @@ _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]





More information about the llvm-commits mailing list