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
63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
# RUN: rm -rf %t && split-file %s %t && cd %t
|
|
# RUN: llvm-mc -triple=x86_64 --disassemble --hex a.s | FileCheck %s
|
|
# RUN: llvm-mc -triple=x86_64 --disassemble --hex decode1.s 2>&1 | FileCheck %s --check-prefix=DECODE1 --implicit-check-not=warning:
|
|
# RUN: not llvm-mc -triple=x86_64 --disassemble --hex decode2.s 2>&1 | FileCheck %s --check-prefix=DECODE2 --implicit-check-not=warning:
|
|
# RUN: not llvm-mc -triple=x86_64 --disassemble --hex err1.s 2>&1 | FileCheck %s --check-prefix=ERR1 --implicit-check-not=error:
|
|
# RUN: not llvm-mc -triple=x86_64 --disassemble --hex err2.s 2>&1 | FileCheck %s --check-prefix=ERR2 --implicit-check-not=error:
|
|
|
|
#--- a.s
|
|
4883ec08 31 # comment
|
|
# comment
|
|
ed4829 c390
|
|
[c3c3][4829c3]
|
|
[90]
|
|
|
|
# CHECK: subq $8, %rsp
|
|
# CHECK-NEXT: xorl %ebp, %ebp
|
|
# CHECK-NEXT: subq %rax, %rbx
|
|
# CHECK-NEXT: nop
|
|
# CHECK-NEXT: retq
|
|
# CHECK-NEXT: retq
|
|
# CHECK-NEXT: subq %rax, %rbx
|
|
# CHECK-NEXT: nop
|
|
# CHECK-EMPTY:
|
|
|
|
#--- decode1.s
|
|
4889
|
|
|
|
# DECODE1: 1:1: warning: invalid instruction encoding
|
|
|
|
#--- decode2.s
|
|
[4889][4889] [4889]4889c3
|
|
[4889]
|
|
|
|
# DECODE2: 1:2: warning: invalid instruction encoding
|
|
# DECODE2: 1:8: warning: invalid instruction encoding
|
|
# DECODE2: 1:15: warning: invalid instruction encoding
|
|
# DECODE2: 2:3: warning: invalid instruction encoding
|
|
|
|
#--- err1.s
|
|
0x31ed
|
|
0xcc
|
|
g0
|
|
|
|
# ERR1: 1:1: error: invalid input token
|
|
# ERR1: 2:1: error: invalid input token
|
|
# ERR1: 3:1: error: invalid input token
|
|
# ERR1: xorl %ebp, %ebp
|
|
# ERR1-NEXT: int3
|
|
# ERR1-EMPTY:
|
|
|
|
#--- err2.s
|
|
g
|
|
90c
|
|
cc
|
|
c
|
|
|
|
# ERR2: 1:1: error: expected two hex digits
|
|
# ERR2: 2:3: error: expected two hex digits
|
|
# ERR2: 4:1: error: expected two hex digits
|
|
# ERR2: nop
|
|
# ERR2-NEXT: int3
|
|
# ERR2-EMPTY:
|