Searched refs:X87 (Results 1 – 25 of 46) sorted by relevance
12
8 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=-sse -O3 | FileCheck %s --check-prefix=X879 …llc < %s -mtriple=i686-unknown-unknown -mattr=-sse,+cmov -O3 | FileCheck %s --check-prefix=X87-CMOV50 ; X87-LABEL: test_f32_oeq_q:51 ; X87: # %bb.0:52 ; X87-NEXT: flds {{[0-9]+}}(%esp)53 ; X87-NEXT: flds {{[0-9]+}}(%esp)54 ; X87-NEXT: fucompp55 ; X87-NEXT: wait56 ; X87-NEXT: fnstsw %ax57 ; X87-NEXT: # kill: def $ah killed $ah killed $ax[all …]
8 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=-sse -O3 | FileCheck %s --check-prefixes=X8757 ; X87-LABEL: fptosi_f32toi1:58 ; X87: # %bb.0:59 ; X87-NEXT: subl $8, %esp60 ; X87-NEXT: .cfi_def_cfa_offset 1261 ; X87-NEXT: flds {{[0-9]+}}(%esp)62 ; X87-NEXT: wait63 ; X87-NEXT: fnstcw {{[0-9]+}}(%esp)64 ; X87-NEXT: movzwl {{[0-9]+}}(%esp), %eax65 ; X87-NEXT: orl $3072, %eax # imm = 0xC00[all …]
2 ; RUN: llc -O3 -mtriple=i686-pc-linux -mattr=+cmov < %s | FileCheck %s --check-prefix=X8718 ; X87-LABEL: f1:19 ; X87: # %bb.0: # %entry20 ; X87-NEXT: fld121 ; X87-NEXT: fdivs {{\.LCPI.*}}22 ; X87-NEXT: wait23 ; X87-NEXT: retl67 ; X87-LABEL: f2:68 ; X87: # %bb.0: # %entry69 ; X87-NEXT: fldz[all …]
2 ; RUN: llc < %s -mtriple=i686-unknown-unknown | FileCheck %s --check-prefix=X86-X879 ; X86-X87-LABEL: pow_wrapper:10 ; X86-X87: # %bb.0:11 ; X86-X87-NEXT: fldl {{[0-9]+}}(%esp)12 ; X86-X87-NEXT: fld %st(0)13 ; X86-X87-NEXT: fmul %st(1), %st14 ; X86-X87-NEXT: fmul %st, %st(1)15 ; X86-X87-NEXT: fmul %st, %st(0)16 ; X86-X87-NEXT: fmul %st, %st(1)17 ; X86-X87-NEXT: fmul %st, %st(0)[all …]
22 …mtriple=i386-pc-windows-msvc -mattr=-sse | FileCheck %s --check-prefixes=CHECK,X86,X87,X87-WIN23 …mtriple=i386-unknown-linux-gnu -mattr=-sse | FileCheck %s --check-prefixes=CHECK,X86,X87,X87-LIN39 ; SSE2 (cvtts[ds]2si) and vanilla X87 (fnstcw+fist, 32-bit only).229 ; X87-WIN-LABEL: f_to_u64:230 ; X87-WIN: # %bb.0:231 ; X87-WIN-NEXT: pushl %ebp232 ; X87-WIN-NEXT: movl %esp, %ebp233 ; X87-WIN-NEXT: andl $-8, %esp234 ; X87-WIN-NEXT: subl $16, %esp235 ; X87-WIN-NEXT: flds 8(%ebp)[all …]
8 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=-sse -O3 | FileCheck %s --check-prefixes=X8781 ; X87-LABEL: sitofp_i1tof32:82 ; X87: # %bb.0:83 ; X87-NEXT: pushl %eax84 ; X87-NEXT: .cfi_def_cfa_offset 885 ; X87-NEXT: movb {{[0-9]+}}(%esp), %al86 ; X87-NEXT: andb $1, %al87 ; X87-NEXT: negb %al88 ; X87-NEXT: movsbl %al, %eax89 ; X87-NEXT: movw %ax, {{[0-9]+}}(%esp)[all …]
3 ; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s --check-prefixes=X64,X64-X8726 ; X64-X87-LABEL: fptosi_i16_fp80:27 ; X64-X87: # %bb.0:28 ; X64-X87-NEXT: fldt {{[0-9]+}}(%rsp)29 ; X64-X87-NEXT: fnstcw -{{[0-9]+}}(%rsp)30 ; X64-X87-NEXT: movzwl -{{[0-9]+}}(%rsp), %eax31 ; X64-X87-NEXT: orl $3072, %eax # imm = 0xC0032 ; X64-X87-NEXT: movw %ax, -{{[0-9]+}}(%rsp)33 ; X64-X87-NEXT: fldcw -{{[0-9]+}}(%rsp)34 ; X64-X87-NEXT: fistps -{{[0-9]+}}(%rsp)[all …]
24 …llc < %s -mtriple=i386-pc-windows-msvc -mattr=-sse | FileCheck %s --check-prefixes=X87,X87-WIN25 …llc < %s -mtriple=i386-unknown-linux-gnu -mattr=-sse | FileCheck %s --check-prefixes=X87,X87-LIN99 ; X87-WIN-LABEL: f_to_u32:100 ; X87-WIN: # %bb.0:101 ; X87-WIN-NEXT: pushl %ebp102 ; X87-WIN-NEXT: movl %esp, %ebp103 ; X87-WIN-NEXT: andl $-8, %esp104 ; X87-WIN-NEXT: subl $16, %esp105 ; X87-WIN-NEXT: flds 8(%ebp)106 ; X87-WIN-NEXT: fnstcw {{[0-9]+}}(%esp)[all …]
8 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=-sse -O3 | FileCheck %s --check-prefixes=X8766 ; X87-LABEL: fadd_f64:67 ; X87: # %bb.0:68 ; X87-NEXT: fldl {{[0-9]+}}(%esp)69 ; X87-NEXT: faddl {{[0-9]+}}(%esp)70 ; X87-NEXT: wait71 ; X87-NEXT: retl111 ; X87-LABEL: fadd_f32:112 ; X87: # %bb.0:113 ; X87-NEXT: flds {{[0-9]+}}(%esp)[all …]
11 … < %s -mtriple=i386-unknown-unknown -mattr=-sse | FileCheck %s --check-prefixes=CHECK32,X8766 ; X87-LABEL: u32_to_f:67 ; X87: # %bb.0:68 ; X87-NEXT: pushl %ebp69 ; X87-NEXT: movl %esp, %ebp70 ; X87-NEXT: andl $-8, %esp71 ; X87-NEXT: subl $8, %esp72 ; X87-NEXT: movl 8(%ebp), %eax73 ; X87-NEXT: movl %eax, (%esp)74 ; X87-NEXT: movl $0, {{[0-9]+}}(%esp)[all …]
2 …r=-sse,-sse2,-sse3 | FileCheck %s --check-prefix=X8710 ; X87-LABEL: test1:11 ; X87: # %bb.0:12 ; X87-NEXT: flds {{[0-9]+}}(%esp)13 ; X87-NEXT: fabs14 ; X87-NEXT: retl31 ; X87-LABEL: test2:32 ; X87: # %bb.0:33 ; X87-NEXT: fldt {{[0-9]+}}(%esp)34 ; X87-NEXT: fabs[all …]
1 ; RUN: llc < %s -mtriple=i686-- | FileCheck %s -check-prefixes=X8732,X872 ; RUN: llc < %s -mtriple=x86_64-- -mattr=-sse | FileCheck %s -check-prefixes=X8732,X879 ; X87-LABEL: test:14 ; X87: fild29 ; X87: fild33 ; X87: fild37 ; X87: fadd41 ; X87: fstp44 ; X87: __floatsitf48 ; X87: __floatunditf[all …]
1 ; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X872 ; RUN: llc < %s -march=x86-64 -mattr=-sse | FileCheck %s -check-prefix=X879 ; X87-LABEL: test:11 ; X87: fild15 ; X87: fild19 ; X87: fadd23 ; X87: fstp26 ; X87: fild30 ; X87: fild34 ; X87: fadd[all …]
15 ; SSE2 (cvtts[ds]2si) and vanilla X87 (fnstcw+fist, 32-bit only).29 …triple=i386-pc-windows-msvc -mattr=-sse | FileCheck %s --check-prefix=CHECK --check-prefix=X8730 …triple=i386-unknown-linux-gnu -mattr=-sse | FileCheck %s --check-prefix=CHECK --check-prefix=X8733 ; X87-DAG: fsub34 ; X87-DAG: fnstcw35 ; X87: fist55 ; X87: fnstcw56 ; X87: fist71 ; X87-DAG: fsub72 ; X87-DAG: fnstcw[all …]
12 …ple=i386-unknown-unknown -mattr=-sse | FileCheck %s --check-prefix=CHECK --check-prefix=X8719 ; X87: fildll30 ; X87: fildl41 ; X87: fildll52 ; X87: fildl63 ; X87: fildll88 ; X87: fildll99 ; X87: fildll128 ; X87: fildll139 ; X87: fildll
94 set(EIGEN_TEST_X87 OFF CACHE BOOL "Disable X87 instructions test")
189 X86_FEATURE (X87, "x87")
207 D: Rewrite X87 back end209 D: Implement X87 long double
206 D: Rewrite X87 back end208 D: Implement X87 long double
234 D: Rewrite X87 back end236 D: Implement X87 long double
167 // X87 ST(n) registers.
1855 X87, enumerator2269 if (Hi == X87Up && Lo != X87 && honorsRevision0_98()) in postMerge()2311 if (Field == X87 || Field == X87Up || Field == ComplexX87 || in merge()2312 Accum == X87 || Accum == X87Up) in merge()2350 Lo = X87; in classify()3077 case X87: in classifyReturnType()3097 case X87: in classifyReturnType()3132 if (Lo != X87) { in classifyReturnType()3183 case X87: in classifyArgumentType()3233 case X87: in classifyArgumentType()
170 X87, enumConstant273 X87, enumConstant
172 def WriteFCMOV : SchedWrite; // X87 conditional move.253 defm WriteFCom : X86SchedWritePair<ReadAfterVecLd>; // Floating point compare to flags (X87).