[llvm-commits] CVS: llvm/test/CodeGen/X86/2006-07-20-InlineAsm.ll 2007-04-08-InlineAsmCrash.ll

Chris Lattner sabre at nondot.org
Fri Apr 27 22:20:46 PDT 2007



Changes in directory llvm/test/CodeGen/X86:

2006-07-20-InlineAsm.ll updated: 1.2 -> 1.3
2007-04-08-InlineAsmCrash.ll updated: 1.1 -> 1.2
---
Log message:

update for new inline asm syntax


---
Diffs of the changes:  (+3 -3)

 2006-07-20-InlineAsm.ll      |    4 ++--
 2007-04-08-InlineAsmCrash.ll |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/test/CodeGen/X86/2006-07-20-InlineAsm.ll
diff -u llvm/test/CodeGen/X86/2006-07-20-InlineAsm.ll:1.2 llvm/test/CodeGen/X86/2006-07-20-InlineAsm.ll:1.3
--- llvm/test/CodeGen/X86/2006-07-20-InlineAsm.ll:1.2	Fri Dec  1 22:23:08 2006
+++ llvm/test/CodeGen/X86/2006-07-20-InlineAsm.ll	Sat Apr 28 00:20:26 2007
@@ -9,7 +9,7 @@
 entry:
 	%X_addr = alloca int		; <int*> [#uses=3]
 	store int %X, int* %X_addr
-	call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "==m,==r,m,1,~{dirflag},~{fpsr},~{flags}"( int* %G, int* %X_addr, int* %G, int %X )
+	call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "=*m,=*r,m,1,~{dirflag},~{fpsr},~{flags}"( int* %G, int* %X_addr, int* %G, int %X )
 	%tmp1 = load int* %X_addr		; <int> [#uses=1]
 	ret int %tmp1
 }
@@ -18,7 +18,7 @@
 entry:
 	%X_addr = alloca int		; <int*> [#uses=3]
 	store int %X, int* %X_addr
-	call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "==m,==r,1,~{dirflag},~{fpsr},~{flags}"( int* %G, int* %X_addr, int %X )
+	call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "=*m,=*r,1,~{dirflag},~{fpsr},~{flags}"( int* %G, int* %X_addr, int %X )
 	%tmp1 = load int* %X_addr		; <int> [#uses=1]
 	ret int %tmp1
 }


Index: llvm/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll
diff -u llvm/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll:1.1 llvm/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll:1.2
--- llvm/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll:1.1	Sun Apr  8 17:22:53 2007
+++ llvm/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll	Sat Apr 28 00:20:26 2007
@@ -9,7 +9,7 @@
 
 define fastcc i32 @bc_divide(%struct.bc_struct* %n1, %struct.bc_struct* %n2, %struct.bc_struct** %quot, i32 %scale) {
 entry:
-	%tmp7.i46 = tail call i64 asm sideeffect ".byte 0x0f,0x31", "={dx},=={ax},~{dirflag},~{fpsr},~{flags}"( i64* getelementptr (%struct.CycleCount* @_programStartTime, i32 0, i32 1) )		; <i64> [#uses=0]
+	%tmp7.i46 = tail call i64 asm sideeffect ".byte 0x0f,0x31", "={dx},=*{ax},~{dirflag},~{fpsr},~{flags}"( i64* getelementptr (%struct.CycleCount* @_programStartTime, i32 0, i32 1) )		; <i64> [#uses=0]
 	%tmp221 = sdiv i32 10, 0		; <i32> [#uses=1]
 	tail call fastcc void @_one_mult( i8* null, i32 0, i32 %tmp221, i8* null )
 	ret i32 0






More information about the llvm-commits mailing list