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
60 lines
2.3 KiB
ArmAsm
60 lines
2.3 KiB
ArmAsm
# RUN: llvm-mc %s -triple=riscv32 -mattr=+zfbfmin -M no-aliases -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc %s -triple=riscv64 -mattr=+zfbfmin -M no-aliases -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zfbfmin,+f < %s \
|
|
# RUN: | llvm-objdump --mattr=+zfbfmin --no-print-imm-hex -M no-aliases -d -r - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+zfbfmin,+f < %s \
|
|
# RUN: | llvm-objdump --mattr=+zfbfmin --no-print-imm-hex -M no-aliases -d -r - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
|
|
|
|
# CHECK-ASM-AND-OBJ: flh ft0, 12(a0)
|
|
# CHECK-ASM: encoding: [0x07,0x10,0xc5,0x00]
|
|
flh f0, 12(a0)
|
|
# CHECK-ASM-AND-OBJ: flh ft1, 4(ra)
|
|
# CHECK-ASM: encoding: [0x87,0x90,0x40,0x00]
|
|
flh f1, +4(ra)
|
|
# CHECK-ASM-AND-OBJ: flh ft2, -2048(a3)
|
|
# CHECK-ASM: encoding: [0x07,0x91,0x06,0x80]
|
|
flh f2, -2048(x13)
|
|
# CHECK-ASM: flh ft3, %lo(2048)(s1) # encoding: [0x87,0x91,0bAAAA0100,A]
|
|
# CHECK-OBJ: flh ft3, -2048(s1)
|
|
flh f3, %lo(2048)(s1)
|
|
# CHECK-ASM-AND-OBJ: flh ft4, 2047(s2)
|
|
# CHECK-ASM: encoding: [0x07,0x12,0xf9,0x7f]
|
|
flh f4, 2047(s2)
|
|
# CHECK-ASM-AND-OBJ: flh ft5, 0(s3)
|
|
# CHECK-ASM: encoding: [0x87,0x92,0x09,0x00]
|
|
flh f5, 0(s3)
|
|
|
|
# CHECK-ASM-AND-OBJ: fsh ft6, 2047(s4)
|
|
# CHECK-ASM: encoding: [0xa7,0x1f,0x6a,0x7e]
|
|
fsh f6, 2047(s4)
|
|
# CHECK-ASM-AND-OBJ: fsh ft7, -2048(s5)
|
|
# CHECK-ASM: encoding: [0x27,0x90,0x7a,0x80]
|
|
fsh f7, -2048(s5)
|
|
# CHECK-ASM: fsh fs0, %lo(2048)(s6) # encoding: [0x27'A',0x10'A',0x8b'A',A]
|
|
# CHECK-OBJ: fsh fs0, -2048(s6)
|
|
fsh f8, %lo(2048)(s6)
|
|
# CHECK-ASM-AND-OBJ: fsh fs1, 999(s7)
|
|
# CHECK-ASM: encoding: [0xa7,0x93,0x9b,0x3e]
|
|
fsh f9, 999(s7)
|
|
|
|
# CHECK-ASM-AND-OBJ: fmv.x.h a2, fs7
|
|
# CHECK-ASM: encoding: [0x53,0x86,0x0b,0xe4]
|
|
fmv.x.h a2, fs7
|
|
# CHECK-ASM-AND-OBJ: fmv.h.x ft1, a6
|
|
# CHECK-ASM: encoding: [0xd3,0x00,0x08,0xf4]
|
|
fmv.h.x ft1, a6
|
|
|
|
# CHECK-ASM-AND-OBJ: fcvt.s.bf16 fa0, ft0
|
|
# CHECK-ASM: encoding: [0x53,0x05,0x60,0x40]
|
|
fcvt.s.bf16 fa0, ft0
|
|
# CHECK-ASM-AND-OBJ: fcvt.s.bf16 fa0, ft0, rup
|
|
# CHECK-ASM: encoding: [0x53,0x35,0x60,0x40]
|
|
fcvt.s.bf16 fa0, ft0, rup
|
|
# CHECK-ASM-AND-OBJ: fcvt.bf16.s ft2, fa2
|
|
# CHECK-ASM: encoding: [0x53,0x71,0x86,0x44]
|
|
fcvt.bf16.s ft2, fa2
|