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
48 lines
1.9 KiB
LLVM
48 lines
1.9 KiB
LLVM
; REQUIRES: aarch64, x86
|
|
; RUN: split-file %s %t.dir && cd %t.dir
|
|
|
|
; RUN: llvm-as arm64ec.ll -o arm64ec.obj
|
|
; RUN: llvm-as aarch64.ll -o aarch64.obj
|
|
; RUN: llvm-mc -filetype=obj -triple=aarch64-windows %S/Inputs/loadconfig-arm64.s -o loadconfig-arm64.obj
|
|
; RUN: llvm-mc -filetype=obj -triple=arm64ec-windows %S/Inputs/loadconfig-arm64ec.s -o loadconfig-arm64ec.obj
|
|
|
|
; RUN: lld-link -machine:arm64x aarch64.obj arm64ec.obj loadconfig-arm64.obj loadconfig-arm64ec.obj -out:out.exe -subsystem:console
|
|
; RUN: llvm-objdump -d out.exe | FileCheck %s
|
|
|
|
; CHECK: 0000000140001000 <.text>:
|
|
; CHECK-NEXT: 140001000: 52800020 mov w0, #0x1 // =1
|
|
; CHECK-NEXT: 140001004: d65f03c0 ret
|
|
; CHECK-NEXT: ...
|
|
; CHECK-NEXT: 140002000: 00000009 udf #0x9
|
|
; CHECK-NEXT: 140002004: 52800040 mov w0, #0x2 // =2
|
|
; CHECK-NEXT: 140002008: d65f03c0 ret
|
|
|
|
; CHECK: 0000000140003000 <.hexpthk>:
|
|
; CHECK-NEXT: 140003000: 48 8b c4 movq %rsp, %rax
|
|
; CHECK-NEXT: 140003003: 48 89 58 20 movq %rbx, 0x20(%rax)
|
|
; CHECK-NEXT: 140003007: 55 pushq %rbp
|
|
; CHECK-NEXT: 140003008: 5d popq %rbp
|
|
; CHECK-NEXT: 140003009: e9 f6 ef ff ff jmp 0x140002004 <.text+0x1004>
|
|
; CHECK-NEXT: 14000300e: cc int3
|
|
; CHECK-NEXT: 14000300f: cc int3
|
|
|
|
#--- arm64ec.ll
|
|
|
|
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-p:64:64-i32:32-i64:64-i128:128-n32:64-S128-Fn32"
|
|
target triple = "arm64ec-unknown-windows-msvc"
|
|
|
|
define dso_local i32 @mainCRTStartup() {
|
|
entry:
|
|
ret i32 2
|
|
}
|
|
|
|
#--- aarch64.ll
|
|
|
|
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-p:64:64-i32:32-i64:64-i128:128-n32:64-S128-Fn32"
|
|
target triple = "aarch64-unknown-windows-msvc"
|
|
|
|
define dso_local i32 @mainCRTStartup() {
|
|
entry:
|
|
ret i32 1
|
|
}
|