CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
59 lines
1.4 KiB
LLVM
59 lines
1.4 KiB
LLVM
; RUN: llc -mtriple=armv7-linux < %s -o - | FileCheck -check-prefix=LINUX %s
|
|
; RUN: llc -mtriple=thumbv7-windows-msvc -mattr=+thumb-mode < %s -o - | FileCheck -check-prefix=WINDOWS %s
|
|
|
|
define double @testExp(double %val, i32 %a) {
|
|
; LINUX: b ldexp{{$}}
|
|
; WINDOWS: b.w ldexp{{$}}
|
|
entry:
|
|
%call = tail call double @ldexp(double %val, i32 %a)
|
|
ret double %call
|
|
}
|
|
|
|
declare double @ldexp(double, i32) memory(none)
|
|
|
|
define double @testExpIntrinsic(double %val, i32 %a) {
|
|
; LINUX: b ldexp{{$}}
|
|
; WINDOWS: b.w ldexp{{$}}
|
|
entry:
|
|
%call = tail call double @llvm.ldexp.f64(double %val, i32 %a)
|
|
ret double %call
|
|
}
|
|
|
|
define float @testExpf(float %val, i32 %a) {
|
|
; LINUX: b ldexpf
|
|
; WINDOWS: b.w ldexpf
|
|
entry:
|
|
%call = tail call float @ldexpf(float %val, i32 %a)
|
|
ret float %call
|
|
}
|
|
|
|
define float @testExpfIntrinsic(float %val, i32 %a) {
|
|
; LINUX: b ldexpf
|
|
; WINDOWS: bl ldexp{{$}}
|
|
entry:
|
|
%call = tail call float @llvm.ldexp.f32(float %val, i32 %a)
|
|
ret float %call
|
|
}
|
|
|
|
declare float @ldexpf(float, i32) memory(none)
|
|
|
|
define fp128 @testExpl(fp128 %val, i32 %a) {
|
|
; LINUX: bl ldexpl
|
|
; WINDOWS: b.w ldexpl
|
|
entry:
|
|
%call = tail call fp128 @ldexpl(fp128 %val, i32 %a)
|
|
ret fp128 %call
|
|
}
|
|
|
|
declare fp128 @ldexpl(fp128, i32) memory(none)
|
|
|
|
define half @testExpf16(half %val, i32 %a) {
|
|
; LINUX: bl ldexpf
|
|
; WINDOWS: bl ldexp{{$}}
|
|
entry:
|
|
%0 = tail call half @llvm.ldexp.f16.i32(half %val, i32 %a)
|
|
ret half %0
|
|
}
|
|
|
|
declare half @llvm.ldexp.f16.i32(half, i32) memory(none)
|