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
89 lines
2.6 KiB
LLVM
89 lines
2.6 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
|
|
; Verify whether the generated assembly for the following function includes the mtvsrbmi instruction.
|
|
; vector unsigned char v00FF()
|
|
; {
|
|
; vector unsigned char x = { 0xFF, 0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 };
|
|
; return x;
|
|
; }
|
|
; vector unsigned short short00FF()
|
|
; {
|
|
; vector unsigned short x = { 0xFF, 0,0,0, 0,0,0,0};
|
|
; return x;
|
|
; }
|
|
; vector unsigned int int00FF()
|
|
; {
|
|
; vector unsigned int x = { 0xFF, 0,0,0};
|
|
; return x;
|
|
; }
|
|
; vector unsigned long long longlong00FF()
|
|
; {
|
|
; vector unsigned long long x = { 0xFF, 0};
|
|
; return x;
|
|
; }
|
|
|
|
; RUN: llc < %s -ppc-asm-full-reg-names -mtriple=powerpc-ibm-aix -mcpu=pwr10 -verify-machineinstrs \
|
|
; RUN: | FileCheck %s --check-prefixes=CHECK,CHECK-BE
|
|
|
|
; RUN: llc < %s -ppc-asm-full-reg-names -mtriple=powerpc64le-unknown-gnu-linux -mcpu=pwr10 -verify-machineinstrs \
|
|
; RUN: | FileCheck %s --check-prefixes=CHECK,CHECK-LE
|
|
|
|
; CHECK-NOT: .byte 255
|
|
; CHECK-NOT: .byte 0
|
|
|
|
define dso_local noundef range(i8 -1, 1) <16 x i8> @_Z5v00FFv() {
|
|
; CHECK-BE-LABEL: _Z5v00FFv:
|
|
; CHECK-BE: # %bb.0: # %entry
|
|
; CHECK-BE-NEXT: mtvsrbmi v2, 32768
|
|
; CHECK-BE-NEXT: blr
|
|
;
|
|
; CHECK-LE-LABEL: _Z5v00FFv:
|
|
; CHECK-LE: # %bb.0: # %entry
|
|
; CHECK-LE-NEXT: mtvsrbmi v2, 1
|
|
; CHECK-LE-NEXT: blr
|
|
|
|
entry:
|
|
ret <16 x i8> <i8 -1, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>
|
|
}
|
|
|
|
define dso_local noundef range(i16 0, 256) <8 x i16> @_Z9short00FFv() {
|
|
; CHECK-BE-LABEL: _Z9short00FFv:
|
|
; CHECK-BE: # %bb.0: # %entry
|
|
; CHECK-BE-NEXT: mtvsrbmi v2, 16384
|
|
; CHECK-BE-NEXT: blr
|
|
;
|
|
; CHECK-LE-LABEL: _Z9short00FFv:
|
|
; CHECK-LE: # %bb.0: # %entry
|
|
; CHECK-LE-NEXT: mtvsrbmi v2, 1
|
|
; CHECK-LE-NEXT: blr
|
|
entry:
|
|
ret <8 x i16> <i16 255, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>
|
|
}
|
|
|
|
define dso_local noundef range(i32 0, 256) <4 x i32> @_Z7int00FFv() {
|
|
; CHECK-BE-LABEL: _Z7int00FFv:
|
|
; CHECK-BE: # %bb.0: # %entry
|
|
; CHECK-BE-NEXT: mtvsrbmi v2, 4096
|
|
; CHECK-BE-NEXT: blr
|
|
;
|
|
; CHECK-LE-LABEL: _Z7int00FFv:
|
|
; CHECK-LE: # %bb.0: # %entry
|
|
; CHECK-LE-NEXT: mtvsrbmi v2, 1
|
|
; CHECK-LE-NEXT: blr
|
|
entry:
|
|
ret <4 x i32> <i32 255, i32 0, i32 0, i32 0>
|
|
}
|
|
|
|
define dso_local noundef range(i64 0, 256) <2 x i64> @_Z12longlong00FFv() {
|
|
; CHECK-BE-LABEL: _Z12longlong00FFv:
|
|
; CHECK-BE: # %bb.0: # %entry
|
|
; CHECK-BE-NEXT: mtvsrbmi v2, 256
|
|
; CHECK-BE-NEXT: blr
|
|
;
|
|
; CHECK-LE-LABEL: _Z12longlong00FFv:
|
|
; CHECK-LE: # %bb.0: # %entry
|
|
; CHECK-LE-NEXT: mtvsrbmi v2, 1
|
|
; CHECK-LE-NEXT: blr
|
|
entry:
|
|
ret <2 x i64> <i64 255, i64 0>
|
|
}
|