mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	X86: Check output of x86 copysignl testcase.
This makes the changes in an upcoming patch visible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242106 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -1,5 +1,20 @@
 | 
				
			|||||||
; RUN: llc < %s -march=x86-64
 | 
					; RUN: llc < %s -march=x86-64 | FileCheck %s
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					; CHECK-LABEL: LCPI0_0:
 | 
				
			||||||
 | 
					; CHECK-NEXT: .long 4286578688
 | 
				
			||||||
 | 
					; CHECK-LABEL: LCPI0_1:
 | 
				
			||||||
 | 
					; CHECK-NEXT: .long 2139095040
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					; CHECK-LABEL: foo:
 | 
				
			||||||
 | 
					; CHECK: movq {{.*}}, %rax
 | 
				
			||||||
 | 
					; CHECK: shlq $48, %rax
 | 
				
			||||||
 | 
					; CHECK: sets %al
 | 
				
			||||||
 | 
					; CHECK: testb %al, %al
 | 
				
			||||||
 | 
					; CHECK: flds LCPI0_0(%rip)
 | 
				
			||||||
 | 
					; CHECK: flds LCPI0_1(%rip)
 | 
				
			||||||
 | 
					; CHECK: fcmovne %st(1), %st(0)
 | 
				
			||||||
 | 
					; CHECK: fstp %st(1)
 | 
				
			||||||
 | 
					; CHECK: retq
 | 
				
			||||||
define x86_fp80 @foo(x86_fp80 %a) {
 | 
					define x86_fp80 @foo(x86_fp80 %a) {
 | 
				
			||||||
  %1 = tail call x86_fp80 @copysignl(x86_fp80 0xK7FFF8000000000000000, x86_fp80 %a) nounwind readnone
 | 
					  %1 = tail call x86_fp80 @copysignl(x86_fp80 0xK7FFF8000000000000000, x86_fp80 %a) nounwind readnone
 | 
				
			||||||
  ret x86_fp80 %1
 | 
					  ret x86_fp80 %1
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user