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
61 lines
2.2 KiB
ArmAsm
61 lines
2.2 KiB
ArmAsm
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+fprcvt < %s \
|
|
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
|
|
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
|
|
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+fprcvt < %s \
|
|
// RUN: | llvm-objdump -d --mattr=+fprcvt - | FileCheck %s --check-prefix=CHECK-INST
|
|
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+fprcvt < %s \
|
|
// RUN: | llvm-objdump -d --no-print-imm-hex --mattr=-fprcvt - | FileCheck %s --check-prefix=CHECK-UNKNOWN
|
|
// Disassemble encoding and check the re-encoding (-show-encoding) matches.
|
|
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+fprcvt < %s \
|
|
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
|
|
// RUN: | llvm-mc -triple=aarch64 -mattr=+fprcvt -disassemble -show-encoding \
|
|
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
|
|
scvtf d1, s2
|
|
// CHECK-INST: scvtf d1, s2
|
|
// CHECK-ENCODING: [0x41,0x00,0x7c,0x1e]
|
|
// CHECK-ERROR: instruction requires: fprcvt
|
|
// CHECK-UNKNOWN: 1e7c0041 <unknown>
|
|
|
|
scvtf h1, s2
|
|
// CHECK-INST: scvtf h1, s2
|
|
// CHECK-ENCODING: [0x41,0x00,0xfc,0x1e]
|
|
// CHECK-ERROR: instruction requires: fprcvt
|
|
// CHECK-UNKNOWN: 1efc0041 <unknown>
|
|
|
|
scvtf h2, d0
|
|
// CHECK-INST: scvtf h2, d0
|
|
// CHECK-ENCODING: [0x02,0x00,0xfc,0x9e]
|
|
// CHECK-ERROR: instruction requires: fprcvt
|
|
// CHECK-UNKNOWN: 9efc0002 <unknown>
|
|
|
|
scvtf s3, d4
|
|
// CHECK-INST: scvtf s3, d4
|
|
// CHECK-ENCODING: [0x83,0x00,0x3c,0x9e]
|
|
// CHECK-ERROR: instruction requires: fprcvt
|
|
// CHECK-UNKNOWN: 9e3c0083 <unknown>
|
|
|
|
ucvtf d1, s2
|
|
// CHECK-INST: ucvtf d1, s2
|
|
// CHECK-ENCODING: [0x41,0x00,0x7d,0x1e]
|
|
// CHECK-ERROR: instruction requires: fprcvt
|
|
// CHECK-UNKNOWN: 1e7d0041 <unknown>
|
|
|
|
ucvtf h1, s2
|
|
// CHECK-INST: ucvtf h1, s2
|
|
// CHECK-ENCODING: [0x41,0x00,0xfd,0x1e]
|
|
// CHECK-ERROR: instruction requires: fprcvt
|
|
// CHECK-UNKNOWN: 1efd0041 <unknown>
|
|
|
|
ucvtf h2, d0
|
|
// CHECK-INST: ucvtf h2, d0
|
|
// CHECK-ENCODING: [0x02,0x00,0xfd,0x9e]
|
|
// CHECK-ERROR: instruction requires: fprcvt
|
|
// CHECK-UNKNOWN: 9efd0002 <unknown>
|
|
|
|
ucvtf s3, d4
|
|
// CHECK-INST: ucvtf s3, d4
|
|
// CHECK-ENCODING: [0x83,0x00,0x3d,0x9e]
|
|
// CHECK-ERROR: instruction requires: fprcvt
|
|
// CHECK-UNKNOWN: 9e3d0083 <unknown> |