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
155 lines
7.2 KiB
ArmAsm
155 lines
7.2 KiB
ArmAsm
# RUN: llvm-mc -triple=riscv32 -show-encoding --mattr=+v,+xsfvcp %s \
|
|
# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
# RUN: llvm-mc -triple=riscv64 -show-encoding --mattr=+v,+xsfvcp %s \
|
|
# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
# RUN: not llvm-mc -triple=riscv32 -show-encoding %s 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=CHECK-ERROR
|
|
# RUN: not llvm-mc -triple=riscv64 -show-encoding %s 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=CHECK-ERROR
|
|
# RUN: llvm-mc -triple=riscv32 -filetype=obj --mattr=+v,+xsfvcp %s \
|
|
# RUN: | llvm-objdump -d --mattr=+v,+xsfvcp --no-print-imm-hex - \
|
|
# RUN: | FileCheck %s --check-prefix=CHECK-INST
|
|
# RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+v,+xsfvcp %s \
|
|
# RUN: | llvm-objdump -d --mattr=+v,+xsfvcp --no-print-imm-hex - \
|
|
# RUN: | FileCheck %s --check-prefix=CHECK-INST
|
|
|
|
sf.vc.x 0x3, 0xf, 0x1f, a1
|
|
# CHECK-INST: sf.vc.x 3, 15, 31, a1
|
|
# CHECK-ENCODING: [0xdb,0xcf,0xf5,0x0e]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.i 0x3, 0xf, 0x1f, 15
|
|
# CHECK-INST: sf.vc.i 3, 15, 31, 15
|
|
# CHECK-ENCODING: [0xdb,0xbf,0xf7,0x0e]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.vv 0x3, 0x1f, v2, v1
|
|
# CHECK-INST: sf.vc.vv 3, 31, v2, v1
|
|
# CHECK-ENCODING: [0xdb,0x8f,0x20,0x2e]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.xv 0x3, 0x1f, v2, a1
|
|
# CHECK-INST: sf.vc.xv 3, 31, v2, a1
|
|
# CHECK-ENCODING: [0xdb,0xcf,0x25,0x2e]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.iv 0x3, 0x1f, v2, 15
|
|
# CHECK-INST: sf.vc.iv 3, 31, v2, 15
|
|
# CHECK-ENCODING: [0xdb,0xbf,0x27,0x2e]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.fv 0x1, 0x1f, v2, fa1
|
|
# CHECK-INST: sf.vc.fv 1, 31, v2, fa1
|
|
# CHECK-ENCODING: [0xdb,0xdf,0x25,0x2e]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.vvv 0x3, v0, v2, v1
|
|
# CHECK-INST: sf.vc.vvv 3, v0, v2, v1
|
|
# CHECK-ENCODING: [0x5b,0x80,0x20,0xae]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.xvv 0x3, v0, v2, a1
|
|
# CHECK-INST: sf.vc.xvv 3, v0, v2, a1
|
|
# CHECK-ENCODING: [0x5b,0xc0,0x25,0xae]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.ivv 0x3, v0, v2, 15
|
|
# CHECK-INST: sf.vc.ivv 3, v0, v2, 15
|
|
# CHECK-ENCODING: [0x5b,0xb0,0x27,0xae]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.fvv 0x1, v0, v2, fa1
|
|
# CHECK-INST: sf.vc.fvv 1, v0, v2, fa1
|
|
# CHECK-ENCODING: [0x5b,0xd0,0x25,0xae]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.vvw 0x3, v0, v2, v1
|
|
# CHECK-INST: sf.vc.vvw 3, v0, v2, v1
|
|
# CHECK-ENCODING: [0x5b,0x80,0x20,0xfe]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.xvw 0x3, v0, v2, a1
|
|
# CHECK-INST: sf.vc.xvw 3, v0, v2, a1
|
|
# CHECK-ENCODING: [0x5b,0xc0,0x25,0xfe]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.ivw 0x3, v0, v2, 15
|
|
# CHECK-INST: sf.vc.ivw 3, v0, v2, 15
|
|
# CHECK-ENCODING: [0x5b,0xb0,0x27,0xfe]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.fvw 0x1, v0, v2, fa1
|
|
# CHECK-INST: sf.vc.fvw 1, v0, v2, fa1
|
|
# CHECK-ENCODING: [0x5b,0xd0,0x25,0xfe]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.x 0x3, 0xf, v0, a1
|
|
# CHECK-INST: sf.vc.v.x 3, 15, v0, a1
|
|
# CHECK-ENCODING: [0x5b,0xc0,0xf5,0x0c]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.i 0x3, 0xf, v0, 15
|
|
# CHECK-INST: sf.vc.v.i 3, 15, v0, 15
|
|
# CHECK-ENCODING: [0x5b,0xb0,0xf7,0x0c]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.vv 0x3, v0, v2, v1
|
|
# CHECK-INST: sf.vc.v.vv 3, v0, v2, v1
|
|
# CHECK-ENCODING: [0x5b,0x80,0x20,0x2c]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.xv 0x3, v0, v2, a1
|
|
# CHECK-INST: sf.vc.v.xv 3, v0, v2, a1
|
|
# CHECK-ENCODING: [0x5b,0xc0,0x25,0x2c]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.iv 0x3, v0, v2, 15
|
|
# CHECK-INST: sf.vc.v.iv 3, v0, v2, 15
|
|
# CHECK-ENCODING: [0x5b,0xb0,0x27,0x2c]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.fv 0x1, v0, v2, fa1
|
|
# CHECK-INST: sf.vc.v.fv 1, v0, v2, fa1
|
|
# CHECK-ENCODING: [0x5b,0xd0,0x25,0x2c]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.vvv 0x3, v0, v2, v1
|
|
# CHECK-INST: sf.vc.v.vvv 3, v0, v2, v1
|
|
# CHECK-ENCODING: [0x5b,0x80,0x20,0xac]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.xvv 0x3, v0, v2, a1
|
|
# CHECK-INST: sf.vc.v.xvv 3, v0, v2, a1
|
|
# CHECK-ENCODING: [0x5b,0xc0,0x25,0xac]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.ivv 0x3, v0, v2, 15
|
|
# CHECK-INST: sf.vc.v.ivv 3, v0, v2, 15
|
|
# CHECK-ENCODING: [0x5b,0xb0,0x27,0xac]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.fvv 0x1, v0, v2, fa1
|
|
# CHECK-INST: sf.vc.v.fvv 1, v0, v2, fa1
|
|
# CHECK-ENCODING: [0x5b,0xd0,0x25,0xac]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.vvw 0x3, v0, v2, v1
|
|
# CHECK-INST: sf.vc.v.vvw 3, v0, v2, v1
|
|
# CHECK-ENCODING: [0x5b,0x80,0x20,0xfc]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.xvw 0x3, v0, v2, a1
|
|
# CHECK-INST: sf.vc.v.xvw 3, v0, v2, a1
|
|
# CHECK-ENCODING: [0x5b,0xc0,0x25,0xfc]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.ivw 0x3, v0, v2, 15
|
|
# CHECK-INST: sf.vc.v.ivw 3, v0, v2, 15
|
|
# CHECK-ENCODING: [0x5b,0xb0,0x27,0xfc]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|
|
|
|
sf.vc.v.fvw 0x1, v0, v2, fa1
|
|
# CHECK-INST: sf.vc.v.fvw 1, v0, v2, fa1
|
|
# CHECK-ENCODING: [0x5b,0xd0,0x25,0xfc]
|
|
# CHECK-ERROR: instruction requires the following: 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions){{$}}
|