Files
TheRock/compiler/amd-llvm/llvm/test/MC/CSKY/jsri.s
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

74 lines
2.1 KiB
ArmAsm

# RUN: llvm-mc -filetype=obj -triple=csky -mattr=+2e3 < %s \
# RUN: | llvm-objdump --mattr=+2e3 --no-show-raw-insn -M no-aliases -d -r - | FileCheck %s
.data
sec:
.long 0x77
.text
tstart:
jsri lnk
jsri lnk - 4
jsri lnk + 4
.short 0x1C00
jsri sec
jsri sec - 4
jsri sec + 4
.J1:
jsri .J1
.J2:
jsri .J2 - 0x1000
.J3:
jsri .J3 + 0x1000
jsri 0x01020304
jsri 0xFFFFFFFE
# CHECK: 0: jsri32 0x30
# CHECK-NEXT: 4: jsri32 0x34
# CHECK-NEXT: 8: jsri32 0x38
# CHECK: c: 00 1c .short 0x1c00
# CHECK: e: jsri32 0x3c
# CHECK-NEXT: 12: jsri32 0x40
# CHECK-NEXT: 16: jsri32 0x44
# CHECK: <.J1>:
# CHECK-NEXT: 1a: bsr32 0x1a
# CHECK: <.J2>:
# CHECK-NEXT: 1e: bsr32 0xfffff01e
# CHECK: <.J3>:
# CHECK-NEXT: 22: bsr32 0x1022
# CHECK-NEXT: 26: jsri32 0x54
# CHECK-NEXT: 2a: jsri32 0x58
# CHECK-NEXT: 2e: bkpt
# CHECK: 30: 00 00 00 00 .word 0x0
# CHECK-NEXT: 00000030: R_CKCORE_ADDR32 lnk
# CHECK-NEXT: 34: 00 00 00 00 .word 0x0
# CHECK-NEXT: 00000034: R_CKCORE_ADDR32 lnk-0x4
# CHECK-NEXT: 38: 00 00 00 00 .word 0x0
# CHECK-NEXT: 00000038: R_CKCORE_ADDR32 lnk+0x4
# CHECK-NEXT: 3c: 00 00 00 00 .word 0x0
# CHECK-NEXT: 0000003c: R_CKCORE_ADDR32 .data
# CHECK-NEXT: 40: 00 00 00 00 .word 0x0
# CHECK-NEXT: 00000040: R_CKCORE_ADDR32 .data-0x4
# CHECK-NEXT: 44: 00 00 00 00 .word 0x0
# CHECK-NEXT: 00000044: R_CKCORE_ADDR32 .data+0x4
# CHECK-NEXT: 48: 00 00 00 00 .word 0x0
# CHECK-NEXT: 00000048: R_CKCORE_ADDR32 .text+0x1a
# CHECK-NEXT: 4c: 00 00 00 00 .word 0x0
# CHECK-NEXT: 0000004c: R_CKCORE_ADDR32 .text-0xfe2
# CHECK-NEXT: 50: 00 00 00 00 .word 0x0
# CHECK-NEXT: 00000050: R_CKCORE_ADDR32 .text+0x1022
# CHECK-NEXT: 54: 04 03 02 01 .word 0x01020304
# CHECK-NEXT: 58: fe ff ff ff .word 0xfffffffe