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
70 lines
2.6 KiB
ArmAsm
70 lines
2.6 KiB
ArmAsm
# RUN: llvm-mc %s -triple=riscv32 -mattr=+zihintntl,+c -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc %s -triple=riscv64 -mattr=+zihintntl,+c -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zihintntl,+c < %s \
|
|
# RUN: | llvm-objdump --mattr=+zihintntl,+c -d -r - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+zihintntl,+c < %s \
|
|
# RUN: | llvm-objdump --mattr=+zihintntl,+c -d -r - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
|
|
#
|
|
# c.ntl.* hints are available when C extension is present, even without
|
|
# enabling Zihintntl (riscv-non-isa/riscv-elf-psabi-doc#474).
|
|
#
|
|
# RUN: llvm-mc %s -triple=riscv32 -mattr=+c -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc %s -triple=riscv64 -mattr=+c -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+c < %s \
|
|
# RUN: | llvm-objdump --mattr=+c -d -r - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c < %s \
|
|
# RUN: | llvm-objdump --mattr=+c -d -r - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
|
|
#
|
|
# c.ntl.* still require the C extension.
|
|
#
|
|
# RUN: not llvm-mc %s -triple=riscv32 2>&1 | FileCheck -check-prefix=CHECK-NO-C %s
|
|
# RUN: not llvm-mc %s -triple=riscv64 2>&1 | FileCheck -check-prefix=CHECK-NO-C %s
|
|
|
|
# CHECK-ASM-AND-OBJ: ntl.p1
|
|
# CHECK-ASM: encoding: [0x33,0x00,0x20,0x00]
|
|
ntl.p1
|
|
|
|
# CHECK-ASM-AND-OBJ: ntl.pall
|
|
# CHECK-ASM: encoding: [0x33,0x00,0x30,0x00]
|
|
ntl.pall
|
|
|
|
# CHECK-ASM-AND-OBJ: ntl.s1
|
|
# CHECK-ASM: encoding: [0x33,0x00,0x40,0x00]
|
|
ntl.s1
|
|
|
|
# CHECK-ASM-AND-OBJ: ntl.all
|
|
# CHECK-ASM: encoding: [0x33,0x00,0x50,0x00]
|
|
ntl.all
|
|
|
|
# CHECK-ASM-AND-OBJ: c.ntl.p1
|
|
# CHECK-ASM: encoding: [0x0a,0x90]
|
|
# CHECK-NO-C: error: instruction requires the following: 'C' (Compressed Instructions)
|
|
# CHECK-NO-C-NEXT: c.ntl.p1
|
|
c.ntl.p1
|
|
|
|
# CHECK-ASM-AND-OBJ: c.ntl.pall
|
|
# CHECK-ASM: encoding: [0x0e,0x90]
|
|
# CHECK-NO-C: error: instruction requires the following: 'C' (Compressed Instructions)
|
|
# CHECK-NO-C-NEXT: c.ntl.pall
|
|
c.ntl.pall
|
|
|
|
# CHECK-ASM-AND-OBJ: c.ntl.s1
|
|
# CHECK-ASM: encoding: [0x12,0x90]
|
|
# CHECK-NO-C: error: instruction requires the following: 'C' (Compressed Instructions)
|
|
# CHECK-NO-C-NEXT: c.ntl.s1
|
|
c.ntl.s1
|
|
|
|
# CHECK-ASM-AND-OBJ: c.ntl.all
|
|
# CHECK-ASM: encoding: [0x16,0x90]
|
|
# CHECK-NO-C: error: instruction requires the following: 'C' (Compressed Instructions)
|
|
# CHECK-NO-C-NEXT: c.ntl.all
|
|
c.ntl.all
|