[llvm] 4ecd638 - [X86] fp128-cast.ll - replace X32 checks with X86. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 05:39:16 PST 2024
Author: Simon Pilgrim
Date: 2024-01-05T13:38:44Z
New Revision: 4ecd6384af60ea6eb322fc7d3992b31915ec2a5a
URL: https://github.com/llvm/llvm-project/commit/4ecd6384af60ea6eb322fc7d3992b31915ec2a5a
DIFF: https://github.com/llvm/llvm-project/commit/4ecd6384af60ea6eb322fc7d3992b31915ec2a5a.diff
LOG: [X86] fp128-cast.ll - replace X32 checks with X86. NFC.
We try to use X32 for gnux32 triples only.
Added:
Modified:
llvm/test/CodeGen/X86/fp128-cast.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/fp128-cast.ll b/llvm/test/CodeGen/X86/fp128-cast.ll
index b39533c0ee21c2..b77b8f00e44ce5 100644
--- a/llvm/test/CodeGen/X86/fp128-cast.ll
+++ b/llvm/test/CodeGen/X86/fp128-cast.ll
@@ -1,7 +1,7 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -O2 -mtriple=x86_64-linux-android -mattr=+sse | FileCheck %s --check-prefix=X64-SSE
; RUN: llc < %s -O2 -mtriple=x86_64-linux-gnu -mattr=+sse | FileCheck %s --check-prefix=X64-SSE
-; RUN: llc < %s -O2 -mtriple=i686-linux-gnu -mattr=+mmx | FileCheck %s --check-prefix=X32
+; RUN: llc < %s -O2 -mtriple=i686-linux-gnu -mattr=+mmx | FileCheck %s --check-prefix=X86
; RUN: llc < %s -O2 -mtriple=x86_64-linux-android -mattr=+avx | FileCheck %s --check-prefix=X64-AVX
; RUN: llc < %s -O2 -mtriple=x86_64-linux-gnu -mattr=+avx | FileCheck %s --check-prefix=X64-AVX
; RUN: llc < %s -O2 -mtriple=x86_64-linux-android -mattr=+avx512f | FileCheck %s --check-prefix=X64-AVX
@@ -31,27 +31,27 @@ define dso_local void @TestFPExtF32_F128() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPExtF32_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $40, %esp
-; X32-NEXT: flds vf32
-; X32-NEXT: fstps {{[0-9]+}}(%esp)
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl %eax, (%esp)
-; X32-NEXT: calll __extendsftf2
-; X32-NEXT: subl $4, %esp
-; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $40, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestFPExtF32_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $40, %esp
+; X86-NEXT: flds vf32
+; X86-NEXT: fstps {{[0-9]+}}(%esp)
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl %eax, (%esp)
+; X86-NEXT: calll __extendsftf2
+; X86-NEXT: subl $4, %esp
+; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $40, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPExtF32_F128:
; X64-AVX: # %bb.0: # %entry
@@ -78,27 +78,27 @@ define dso_local void @TestFPExtF64_F128() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPExtF64_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $40, %esp
-; X32-NEXT: fldl vf64
-; X32-NEXT: fstpl {{[0-9]+}}(%esp)
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl %eax, (%esp)
-; X32-NEXT: calll __extenddftf2
-; X32-NEXT: subl $4, %esp
-; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $40, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestFPExtF64_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $40, %esp
+; X86-NEXT: fldl vf64
+; X86-NEXT: fstpl {{[0-9]+}}(%esp)
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl %eax, (%esp)
+; X86-NEXT: calll __extenddftf2
+; X86-NEXT: subl $4, %esp
+; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $40, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPExtF64_F128:
; X64-AVX: # %bb.0: # %entry
@@ -126,27 +126,27 @@ define dso_local void @TestFPExtF80_F128() nounwind {
; X64-SSE-NEXT: addq $24, %rsp
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPExtF80_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $40, %esp
-; X32-NEXT: fldt vf80
-; X32-NEXT: fstpt {{[0-9]+}}(%esp)
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl %eax, (%esp)
-; X32-NEXT: calll __extendxftf2
-; X32-NEXT: subl $4, %esp
-; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $40, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestFPExtF80_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $40, %esp
+; X86-NEXT: fldt vf80
+; X86-NEXT: fstpt {{[0-9]+}}(%esp)
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl %eax, (%esp)
+; X86-NEXT: calll __extendxftf2
+; X86-NEXT: subl $4, %esp
+; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $40, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPExtF80_F128:
; X64-AVX: # %bb.0: # %entry
@@ -174,18 +174,18 @@ define dso_local void @TestFPToSIF128_I16() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPToSIF128_I16:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: calll __fixtfsi
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: movw %ax, vi16
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestFPToSIF128_I16:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: calll __fixtfsi
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: movw %ax, vi16
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPToSIF128_I16:
; X64-AVX: # %bb.0: # %entry
@@ -212,18 +212,18 @@ define dso_local void @TestFPToUIF128_I16() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPToUIF128_I16:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: calll __fixunstfsi
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: movw %ax, vi16
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestFPToUIF128_I16:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: calll __fixunstfsi
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: movw %ax, vi16
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPToUIF128_I16:
; X64-AVX: # %bb.0: # %entry
@@ -250,18 +250,18 @@ define dso_local void @TestFPToSIF128_I32() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPToSIF128_I32:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: calll __fixtfsi
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: movl %eax, vi32
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestFPToSIF128_I32:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: calll __fixtfsi
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: movl %eax, vi32
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPToSIF128_I32:
; X64-AVX: # %bb.0: # %entry
@@ -288,18 +288,18 @@ define dso_local void @TestFPToUIF128_U32() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPToUIF128_U32:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: calll __fixunstfsi
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: movl %eax, vu32
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestFPToUIF128_U32:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: calll __fixunstfsi
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: movl %eax, vu32
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPToUIF128_U32:
; X64-AVX: # %bb.0: # %entry
@@ -327,20 +327,20 @@ define dso_local void @TestFPToSIF128_I64() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPToSIF128_I64:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: calll __fixtfsi
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: movl %eax, vi64
-; X32-NEXT: sarl $31, %eax
-; X32-NEXT: movl %eax, vi64+4
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestFPToSIF128_I64:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: calll __fixtfsi
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: movl %eax, vi64
+; X86-NEXT: sarl $31, %eax
+; X86-NEXT: movl %eax, vi64+4
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPToSIF128_I64:
; X64-AVX: # %bb.0: # %entry
@@ -370,19 +370,19 @@ define dso_local void @TestFPToUIF128_U64() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPToUIF128_U64:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: calll __fixunstfsi
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: movl %eax, vu64
-; X32-NEXT: movl $0, vu64+4
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestFPToUIF128_U64:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: calll __fixunstfsi
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: movl %eax, vu64
+; X86-NEXT: movl $0, vu64+4
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPToUIF128_U64:
; X64-AVX: # %bb.0: # %entry
@@ -412,29 +412,29 @@ define dso_local void @TestFPToSIF128_I128() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPToSIF128_I128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $36, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: pushl %eax
-; X32-NEXT: calll __fixtfti
-; X32-NEXT: addl $28, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vi128+12
-; X32-NEXT: movl %edx, vi128+8
-; X32-NEXT: movl %ecx, vi128+4
-; X32-NEXT: movl %eax, vi128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestFPToSIF128_I128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $36, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: pushl %eax
+; X86-NEXT: calll __fixtfti
+; X86-NEXT: addl $28, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vi128+12
+; X86-NEXT: movl %edx, vi128+8
+; X86-NEXT: movl %ecx, vi128+4
+; X86-NEXT: movl %eax, vi128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPToSIF128_I128:
; X64-AVX: # %bb.0: # %entry
@@ -463,29 +463,29 @@ define dso_local void @TestFPToUIF128_U128() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPToUIF128_U128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $36, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: pushl %eax
-; X32-NEXT: calll __fixunstfti
-; X32-NEXT: addl $28, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vu128+12
-; X32-NEXT: movl %edx, vu128+8
-; X32-NEXT: movl %ecx, vu128+4
-; X32-NEXT: movl %eax, vu128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestFPToUIF128_U128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $36, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: pushl %eax
+; X86-NEXT: calll __fixunstfti
+; X86-NEXT: addl $28, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vu128+12
+; X86-NEXT: movl %edx, vu128+8
+; X86-NEXT: movl %ecx, vu128+4
+; X86-NEXT: movl %eax, vu128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPToUIF128_U128:
; X64-AVX: # %bb.0: # %entry
@@ -513,18 +513,18 @@ define dso_local void @TestFPTruncF128_F32() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPTruncF128_F32:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: calll __trunctfsf2
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: fstps vf32
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestFPTruncF128_F32:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: calll __trunctfsf2
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: fstps vf32
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPTruncF128_F32:
; X64-AVX: # %bb.0: # %entry
@@ -551,18 +551,18 @@ define dso_local void @TestFPTruncF128_F64() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPTruncF128_F64:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: calll __trunctfdf2
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: fstpl vf64
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestFPTruncF128_F64:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: calll __trunctfdf2
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: fstpl vf64
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPTruncF128_F64:
; X64-AVX: # %bb.0: # %entry
@@ -589,18 +589,18 @@ define dso_local void @TestFPTruncF128_F80() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestFPTruncF128_F80:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl vf128+12
-; X32-NEXT: pushl vf128+8
-; X32-NEXT: pushl vf128+4
-; X32-NEXT: pushl vf128
-; X32-NEXT: calll __trunctfxf2
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: fstpt vf80
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestFPTruncF128_F80:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl vf128+12
+; X86-NEXT: pushl vf128+8
+; X86-NEXT: pushl vf128+4
+; X86-NEXT: pushl vf128
+; X86-NEXT: calll __trunctfxf2
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: fstpt vf80
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestFPTruncF128_F80:
; X64-AVX: # %bb.0: # %entry
@@ -627,28 +627,28 @@ define dso_local void @TestSIToFPI16_F128() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestSIToFPI16_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $24, %esp
-; X32-NEXT: movswl vi16, %eax
-; X32-NEXT: subl $8, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: pushl %eax
-; X32-NEXT: pushl %ecx
-; X32-NEXT: calll __floatsitf
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestSIToFPI16_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $24, %esp
+; X86-NEXT: movswl vi16, %eax
+; X86-NEXT: subl $8, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: pushl %eax
+; X86-NEXT: pushl %ecx
+; X86-NEXT: calll __floatsitf
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestSIToFPI16_F128:
; X64-AVX: # %bb.0: # %entry
@@ -675,28 +675,28 @@ define dso_local void @TestSIToFPU16_F128() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestSIToFPU16_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $24, %esp
-; X32-NEXT: movzwl vi16, %eax
-; X32-NEXT: subl $8, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: pushl %eax
-; X32-NEXT: pushl %ecx
-; X32-NEXT: calll __floatunsitf
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestSIToFPU16_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $24, %esp
+; X86-NEXT: movzwl vi16, %eax
+; X86-NEXT: subl $8, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: pushl %eax
+; X86-NEXT: pushl %ecx
+; X86-NEXT: calll __floatunsitf
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestSIToFPU16_F128:
; X64-AVX: # %bb.0: # %entry
@@ -723,26 +723,26 @@ define dso_local void @TestSIToFPI32_F128() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestSIToFPI32_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $32, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: pushl vi32
-; X32-NEXT: pushl %eax
-; X32-NEXT: calll __floatsitf
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestSIToFPI32_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $32, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: pushl vi32
+; X86-NEXT: pushl %eax
+; X86-NEXT: calll __floatsitf
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestSIToFPI32_F128:
; X64-AVX: # %bb.0: # %entry
@@ -769,26 +769,26 @@ define dso_local void @TestUIToFPU32_F128() #2 {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestUIToFPU32_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $32, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: pushl vu32
-; X32-NEXT: pushl %eax
-; X32-NEXT: calll __floatunsitf
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestUIToFPU32_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $32, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: pushl vu32
+; X86-NEXT: pushl %eax
+; X86-NEXT: calll __floatunsitf
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestUIToFPU32_F128:
; X64-AVX: # %bb.0: # %entry
@@ -815,27 +815,27 @@ define dso_local void @TestSIToFPI64_F128() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestSIToFPI64_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $28, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: pushl vi64+4
-; X32-NEXT: pushl vi64
-; X32-NEXT: pushl %eax
-; X32-NEXT: calll __floatditf
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestSIToFPI64_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $28, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: pushl vi64+4
+; X86-NEXT: pushl vi64
+; X86-NEXT: pushl %eax
+; X86-NEXT: calll __floatditf
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestSIToFPI64_F128:
; X64-AVX: # %bb.0: # %entry
@@ -862,27 +862,27 @@ define dso_local void @TestUIToFPU64_F128() #2 {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestUIToFPU64_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $28, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: pushl vu64+4
-; X32-NEXT: pushl vu64
-; X32-NEXT: pushl %eax
-; X32-NEXT: calll __floatunditf
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestUIToFPU64_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $28, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: pushl vu64+4
+; X86-NEXT: pushl vu64
+; X86-NEXT: pushl %eax
+; X86-NEXT: calll __floatunditf
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestUIToFPU64_F128:
; X64-AVX: # %bb.0: # %entry
@@ -910,29 +910,29 @@ define dso_local void @TestSIToFPI128_F128() nounwind {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestSIToFPI128_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $36, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: pushl vi128+12
-; X32-NEXT: pushl vi128+8
-; X32-NEXT: pushl vi128+4
-; X32-NEXT: pushl vi128
-; X32-NEXT: pushl %eax
-; X32-NEXT: calll __floattitf
-; X32-NEXT: addl $28, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestSIToFPI128_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $36, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: pushl vi128+12
+; X86-NEXT: pushl vi128+8
+; X86-NEXT: pushl vi128+4
+; X86-NEXT: pushl vi128
+; X86-NEXT: pushl %eax
+; X86-NEXT: calll __floattitf
+; X86-NEXT: addl $28, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestSIToFPI128_F128:
; X64-AVX: # %bb.0: # %entry
@@ -961,29 +961,29 @@ define dso_local void @TestUIToFPU128_F128() #2 {
; X64-SSE-NEXT: popq %rax
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestUIToFPU128_F128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $36, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: pushl vu128+12
-; X32-NEXT: pushl vu128+8
-; X32-NEXT: pushl vu128+4
-; X32-NEXT: pushl vu128
-; X32-NEXT: pushl %eax
-; X32-NEXT: calll __floatuntitf
-; X32-NEXT: addl $28, %esp
-; X32-NEXT: movl (%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl %esi, vf128+12
-; X32-NEXT: movl %edx, vf128+8
-; X32-NEXT: movl %ecx, vf128+4
-; X32-NEXT: movl %eax, vf128
-; X32-NEXT: addl $24, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: retl
+; X86-LABEL: TestUIToFPU128_F128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $36, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: pushl vu128+12
+; X86-NEXT: pushl vu128+8
+; X86-NEXT: pushl vu128+4
+; X86-NEXT: pushl vu128
+; X86-NEXT: pushl %eax
+; X86-NEXT: calll __floatuntitf
+; X86-NEXT: addl $28, %esp
+; X86-NEXT: movl (%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl %esi, vf128+12
+; X86-NEXT: movl %edx, vf128+8
+; X86-NEXT: movl %ecx, vf128+4
+; X86-NEXT: movl %eax, vf128
+; X86-NEXT: addl $24, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestUIToFPU128_F128:
; X64-AVX: # %bb.0: # %entry
@@ -1014,25 +1014,25 @@ define dso_local i32 @TestConst128(fp128 %v) nounwind {
; X64-SSE-NEXT: popq %rcx
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestConst128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl $1073676288 # imm = 0x3FFF0000
-; X32-NEXT: pushl $0
-; X32-NEXT: pushl $0
-; X32-NEXT: pushl $0
-; X32-NEXT: pushl {{[0-9]+}}(%esp)
-; X32-NEXT: pushl {{[0-9]+}}(%esp)
-; X32-NEXT: pushl {{[0-9]+}}(%esp)
-; X32-NEXT: pushl {{[0-9]+}}(%esp)
-; X32-NEXT: calll __gttf2
-; X32-NEXT: addl $32, %esp
-; X32-NEXT: xorl %ecx, %ecx
-; X32-NEXT: testl %eax, %eax
-; X32-NEXT: setg %cl
-; X32-NEXT: movl %ecx, %eax
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestConst128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl $1073676288 # imm = 0x3FFF0000
+; X86-NEXT: pushl $0
+; X86-NEXT: pushl $0
+; X86-NEXT: pushl $0
+; X86-NEXT: pushl {{[0-9]+}}(%esp)
+; X86-NEXT: pushl {{[0-9]+}}(%esp)
+; X86-NEXT: pushl {{[0-9]+}}(%esp)
+; X86-NEXT: pushl {{[0-9]+}}(%esp)
+; X86-NEXT: calll __gttf2
+; X86-NEXT: addl $32, %esp
+; X86-NEXT: xorl %ecx, %ecx
+; X86-NEXT: testl %eax, %eax
+; X86-NEXT: setg %cl
+; X86-NEXT: movl %ecx, %eax
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestConst128:
; X64-AVX: # %bb.0: # %entry
@@ -1065,25 +1065,25 @@ define dso_local i32 @TestConst128Zero(fp128 %v) nounwind {
; X64-SSE-NEXT: popq %rcx
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestConst128Zero:
-; X32: # %bb.0: # %entry
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: pushl $0
-; X32-NEXT: pushl $0
-; X32-NEXT: pushl $0
-; X32-NEXT: pushl $0
-; X32-NEXT: pushl {{[0-9]+}}(%esp)
-; X32-NEXT: pushl {{[0-9]+}}(%esp)
-; X32-NEXT: pushl {{[0-9]+}}(%esp)
-; X32-NEXT: pushl {{[0-9]+}}(%esp)
-; X32-NEXT: calll __gttf2
-; X32-NEXT: addl $32, %esp
-; X32-NEXT: xorl %ecx, %ecx
-; X32-NEXT: testl %eax, %eax
-; X32-NEXT: setg %cl
-; X32-NEXT: movl %ecx, %eax
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: retl
+; X86-LABEL: TestConst128Zero:
+; X86: # %bb.0: # %entry
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: pushl $0
+; X86-NEXT: pushl $0
+; X86-NEXT: pushl $0
+; X86-NEXT: pushl $0
+; X86-NEXT: pushl {{[0-9]+}}(%esp)
+; X86-NEXT: pushl {{[0-9]+}}(%esp)
+; X86-NEXT: pushl {{[0-9]+}}(%esp)
+; X86-NEXT: pushl {{[0-9]+}}(%esp)
+; X86-NEXT: calll __gttf2
+; X86-NEXT: addl $32, %esp
+; X86-NEXT: xorl %ecx, %ecx
+; X86-NEXT: testl %eax, %eax
+; X86-NEXT: setg %cl
+; X86-NEXT: movl %ecx, %eax
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestConst128Zero:
; X64-AVX: # %bb.0: # %entry
@@ -1132,36 +1132,36 @@ define dso_local i32 @TestBits128(fp128 %ld) nounwind {
; X64-SSE-NEXT: addq $24, %rsp
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestBits128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %edi
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $20, %esp
-; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edi
-; X32-NEXT: subl $12, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %edx
-; X32-NEXT: pushl %edi
-; X32-NEXT: pushl %esi
-; X32-NEXT: pushl %ecx
-; X32-NEXT: pushl %eax
-; X32-NEXT: pushl %edi
-; X32-NEXT: pushl %esi
-; X32-NEXT: pushl %ecx
-; X32-NEXT: pushl %eax
-; X32-NEXT: pushl %edx
-; X32-NEXT: calll __multf3
-; X32-NEXT: addl $44, %esp
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: xorl %eax, %eax
-; X32-NEXT: orl (%esp), %ecx
-; X32-NEXT: sete %al
-; X32-NEXT: addl $20, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: popl %edi
-; X32-NEXT: retl
+; X86-LABEL: TestBits128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %edi
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $20, %esp
+; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edi
+; X86-NEXT: subl $12, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %edx
+; X86-NEXT: pushl %edi
+; X86-NEXT: pushl %esi
+; X86-NEXT: pushl %ecx
+; X86-NEXT: pushl %eax
+; X86-NEXT: pushl %edi
+; X86-NEXT: pushl %esi
+; X86-NEXT: pushl %ecx
+; X86-NEXT: pushl %eax
+; X86-NEXT: pushl %edx
+; X86-NEXT: calll __multf3
+; X86-NEXT: addl $44, %esp
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: xorl %eax, %eax
+; X86-NEXT: orl (%esp), %ecx
+; X86-NEXT: sete %al
+; X86-NEXT: addl $20, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: popl %edi
+; X86-NEXT: retl
;
; X64-AVX-LABEL: TestBits128:
; X64-AVX: # %bb.0: # %entry
@@ -1212,26 +1212,26 @@ define fp128 @TestPair128(i64 %a, i64 %b) nounwind {
; X64-SSE-NEXT: movaps -{{[0-9]+}}(%rsp), %xmm0
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestPair128:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %edi
-; X32-NEXT: pushl %esi
-; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edi
-; X32-NEXT: addl $3, %ecx
-; X32-NEXT: adcl $0, %edx
-; X32-NEXT: adcl $0, %esi
-; X32-NEXT: adcl $0, %edi
-; X32-NEXT: movl %esi, 8(%eax)
-; X32-NEXT: movl %edx, 4(%eax)
-; X32-NEXT: movl %ecx, (%eax)
-; X32-NEXT: movl %edi, 12(%eax)
-; X32-NEXT: popl %esi
-; X32-NEXT: popl %edi
-; X32-NEXT: retl $4
+; X86-LABEL: TestPair128:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %edi
+; X86-NEXT: pushl %esi
+; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edi
+; X86-NEXT: addl $3, %ecx
+; X86-NEXT: adcl $0, %edx
+; X86-NEXT: adcl $0, %esi
+; X86-NEXT: adcl $0, %edi
+; X86-NEXT: movl %esi, 8(%eax)
+; X86-NEXT: movl %edx, 4(%eax)
+; X86-NEXT: movl %ecx, (%eax)
+; X86-NEXT: movl %edi, 12(%eax)
+; X86-NEXT: popl %esi
+; X86-NEXT: popl %edi
+; X86-NEXT: retl $4
;
; X64-AVX-LABEL: TestPair128:
; X64-AVX: # %bb.0: # %entry
@@ -1266,55 +1266,55 @@ define fp128 @TestTruncCopysign(fp128 %x, i32 %n) nounwind {
; X64-SSE-NEXT: .LBB26_2: # %cleanup
; X64-SSE-NEXT: retq
;
-; X32-LABEL: TestTruncCopysign:
-; X32: # %bb.0: # %entry
-; X32-NEXT: pushl %edi
-; X32-NEXT: pushl %esi
-; X32-NEXT: subl $36, %esp
-; X32-NEXT: movl {{[0-9]+}}(%esp), %esi
-; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edi
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edx
-; X32-NEXT: cmpl $50001, {{[0-9]+}}(%esp) # imm = 0xC351
-; X32-NEXT: jl .LBB26_4
-; X32-NEXT: # %bb.1: # %if.then
-; X32-NEXT: pushl %eax
-; X32-NEXT: pushl %ecx
-; X32-NEXT: pushl %edi
-; X32-NEXT: pushl %edx
-; X32-NEXT: calll __trunctfdf2
-; X32-NEXT: addl $16, %esp
-; X32-NEXT: fstpl {{[0-9]+}}(%esp)
-; X32-NEXT: testb $-128, {{[0-9]+}}(%esp)
-; X32-NEXT: flds {{\.?LCPI[0-9]+_[0-9]+}}
-; X32-NEXT: flds {{\.?LCPI[0-9]+_[0-9]+}}
-; X32-NEXT: jne .LBB26_3
-; X32-NEXT: # %bb.2: # %if.then
-; X32-NEXT: fstp %st(1)
-; X32-NEXT: fldz
-; X32-NEXT: .LBB26_3: # %if.then
-; X32-NEXT: fstp %st(0)
-; X32-NEXT: subl $16, %esp
-; X32-NEXT: leal {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl %eax, (%esp)
-; X32-NEXT: fstpl {{[0-9]+}}(%esp)
-; X32-NEXT: calll __extenddftf2
-; X32-NEXT: addl $12, %esp
-; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: movl (%esp), %edx
-; X32-NEXT: movl {{[0-9]+}}(%esp), %edi
-; X32-NEXT: .LBB26_4: # %cleanup
-; X32-NEXT: movl %edx, (%esi)
-; X32-NEXT: movl %edi, 4(%esi)
-; X32-NEXT: movl %ecx, 8(%esi)
-; X32-NEXT: movl %eax, 12(%esi)
-; X32-NEXT: movl %esi, %eax
-; X32-NEXT: addl $36, %esp
-; X32-NEXT: popl %esi
-; X32-NEXT: popl %edi
-; X32-NEXT: retl $4
+; X86-LABEL: TestTruncCopysign:
+; X86: # %bb.0: # %entry
+; X86-NEXT: pushl %edi
+; X86-NEXT: pushl %esi
+; X86-NEXT: subl $36, %esp
+; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
+; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edi
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
+; X86-NEXT: cmpl $50001, {{[0-9]+}}(%esp) # imm = 0xC351
+; X86-NEXT: jl .LBB26_4
+; X86-NEXT: # %bb.1: # %if.then
+; X86-NEXT: pushl %eax
+; X86-NEXT: pushl %ecx
+; X86-NEXT: pushl %edi
+; X86-NEXT: pushl %edx
+; X86-NEXT: calll __trunctfdf2
+; X86-NEXT: addl $16, %esp
+; X86-NEXT: fstpl {{[0-9]+}}(%esp)
+; X86-NEXT: testb $-128, {{[0-9]+}}(%esp)
+; X86-NEXT: flds {{\.?LCPI[0-9]+_[0-9]+}}
+; X86-NEXT: flds {{\.?LCPI[0-9]+_[0-9]+}}
+; X86-NEXT: jne .LBB26_3
+; X86-NEXT: # %bb.2: # %if.then
+; X86-NEXT: fstp %st(1)
+; X86-NEXT: fldz
+; X86-NEXT: .LBB26_3: # %if.then
+; X86-NEXT: fstp %st(0)
+; X86-NEXT: subl $16, %esp
+; X86-NEXT: leal {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl %eax, (%esp)
+; X86-NEXT: fstpl {{[0-9]+}}(%esp)
+; X86-NEXT: calll __extenddftf2
+; X86-NEXT: addl $12, %esp
+; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: movl (%esp), %edx
+; X86-NEXT: movl {{[0-9]+}}(%esp), %edi
+; X86-NEXT: .LBB26_4: # %cleanup
+; X86-NEXT: movl %edx, (%esi)
+; X86-NEXT: movl %edi, 4(%esi)
+; X86-NEXT: movl %ecx, 8(%esi)
+; X86-NEXT: movl %eax, 12(%esi)
+; X86-NEXT: movl %esi, %eax
+; X86-NEXT: addl $36, %esp
+; X86-NEXT: popl %esi
+; X86-NEXT: popl %edi
+; X86-NEXT: retl $4
;
; X64-AVX-LABEL: TestTruncCopysign:
; X64-AVX: # %bb.0: # %entry
@@ -1357,15 +1357,15 @@ define i1 @PR34866(i128 %x) nounwind {
; X64-SSE-NEXT: sete %al
; X64-SSE-NEXT: retq
;
-; X32-LABEL: PR34866:
-; X32: # %bb.0:
-; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: orl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: orl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: orl %ecx, %eax
-; X32-NEXT: sete %al
-; X32-NEXT: retl
+; X86-LABEL: PR34866:
+; X86: # %bb.0:
+; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: orl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: orl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: orl %ecx, %eax
+; X86-NEXT: sete %al
+; X86-NEXT: retl
;
; X64-AVX-LABEL: PR34866:
; X64-AVX: # %bb.0:
@@ -1392,15 +1392,15 @@ define i1 @PR34866_commute(i128 %x) nounwind {
; X64-SSE-NEXT: sete %al
; X64-SSE-NEXT: retq
;
-; X32-LABEL: PR34866_commute:
-; X32: # %bb.0:
-; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: orl {{[0-9]+}}(%esp), %ecx
-; X32-NEXT: orl {{[0-9]+}}(%esp), %eax
-; X32-NEXT: orl %ecx, %eax
-; X32-NEXT: sete %al
-; X32-NEXT: retl
+; X86-LABEL: PR34866_commute:
+; X86: # %bb.0:
+; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: orl {{[0-9]+}}(%esp), %ecx
+; X86-NEXT: orl {{[0-9]+}}(%esp), %eax
+; X86-NEXT: orl %ecx, %eax
+; X86-NEXT: sete %al
+; X86-NEXT: retl
;
; X64-AVX-LABEL: PR34866_commute:
; X64-AVX: # %bb.0:
More information about the llvm-commits
mailing list