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
61 lines
1.7 KiB
LLVM
61 lines
1.7 KiB
LLVM
; RUN: llc -mtriple=hexagon < %s | FileCheck %s
|
|
|
|
target datalayout = "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048"
|
|
target triple = "hexagon"
|
|
|
|
; CHECK-LABEL: cfminf
|
|
; CHECK: jump fminf
|
|
define float @cfminf(float %x, float %y) #0 {
|
|
entry:
|
|
%call = tail call float @fminf(float %x, float %y) #1
|
|
ret float %call
|
|
}
|
|
|
|
; CHECK-LABEL: cfmaxf
|
|
; CHECK: jump fmaxf
|
|
define float @cfmaxf(float %x, float %y) #0 {
|
|
entry:
|
|
%call = tail call float @fmaxf(float %x, float %y) #1
|
|
ret float %call
|
|
}
|
|
|
|
; CHECK-LABEL: minnum
|
|
; CHECK: jump fminf
|
|
define float @minnum(float %x, float %y) #0 {
|
|
entry:
|
|
%call = tail call float @llvm.minnum.f32(float %x, float %y) #1
|
|
ret float %call
|
|
}
|
|
|
|
; CHECK-LABEL: maxnum
|
|
; CHECK: jump fmaxf
|
|
define float @maxnum(float %x, float %y) #0 {
|
|
entry:
|
|
%call = tail call float @llvm.maxnum.f32(float %x, float %y) #1
|
|
ret float %call
|
|
}
|
|
|
|
; CHECK-LABEL: minimumnum
|
|
; CHECK: sfmin
|
|
define float @minimumnum(float %x, float %y) #0 {
|
|
entry:
|
|
%call = tail call float @llvm.minimumnum.f32(float %x, float %y) #1
|
|
ret float %call
|
|
}
|
|
|
|
; CHECK-LABEL: maximumnum
|
|
; CHECK: sfmax
|
|
define float @maximumnum(float %x, float %y) #0 {
|
|
entry:
|
|
%call = tail call float @llvm.maximumnum.f32(float %x, float %y) #1
|
|
ret float %call
|
|
}
|
|
|
|
|
|
declare float @fminf(float, float) #0
|
|
declare float @fmaxf(float, float) #0
|
|
|
|
attributes #0 = { nounwind readnone "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length64b" "use-soft-float"="false" }
|
|
attributes #1 = { nounwind readnone }
|
|
|