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
204 lines
5.3 KiB
YAML
204 lines
5.3 KiB
YAML
# RUN: llc -mtriple=amdgcn -mcpu=gfx802 -start-before postrapseudos -asm-verbose=0 -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s
|
|
# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -start-before postrapseudos -asm-verbose=0 -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s
|
|
# RUN: llc -mtriple=amdgcn -mcpu=gfx1010 -start-before postrapseudos -asm-verbose=0 -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s
|
|
|
|
# GCN-LABEL: {{^}}lo_to_lo:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_0 dst_unused:UNUSED_PRESERVE src0_sel:WORD_0
|
|
name: lo_to_lo
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr1_lo16 = COPY $vgpr0_lo16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}lo_to_hi:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_1 dst_unused:UNUSED_PRESERVE src0_sel:WORD_0
|
|
name: lo_to_hi
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr1_hi16 = COPY killed $vgpr0_lo16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}hi_to_lo:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_0 dst_unused:UNUSED_PRESERVE src0_sel:WORD_1
|
|
name: hi_to_lo
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr1_lo16 = COPY $vgpr0_hi16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}hi_to_hi:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_1 dst_unused:UNUSED_PRESERVE src0_sel:WORD_1
|
|
name: hi_to_hi
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr1_hi16 = COPY $vgpr0_hi16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}lo_to_lo_samereg:
|
|
# GCN: s_waitcnt
|
|
# GCN-NEXT: s_endpgm
|
|
name: lo_to_lo_samereg
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr0_lo16 = COPY $vgpr0_lo16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}lo_to_hi_samereg:
|
|
# GCN: v_mov_b32_sdwa v0, v0 dst_sel:WORD_1 dst_unused:UNUSED_PRESERVE src0_sel:WORD_0
|
|
name: lo_to_hi_samereg
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr0_hi16 = COPY $vgpr0_lo16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}hi_to_lo_samereg:
|
|
# GCN: v_mov_b32_sdwa v0, v0 dst_sel:WORD_0 dst_unused:UNUSED_PRESERVE src0_sel:WORD_1
|
|
name: hi_to_lo_samereg
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr0_lo16 = COPY killed $vgpr0_hi16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}hi_to_hi_samereg:
|
|
# GCN: s_waitcnt
|
|
# GCN-NEXT: s_endpgm
|
|
name: hi_to_hi_samereg
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr0_hi16 = COPY killed $vgpr0_hi16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}lo_to_lo_def_livein:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_0 dst_unused:UNUSED_PRESERVE src0_sel:WORD_0
|
|
name: lo_to_lo_def_livein
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $vgpr0
|
|
|
|
$vgpr1 = IMPLICIT_DEF
|
|
$vgpr1_lo16 = COPY $vgpr0_lo16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}lo_to_hi_def_livein:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_1 dst_unused:UNUSED_PRESERVE src0_sel:WORD_0
|
|
name: lo_to_hi_def_livein
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $vgpr0
|
|
|
|
$vgpr1 = IMPLICIT_DEF
|
|
$vgpr1_hi16 = COPY $vgpr0_lo16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}hi_to_lo_def_livein:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_0 dst_unused:UNUSED_PRESERVE src0_sel:WORD_1
|
|
name: hi_to_lo_def_livein
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $vgpr0
|
|
|
|
$vgpr1 = IMPLICIT_DEF
|
|
$vgpr1_lo16 = COPY killed $vgpr0_hi16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}hi_to_hi_def_livein:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_1 dst_unused:UNUSED_PRESERVE src0_sel:WORD_1
|
|
name: hi_to_hi_def_livein
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $vgpr0
|
|
|
|
$vgpr1 = IMPLICIT_DEF
|
|
$vgpr1_hi16 = COPY $vgpr0_hi16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# TODO: This can be coalesced into a VGPR_32 copy
|
|
# GCN-LABEL: {{^}}lo_to_lo_hi_to_hi:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_0 dst_unused:UNUSED_PRESERVE src0_sel:WORD_0
|
|
# GCN-NEXT: v_mov_b32_sdwa v1, v0 dst_sel:WORD_1 dst_unused:UNUSED_PRESERVE src0_sel:WORD_1
|
|
# GCN-NEXT: v_mov_b32_e32 v2, v1
|
|
# GCN-NEXT: s_endpgm
|
|
name: lo_to_lo_hi_to_hi
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr1_lo16 = COPY $vgpr0_lo16
|
|
$vgpr1_hi16 = COPY $vgpr0_hi16
|
|
$vgpr2 = COPY killed $vgpr1
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}lo_to_hi_hi_to_lo:
|
|
# GCN: v_mov_b32_sdwa v1, v0 dst_sel:WORD_0 dst_unused:UNUSED_PRESERVE src0_sel:WORD_1
|
|
# GCN-NEXT: v_mov_b32_sdwa v1, v0 dst_sel:WORD_1 dst_unused:UNUSED_PRESERVE src0_sel:WORD_0
|
|
# GCN-NEXT: v_mov_b32_e32 v2, v1
|
|
# GCN-NEXT: s_endpgm
|
|
name: lo_to_hi_hi_to_lo
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr1_lo16 = COPY $vgpr0_hi16
|
|
$vgpr1_hi16 = COPY $vgpr0_lo16
|
|
$vgpr2 = COPY killed $vgpr1
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# NB: copy of undef just killed instead of expansion
|
|
# GCN-LABEL: {{^}}lo_to_lo_undef:
|
|
# GCN: s_waitcnt
|
|
# GCN-NEXT: v_mov_b32_e32 v2, v1
|
|
# GCN-NEXT: s_endpgm
|
|
name: lo_to_lo_undef
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$vgpr1_lo16 = COPY undef $vgpr0_lo16
|
|
$vgpr2 = COPY killed $vgpr1
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# GCN-LABEL: {{^}}lo_to_lo_sgpr_to_sgpr:
|
|
# GCN: s_mov_b32 s1, s0
|
|
name: lo_to_lo_sgpr_to_sgpr
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
$sgpr0 = IMPLICIT_DEF
|
|
$sgpr1_lo16 = COPY $sgpr0_lo16
|
|
S_ENDPGM 0
|
|
...
|