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
84 lines
2.2 KiB
LLVM
84 lines
2.2 KiB
LLVM
; RUN: llc < %s -mtriple=aarch64 -mattr=+v8.5a | FileCheck %s
|
|
|
|
declare float @llvm.aarch64.frint32z.f32(float)
|
|
declare double @llvm.aarch64.frint32z.f64(double)
|
|
declare float @llvm.aarch64.frint64z.f32(float)
|
|
declare double @llvm.aarch64.frint64z.f64(double)
|
|
|
|
define dso_local float @t_frint32z(float %a) {
|
|
; CHECK-LABEL: t_frint32z:
|
|
; CHECK: frint32z s0, s0
|
|
; CHECK-NEXT: ret
|
|
entry:
|
|
%val = tail call float @llvm.aarch64.frint32z.f32(float %a)
|
|
ret float %val
|
|
}
|
|
|
|
define dso_local double @t_frint32zf(double %a) {
|
|
; CHECK-LABEL: t_frint32zf:
|
|
; CHECK: frint32z d0, d0
|
|
; CHECK-NEXT: ret
|
|
entry:
|
|
%val = tail call double @llvm.aarch64.frint32z.f64(double %a)
|
|
ret double %val
|
|
}
|
|
|
|
define dso_local float @t_frint64z(float %a) {
|
|
; CHECK-LABEL: t_frint64z:
|
|
; CHECK: frint64z s0, s0
|
|
; CHECK-NEXT: ret
|
|
entry:
|
|
%val = tail call float @llvm.aarch64.frint64z.f32(float %a)
|
|
ret float %val
|
|
}
|
|
|
|
define dso_local double @t_frint64zf(double %a) {
|
|
; CHECK-LABEL: t_frint64zf:
|
|
; CHECK: frint64z d0, d0
|
|
; CHECK-NEXT: ret
|
|
entry:
|
|
%val = tail call double @llvm.aarch64.frint64z.f64(double %a)
|
|
ret double %val
|
|
}
|
|
|
|
declare float @llvm.aarch64.frint32x.f32(float)
|
|
declare double @llvm.aarch64.frint32x.f64(double)
|
|
declare float @llvm.aarch64.frint64x.f32(float)
|
|
declare double @llvm.aarch64.frint64x.f64(double)
|
|
|
|
define dso_local float @t_frint32x(float %a) {
|
|
; CHECK-LABEL: t_frint32x:
|
|
; CHECK: frint32x s0, s0
|
|
; CHECK-NEXT: ret
|
|
entry:
|
|
%val = tail call float @llvm.aarch64.frint32x.f32(float %a)
|
|
ret float %val
|
|
}
|
|
|
|
define dso_local double @t_frint32xf(double %a) {
|
|
; CHECK-LABEL: t_frint32xf:
|
|
; CHECK: frint32x d0, d0
|
|
; CHECK-NEXT: ret
|
|
entry:
|
|
%val = tail call double @llvm.aarch64.frint32x.f64(double %a)
|
|
ret double %val
|
|
}
|
|
|
|
define dso_local float @t_frint64x(float %a) {
|
|
; CHECK-LABEL: t_frint64x:
|
|
; CHECK: frint64x s0, s0
|
|
; CHECK-NEXT: ret
|
|
entry:
|
|
%val = tail call float @llvm.aarch64.frint64x.f32(float %a)
|
|
ret float %val
|
|
}
|
|
|
|
define dso_local double @t_frint64xf(double %a) {
|
|
; CHECK-LABEL: t_frint64xf:
|
|
; CHECK: frint64x d0, d0
|
|
; CHECK-NEXT: ret
|
|
entry:
|
|
%val = tail call double @llvm.aarch64.frint64x.f64(double %a)
|
|
ret double %val
|
|
}
|