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
115 lines
3.8 KiB
LLVM
115 lines
3.8 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefixes=SSE
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 -global-isel -global-isel-abort=2 | FileCheck %s --check-prefixes=SSE
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefixes=AVX,AVX1
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx -global-isel -global-isel-abort=2 | FileCheck %s --check-prefixes=AVX,AVX1
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512f | FileCheck %s --check-prefixes=AVX,AVX512
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512f -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefixes=AVX,AVX512
|
|
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512f -global-isel -global-isel-abort=2 | FileCheck %s --check-prefixes=AVX,AVX512
|
|
|
|
define <4 x float> @test_fmul_v4f32(<4 x float> %arg1, <4 x float> %arg2) {
|
|
; SSE-LABEL: test_fmul_v4f32:
|
|
; SSE: # %bb.0:
|
|
; SSE-NEXT: mulps %xmm1, %xmm0
|
|
; SSE-NEXT: retq
|
|
;
|
|
; AVX-LABEL: test_fmul_v4f32:
|
|
; AVX: # %bb.0:
|
|
; AVX-NEXT: vmulps %xmm1, %xmm0, %xmm0
|
|
; AVX-NEXT: retq
|
|
%ret = fmul <4 x float> %arg1, %arg2
|
|
ret <4 x float> %ret
|
|
}
|
|
|
|
define <2 x double> @test_fmul_v2f64(<2 x double> %arg1, <2 x double> %arg2) {
|
|
; SSE-LABEL: test_fmul_v2f64:
|
|
; SSE: # %bb.0:
|
|
; SSE-NEXT: mulpd %xmm1, %xmm0
|
|
; SSE-NEXT: retq
|
|
;
|
|
; AVX-LABEL: test_fmul_v2f64:
|
|
; AVX: # %bb.0:
|
|
; AVX-NEXT: vmulpd %xmm1, %xmm0, %xmm0
|
|
; AVX-NEXT: retq
|
|
%ret = fmul <2 x double> %arg1, %arg2
|
|
ret <2 x double> %ret
|
|
}
|
|
|
|
define <8 x float> @test_fmul_v8f32(<8 x float> %arg1, <8 x float> %arg2) {
|
|
; SSE-LABEL: test_fmul_v8f32:
|
|
; SSE: # %bb.0:
|
|
; SSE-NEXT: mulps %xmm2, %xmm0
|
|
; SSE-NEXT: mulps %xmm3, %xmm1
|
|
; SSE-NEXT: retq
|
|
;
|
|
; AVX-LABEL: test_fmul_v8f32:
|
|
; AVX: # %bb.0:
|
|
; AVX-NEXT: vmulps %ymm1, %ymm0, %ymm0
|
|
; AVX-NEXT: retq
|
|
%ret = fmul <8 x float> %arg1, %arg2
|
|
ret <8 x float> %ret
|
|
}
|
|
|
|
define <4 x double> @test_fmul_v4f64(<4 x double> %arg1, <4 x double> %arg2) {
|
|
; SSE-LABEL: test_fmul_v4f64:
|
|
; SSE: # %bb.0:
|
|
; SSE-NEXT: mulpd %xmm2, %xmm0
|
|
; SSE-NEXT: mulpd %xmm3, %xmm1
|
|
; SSE-NEXT: retq
|
|
;
|
|
; AVX-LABEL: test_fmul_v4f64:
|
|
; AVX: # %bb.0:
|
|
; AVX-NEXT: vmulpd %ymm1, %ymm0, %ymm0
|
|
; AVX-NEXT: retq
|
|
%ret = fmul <4 x double> %arg1, %arg2
|
|
ret <4 x double> %ret
|
|
}
|
|
|
|
define <16 x float> @test_fmul_v16f32(<16 x float> %arg1, <16 x float> %arg2) {
|
|
; SSE-LABEL: test_fmul_v16f32:
|
|
; SSE: # %bb.0:
|
|
; SSE-NEXT: mulps %xmm4, %xmm0
|
|
; SSE-NEXT: mulps %xmm5, %xmm1
|
|
; SSE-NEXT: mulps %xmm6, %xmm2
|
|
; SSE-NEXT: mulps %xmm7, %xmm3
|
|
; SSE-NEXT: retq
|
|
;
|
|
; AVX1-LABEL: test_fmul_v16f32:
|
|
; AVX1: # %bb.0:
|
|
; AVX1-NEXT: vmulps %ymm2, %ymm0, %ymm0
|
|
; AVX1-NEXT: vmulps %ymm3, %ymm1, %ymm1
|
|
; AVX1-NEXT: retq
|
|
;
|
|
; AVX512-LABEL: test_fmul_v16f32:
|
|
; AVX512: # %bb.0:
|
|
; AVX512-NEXT: vmulps %zmm1, %zmm0, %zmm0
|
|
; AVX512-NEXT: retq
|
|
%ret = fmul <16 x float> %arg1, %arg2
|
|
ret <16 x float> %ret
|
|
}
|
|
|
|
define <8 x double> @test_fmul_v8f64(<8 x double> %arg1, <8 x double> %arg2) {
|
|
; SSE-LABEL: test_fmul_v8f64:
|
|
; SSE: # %bb.0:
|
|
; SSE-NEXT: mulpd %xmm4, %xmm0
|
|
; SSE-NEXT: mulpd %xmm5, %xmm1
|
|
; SSE-NEXT: mulpd %xmm6, %xmm2
|
|
; SSE-NEXT: mulpd %xmm7, %xmm3
|
|
; SSE-NEXT: retq
|
|
;
|
|
; AVX1-LABEL: test_fmul_v8f64:
|
|
; AVX1: # %bb.0:
|
|
; AVX1-NEXT: vmulpd %ymm2, %ymm0, %ymm0
|
|
; AVX1-NEXT: vmulpd %ymm3, %ymm1, %ymm1
|
|
; AVX1-NEXT: retq
|
|
;
|
|
; AVX512-LABEL: test_fmul_v8f64:
|
|
; AVX512: # %bb.0:
|
|
; AVX512-NEXT: vmulpd %zmm1, %zmm0, %zmm0
|
|
; AVX512-NEXT: retq
|
|
%ret = fmul <8 x double> %arg1, %arg2
|
|
ret <8 x double> %ret
|
|
}
|