/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | scalar_cmp.ll | 6 ; RUN: --check-prefix=FAST-P8 11 ; RUN: --check-prefix=FAST-P9 14 ; RUN: --check-prefix=NO-FAST-P8 17 ; RUN: --check-prefix=NO-FAST-P9 21 ; FAST-P8-LABEL: select_oeq_float: 22 ; FAST-P8: # %bb.0: # %entry 23 ; FAST-P8-NEXT: xssubsp f0, f1, f2 24 ; FAST-P8-NEXT: xssubsp f1, f2, f1 25 ; FAST-P8-NEXT: fsel f0, f0, f3, f4 26 ; FAST-P8-NEXT: fsel f1, f1, f0, f4 [all …]
|
D | fma-combine.ll | 3 ; RUN: -enable-unsafe-fp-math < %s | FileCheck -check-prefix=CHECK-FAST %s 5 ; RUN: -enable-unsafe-fp-math -mattr=-vsx < %s | FileCheck -check-prefix=CHECK-FAST-NOVSX %s 9 ; CHECK-FAST-LABEL: fma_combine1: 10 ; CHECK-FAST: # %bb.0: # %entry 11 ; CHECK-FAST-NEXT: xsnmaddadp 1, 3, 2 12 ; CHECK-FAST-NEXT: blr 14 ; CHECK-FAST-NOVSX-LABEL: fma_combine1: 15 ; CHECK-FAST-NOVSX: # %bb.0: # %entry 16 ; CHECK-FAST-NOVSX-NEXT: fnmadd 1, 3, 2, 1 17 ; CHECK-FAST-NOVSX-NEXT: blr [all …]
|
D | scalar-equal.ll | 6 ; RUN: --check-prefix=FAST-P8 11 ; RUN: --check-prefix=FAST-P9 14 ; RUN: --check-prefix=NO-FAST-P9 17 ; RUN: --check-prefix=NO-FAST-P8 20 ; FAST-P8-LABEL: testoeq: 21 ; FAST-P8: # %bb.0: # %entry 22 ; FAST-P8-NEXT: xssubdp f0, f1, f2 23 ; FAST-P8-NEXT: xsnegdp f1, f0 24 ; FAST-P8-NEXT: fsel f0, f0, f3, f4 25 ; FAST-P8-NEXT: fsel f1, f1, f0, f4 [all …]
|
D | scalar-min-max.ll | 12 ; RUN: --check-prefix=NO-FAST-P9 15 ; RUN: --check-prefix=NO-FAST-P8 22 ; NO-FAST-P9-LABEL: testfmax: 23 ; NO-FAST-P9: # %bb.0: # %entry 24 ; NO-FAST-P9-NEXT: xsmaxcdp f1, f1, f2 25 ; NO-FAST-P9-NEXT: blr 27 ; NO-FAST-P8-LABEL: testfmax: 28 ; NO-FAST-P8: # %bb.0: # %entry 29 ; NO-FAST-P8-NEXT: fcmpu cr0, f1, f2 30 ; NO-FAST-P8-NEXT: bgtlr cr0 [all …]
|
D | scalar-rounding-ops.ll | 10 ; RUN: --enable-unsafe-fp-math | FileCheck %s --check-prefix=FAST 40 ; FAST-LABEL: test_lrint: 41 ; FAST: # %bb.0: # %entry 42 ; FAST-NEXT: fctid f0, f1 43 ; FAST-NEXT: mffprd r3, f0 44 ; FAST-NEXT: blr 81 ; FAST-LABEL: test_lrintf: 82 ; FAST: # %bb.0: # %entry 83 ; FAST-NEXT: fctid f0, f1 84 ; FAST-NEXT: mffprd r3, f0 [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | xaluo.ll | 3 … RUN: llc -mtriple=x86_64-darwin-unknown -fast-isel -fast-isel-abort=1 < %s | FileCheck %s --check… 18 ; FAST-LABEL: saddoi8: 19 ; FAST: ## %bb.0: 20 ; FAST-NEXT: addb %sil, %dil 21 ; FAST-NEXT: seto %al 22 ; FAST-NEXT: movb %dil, (%rdx) 23 ; FAST-NEXT: andb $1, %al 24 ; FAST-NEXT: movzbl %al, %eax 25 ; FAST-NEXT: retq 41 ; FAST-LABEL: saddoi16: [all …]
|
D | xmulo.ll | 3 …phole -mtriple=x86_64-darwin-unknown -fast-isel -fast-isel-abort=1 < %s | FileCheck %s --check-pre… 52 ; FAST-LABEL: smuloi8: 53 ; FAST: ## %bb.0: 54 ; FAST-NEXT: movl %edi, %eax 55 ; FAST-NEXT: ## kill: def $al killed $al killed $eax 56 ; FAST-NEXT: imulb %sil 57 ; FAST-NEXT: seto %cl 58 ; FAST-NEXT: movb %al, (%rdx) 59 ; FAST-NEXT: andb $1, %cl 60 ; FAST-NEXT: movzbl %cl, %eax [all …]
|
D | phaddsub-extract.ll | 3 …llc < %s -mtriple=x86_64-unknown -mattr=+ssse3,fast-hops | FileCheck %s --check-prefixes=SSE3,S… 5 … < %s -mtriple=x86_64-unknown -mattr=+avx,fast-hops | FileCheck %s --check-prefixes=AVX,AVX-F… 7 …< %s -mtriple=x86_64-unknown -mattr=+avx2,fast-hops | FileCheck %s --check-prefixes=AVX,AVX-FA… 9 …s -mtriple=x86_64-unknown -mattr=+avx512vl,fast-hops | FileCheck %s --check-prefixes=AVX,AVX-FAST,… 22 ; SSE3-FAST-LABEL: extract_extract01_v4i32_add_i32: 23 ; SSE3-FAST: # %bb.0: 24 ; SSE3-FAST-NEXT: phaddd %xmm0, %xmm0 25 ; SSE3-FAST-NEXT: movd %xmm0, %eax 26 ; SSE3-FAST-NEXT: retq 35 ; AVX-FAST-LABEL: extract_extract01_v4i32_add_i32: [all …]
|
D | haddsub.ll | 3 …llc < %s -mtriple=x86_64-unknown -mattr=+sse3,fast-hops | FileCheck %s --check-prefixes=SSE3,S… 5 …: llc < %s -mtriple=x86_64-unknown -mattr=+avx,fast-hops | FileCheck %s --check-prefixes=AVX,… 7 … llc < %s -mtriple=x86_64-unknown -mattr=+avx2,fast-hops | FileCheck %s --check-prefixes=AVX,A… 9 …llc < %s -mtriple=x86_64-unknown -mattr=+avx512f,fast-hops | FileCheck %s --check-prefixes=AVX,AV… 52 ; SSE3-FAST-LABEL: haddpd3: 53 ; SSE3-FAST: # %bb.0: 54 ; SSE3-FAST-NEXT: haddpd %xmm0, %xmm0 55 ; SSE3-FAST-NEXT: retq 63 ; AVX-FAST-LABEL: haddpd3: 64 ; AVX-FAST: # %bb.0: [all …]
|
D | fshr.ll | 2 ; RUN: llc < %s -mtriple=i686-unknown-unknown | FileCheck %s --check-prefixes=X86,X86-FAST 4 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefixes=X64,X64-FAST 45 ; X86-FAST-LABEL: var_shift_i16: 46 ; X86-FAST: # %bb.0: 47 ; X86-FAST-NEXT: movzwl {{[0-9]+}}(%esp), %edx 48 ; X86-FAST-NEXT: movzwl {{[0-9]+}}(%esp), %eax 49 ; X86-FAST-NEXT: movb {{[0-9]+}}(%esp), %cl 50 ; X86-FAST-NEXT: andb $15, %cl 51 ; X86-FAST-NEXT: shrdw %cl, %dx, %ax 52 ; X86-FAST-NEXT: retl [all …]
|
D | fshl.ll | 2 ; RUN: llc < %s -mtriple=i686-unknown-unknown | FileCheck %s --check-prefixes=X86,X86-FAST 4 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefixes=X64,X64-FAST 46 ; X86-FAST-LABEL: var_shift_i16: 47 ; X86-FAST: # %bb.0: 48 ; X86-FAST-NEXT: movzwl {{[0-9]+}}(%esp), %edx 49 ; X86-FAST-NEXT: movzwl {{[0-9]+}}(%esp), %eax 50 ; X86-FAST-NEXT: movb {{[0-9]+}}(%esp), %cl 51 ; X86-FAST-NEXT: andb $15, %cl 52 ; X86-FAST-NEXT: shldw %cl, %dx, %ax 53 ; X86-FAST-NEXT: retl [all …]
|
D | horizontal-reduce-fadd.ll | 4 …UN: llc < %s -mtriple=x86_64-unknown -mattr=+ssse3,fast-hops | FileCheck %s --check-prefix=SSSE3-F… 6 … RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx,fast-hops | FileCheck %s --check-prefix=AVX1-… 32 ; SSSE3-FAST-LABEL: PR37890_v4f32: 33 ; SSSE3-FAST: # %bb.0: 34 ; SSSE3-FAST-NEXT: haddps %xmm0, %xmm0 35 ; SSSE3-FAST-NEXT: haddps %xmm0, %xmm0 36 ; SSSE3-FAST-NEXT: retq 46 ; AVX1-FAST-LABEL: PR37890_v4f32: 47 ; AVX1-FAST: # %bb.0: 48 ; AVX1-FAST-NEXT: vhaddps %xmm0, %xmm0, %xmm0 [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | fast-isel-cmp.ll | 2 ; RUN: llc < %s -fast-isel -fast-isel-abort=1 -mtriple=x86_64-apple-darwin10 | FileCheck %s --check… 9 ; FAST-LABEL: fcmp_oeq 10 ; FAST: ucomiss %xmm1, %xmm0 11 ; FAST-NEXT: sete %al 12 ; FAST-NEXT: setnp %cl 13 ; FAST-NEXT: andb %al, %cl 22 ; FAST: ucomiss %xmm1, %xmm0 23 ; FAST-NEXT: seta %al 32 ; FAST-LABEL: fcmp_oge 33 ; FAST: ucomiss %xmm1, %xmm0 [all …]
|
/external/llvm/test/Transforms/Reassociate/ |
D | fast-basictest.ll | 6 ; CHECK-NEXT: fsub fast float -0.000000e+00, %arg 9 %tmp1 = fsub fast float -1.200000e+01, %arg 10 %tmp2 = fadd fast float %tmp1, 1.200000e+01 29 ; CHECK-NEXT: %reg117 = fadd fast float %reg109, %reg1111 32 %reg115 = fadd fast float %reg109, -3.000000e+01 33 %reg116 = fadd fast float %reg115, %reg1111 34 %reg117 = fadd fast float %reg116, 3.000000e+01 46 ; CHECK: fadd fast float 47 ; CHECK: fadd fast float 48 ; CHECK-NOT: fadd fast float [all …]
|
D | fast-mightymul.ll | 5 %t0 = fmul fast float %x, %x 6 %t1 = fmul fast float %t0, %t0 7 %t2 = fmul fast float %t1, %t1 8 %t3 = fmul fast float %t2, %t2 9 %t4 = fmul fast float %t3, %t3 10 %t5 = fmul fast float %t4, %t4 11 %t6 = fmul fast float %t5, %t5 12 %t7 = fmul fast float %t6, %t6 13 %t8 = fmul fast float %t7, %t7 14 %t9 = fmul fast float %t8, %t8 [all …]
|
/external/llvm-project/llvm/test/Transforms/Reassociate/ |
D | pointer-collision-non-determinism.ll | 32 ; CHECK-NEXT: [[TMP:%.*]] = fmul fast float [[ARG:%.*]], 0x3FE99999A0000000 33 ; CHECK-NEXT: [[TMP110:%.*]] = fsub fast float 1.000000e+00, [[TMP]] 34 ; CHECK-NEXT: [[TMP2:%.*]] = fmul fast float [[ARG]], 0x3FE99999A0000000 35 ; CHECK-NEXT: [[TMP311:%.*]] = fsub fast float 1.000000e+00, [[TMP2]] 36 ; CHECK-NEXT: [[REASS_MUL160:%.*]] = fmul fast float [[TMP110]], [[ARG]] 37 ; CHECK-NEXT: [[TMP4:%.*]] = fmul fast float [[REASS_MUL160]], [[TMP311]] 38 ; CHECK-NEXT: [[TMP5:%.*]] = fadd fast float [[TMP4]], [[ARG]] 39 ; CHECK-NEXT: [[TMP6:%.*]] = fmul fast float [[TMP5]], [[ARG]] 40 ; CHECK-NEXT: [[TMP7:%.*]] = fadd fast float [[TMP6]], [[ARG]] 41 ; CHECK-NEXT: [[TMP8:%.*]] = fmul fast float [[TMP7]], [[ARG]] [all …]
|
D | fast-mightymul.ll | 5 %t0 = fmul fast float %x, %x 6 %t1 = fmul fast float %t0, %t0 7 %t2 = fmul fast float %t1, %t1 8 %t3 = fmul fast float %t2, %t2 9 %t4 = fmul fast float %t3, %t3 10 %t5 = fmul fast float %t4, %t4 11 %t6 = fmul fast float %t5, %t5 12 %t7 = fmul fast float %t6, %t6 13 %t8 = fmul fast float %t7, %t7 14 %t9 = fmul fast float %t8, %t8 [all …]
|
/external/llvm-project/clang/test/CodeGen/ |
D | fp-floatcontrol-stack.cpp | 3 …-linux-gnu -DFAST=1 -ffast-math -ffp-contract=fast -emit-llvm -o - %s | FileCheck --check-prefix=C… 21 #if FAST 22 //CHECK-FAST: fmul fast float 23 //CHECK-FAST: fadd fast float 27 #ifndef FAST 42 #if FAST 43 //Not possible to enable float_control(except) in FAST mode. 44 //CHECK-FAST: fmul fast float 45 //CHECK-FAST: fadd fast float 60 #if FAST [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | fast-math.ll | 6 %mul = fmul fast float %a, 0x3FF3333340000000 7 %mul1 = fmul fast float %mul, 0x4002666660000000 10 ; CHECK: fmul fast float %a, 0x4006147AE0000000 17 ; CHECK: %mul = fmul fast float %a, 0x3FF3333340000000 18 %mul = fmul fast float %a, 0x3FF3333340000000 25 ; CHECK: fmul fast float %a, 0x4006147AE0000000 27 %mul1 = fmul fast float %mul, 0x4002666660000000 33 %t1 = fmul fast double 2.000000e+00, %f1 34 %t2 = fadd fast double %f1, %t1 37 ; CHECK: fmul fast double %f1, 3.000000e+00 [all …]
|
D | double-float-shrink-1.ll | 14 %call = call fast double @acos(double %conv) 18 ; CHECK: call fast float @acosf(float %f) 23 %call = call fast double @acos(double %conv) 26 ; CHECK: call fast double @acos(double %conv) 31 %call = call fast double @acosh(double %conv) 35 ; CHECK: call fast float @acoshf(float %f) 40 %call = call fast double @acosh(double %conv) 43 ; CHECK: call fast double @acosh(double %conv) 48 %call = call fast double @asin(double %conv) 52 ; CHECK: call fast float @asinf(float %f) [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
D | regbankselect-phi.mir | 2 …x908 -run-pass=regbankselect -regbankselect-fast -verify-machineinstrs -o - %s | FileCheck -check-… 11 ; FAST-LABEL: name: phi_s32_ss_sbranch 12 ; FAST: bb.0: 13 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000) 14 ; FAST: liveins: $sgpr0, $sgpr1, $sgpr2 15 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0 16 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr1 17 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr2 18 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0 19 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]] [all …]
|
D | regbankselect-phi-s1.mir | 2 …fiji -run-pass=regbankselect -regbankselect-fast -verify-machineinstrs -o - %s | FileCheck -check-… 11 ; FAST-LABEL: name: phi_s1_scc_scc_sbranch 12 ; FAST: bb.0: 13 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000) 14 ; FAST: liveins: $sgpr0, $sgpr1, $sgpr2 15 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0 16 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr1 17 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr2 18 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0 19 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY]](s32), [[C]] [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | pow-4.ll | 15 ; CHECK-NEXT: [[SQUARE:%.*]] = fmul fast double [[X:%.*]], [[X]] 16 ; CHECK-NEXT: [[TMP1:%.*]] = fmul fast double [[SQUARE]], [[X]] 19 %1 = call fast double @llvm.pow.f64(double %x, double 3.000000e+00) 26 ; CHECK-NEXT: [[SQUARE:%.*]] = fmul fast float [[X:%.*]], [[X]] 27 ; CHECK-NEXT: [[TMP1:%.*]] = fmul fast float [[SQUARE]], [[SQUARE]] 30 %1 = call fast float @llvm.pow.f32(float %x, float 4.000000e+00) 37 ; CHECK-NEXT: [[SQUARE:%.*]] = fmul fast double [[X:%.*]], [[X]] 38 ; CHECK-NEXT: [[TMP1:%.*]] = fmul fast double [[SQUARE]], [[SQUARE]] 41 %1 = call fast double @llvm.pow.f64(double %x, double 4.000000e+00) 48 ; CHECK-NEXT: [[SQUARE:%.*]] = fmul fast <2 x float> [[X:%.*]], [[X]] [all …]
|
D | double-float-shrink-1.ll | 15 ; LINUX-NEXT: [[ACOSF:%.*]] = call fast float @acosf(float [[F:%.*]]) 17 ; MS32: [[ACOSF:%.*]] = call fast double @acos(double [[F:%.*]]) 18 ; MS64-NEXT: [[ACOSF:%.*]] = call fast float @acosf(float [[F:%.*]]) 21 %call = call fast double @acos(double %conv) 29 ; CHECK-NEXT: [[CALL:%.*]] = call fast double @acos(double [[CONV]]) 33 %call = call fast double @acos(double %conv) 39 ; ISC99-NEXT: [[ACOSHF:%.*]] = call fast float @acoshf(float [[F:%.*]]) 41 ; ISC89: [[ACOSHF:%.*]] = call fast double @acosh(double [[F:%.*]]) 44 %call = call fast double @acosh(double %conv) 52 ; CHECK-NEXT: [[CALL:%.*]] = call fast double @acosh(double [[CONV]]) [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/GlobalISel/ |
D | regbankselect-X86_64.mir | 2 …-linux-gnu -run-pass=regbankselect %s -o - | FileCheck %s --check-prefix=FAST 479 ; FAST-LABEL: name: test_add_i8 480 ; FAST: liveins: $edi, $esi 481 ; FAST: [[COPY:%[0-9]+]]:gpr(s8) = COPY $dil 482 ; FAST: [[COPY1:%[0-9]+]]:gpr(s8) = COPY $sil 483 ; FAST: [[ADD:%[0-9]+]]:gpr(s8) = G_ADD [[COPY]], [[COPY1]] 484 ; FAST: $al = COPY [[ADD]](s8) 485 ; FAST: RET 0, implicit $al 515 ; FAST-LABEL: name: test_add_i16 516 ; FAST: liveins: $edi, $esi [all …]
|