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
83 lines
2.6 KiB
LLVM
83 lines
2.6 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s
|
|
|
|
define <2 x double> @maxpd(<2 x double> %x, <2 x double> %y) {
|
|
; CHECK-LABEL: maxpd:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: vmaxpd %xmm0, %xmm1, %xmm0
|
|
; CHECK-NEXT: retq
|
|
%max_is_x = fcmp nnan oge <2 x double> %x, %y
|
|
%max = select <2 x i1> %max_is_x, <2 x double> %x, <2 x double> %y
|
|
ret <2 x double> %max
|
|
}
|
|
|
|
define <2 x double> @minpd(<2 x double> %x, <2 x double> %y) {
|
|
; CHECK-LABEL: minpd:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: vminpd %xmm0, %xmm1, %xmm0
|
|
; CHECK-NEXT: retq
|
|
%min_is_x = fcmp nnan ole <2 x double> %x, %y
|
|
%min = select <2 x i1> %min_is_x, <2 x double> %x, <2 x double> %y
|
|
ret <2 x double> %min
|
|
}
|
|
|
|
define <4 x float> @maxps(<4 x float> %x, <4 x float> %y) {
|
|
; CHECK-LABEL: maxps:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: vmaxps %xmm0, %xmm1, %xmm0
|
|
; CHECK-NEXT: retq
|
|
%max_is_x = fcmp nnan oge <4 x float> %x, %y
|
|
%max = select <4 x i1> %max_is_x, <4 x float> %x, <4 x float> %y
|
|
ret <4 x float> %max
|
|
}
|
|
|
|
define <4 x float> @minps(<4 x float> %x, <4 x float> %y) {
|
|
; CHECK-LABEL: minps:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: vminps %xmm0, %xmm1, %xmm0
|
|
; CHECK-NEXT: retq
|
|
%min_is_x = fcmp nnan ole <4 x float> %x, %y
|
|
%min = select <4 x i1> %min_is_x, <4 x float> %x, <4 x float> %y
|
|
ret <4 x float> %min
|
|
}
|
|
|
|
define <4 x double> @vmaxpd(<4 x double> %x, <4 x double> %y) {
|
|
; CHECK-LABEL: vmaxpd:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: vmaxpd %ymm0, %ymm1, %ymm0
|
|
; CHECK-NEXT: retq
|
|
%max_is_x = fcmp nnan oge <4 x double> %x, %y
|
|
%max = select <4 x i1> %max_is_x, <4 x double> %x, <4 x double> %y
|
|
ret <4 x double> %max
|
|
}
|
|
|
|
define <4 x double> @vminpd(<4 x double> %x, <4 x double> %y) {
|
|
; CHECK-LABEL: vminpd:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: vminpd %ymm0, %ymm1, %ymm0
|
|
; CHECK-NEXT: retq
|
|
%min_is_x = fcmp nnan ole <4 x double> %x, %y
|
|
%min = select <4 x i1> %min_is_x, <4 x double> %x, <4 x double> %y
|
|
ret <4 x double> %min
|
|
}
|
|
|
|
define <8 x float> @vmaxps(<8 x float> %x, <8 x float> %y) {
|
|
; CHECK-LABEL: vmaxps:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: vmaxps %ymm0, %ymm1, %ymm0
|
|
; CHECK-NEXT: retq
|
|
%max_is_x = fcmp nnan oge <8 x float> %x, %y
|
|
%max = select <8 x i1> %max_is_x, <8 x float> %x, <8 x float> %y
|
|
ret <8 x float> %max
|
|
}
|
|
|
|
define <8 x float> @vminps(<8 x float> %x, <8 x float> %y) {
|
|
; CHECK-LABEL: vminps:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: vminps %ymm0, %ymm1, %ymm0
|
|
; CHECK-NEXT: retq
|
|
%min_is_x = fcmp nnan ole <8 x float> %x, %y
|
|
%min = select <8 x i1> %min_is_x, <8 x float> %x, <8 x float> %y
|
|
ret <8 x float> %min
|
|
}
|