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
79 lines
3.5 KiB
ArmAsm
79 lines
3.5 KiB
ArmAsm
# RUN: llvm-mc %s -triple=riscv32 -mattr=+zalasr -M no-aliases -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zalasr < %s \
|
|
# RUN: | llvm-objdump --mattr=+zalasr -M no-aliases -d -r - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc %s -triple=riscv64 -mattr=+zalasr -M no-aliases -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+zalasr < %s \
|
|
# RUN: | llvm-objdump --mattr=+zalasr -M no-aliases -d -r - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
|
|
#
|
|
# RUN: not llvm-mc -triple riscv32 \
|
|
# RUN: -M no-aliases -show-encoding < %s 2>&1 \
|
|
# RUN: | FileCheck --check-prefixes=CHECK-NO-EXT %s
|
|
# RUN: not llvm-mc -triple riscv64 \
|
|
# RUN: -M no-aliases -show-encoding < %s 2>&1 \
|
|
# RUN: | FileCheck --check-prefixes=CHECK-NO-EXT %s
|
|
|
|
# CHECK-ASM-AND-OBJ: lb.aq t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x03,0x05,0x34]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
lb.aq t1, 0(a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: lh.aq t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x13,0x05,0x34]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
lh.aq t1, 0(a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: lw.aq t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x23,0x05,0x34]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
lw.aq t1, (a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: lb.aqrl t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x03,0x05,0x36]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
lb.aqrl t1, 0(a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: lh.aqrl t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x13,0x05,0x36]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
lh.aqrl t1, (a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: lw.aqrl t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x23,0x05,0x36]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
lw.aqrl t1, (a0)
|
|
|
|
|
|
# CHECK-ASM-AND-OBJ: sb.rl t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x00,0x65,0x3a]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
sb.rl t1, (a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: sh.rl t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x10,0x65,0x3a]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
sh.rl t1, 0(a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: sw.rl t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x20,0x65,0x3a]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
sw.rl t1, (a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: sb.aqrl t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x00,0x65,0x3e]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
sb.aqrl t1, (a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: sh.aqrl t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x10,0x65,0x3e]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
sh.aqrl t1, 0(a0)
|
|
|
|
# CHECK-ASM-AND-OBJ: sw.aqrl t1, (a0)
|
|
# CHECK-ASM: encoding: [0x2f,0x20,0x65,0x3e]
|
|
# CHECK-NO-EXT: error: instruction requires the following: 'Zalasr' (Load-Acquire and Store-Release Instructions){{$}}
|
|
sw.aqrl t1, 0(a0)
|