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
104 lines
2.6 KiB
ArmAsm
104 lines
2.6 KiB
ArmAsm
# RUN: llvm-mc -triple x86_64-pc-win32 %s | FileCheck %s
|
|
|
|
# Round trip via intel syntax printing and back.
|
|
# RUN: llvm-mc -triple x86_64-pc-win32 %s -output-asm-variant=1 | \
|
|
# RUN: llvm-mc -triple x86_64-pc-win32 -x86-asm-syntax=intel --output-asm-variant=0 | FileCheck %s
|
|
|
|
.text
|
|
.globl func
|
|
.def func; .scl 2; .type 32; .endef
|
|
.seh_proc func
|
|
# CHECK: .seh_proc func
|
|
func:
|
|
.seh_pushframe @code
|
|
# CHECK: .seh_pushframe @code
|
|
subq $24, %rsp
|
|
.seh_stackalloc 24
|
|
# CHECK: .seh_stackalloc 24
|
|
movq %rsi, 16(%rsp)
|
|
.seh_savereg %rsi, 16
|
|
# CHECK: .seh_savereg %rsi, 16
|
|
.seh_savereg 6, 16
|
|
# CHECK: .seh_savereg %rsi, 16
|
|
movups %xmm8, (%rsp)
|
|
.seh_savexmm %xmm8, 0
|
|
# CHECK: .seh_savexmm %xmm8, 0
|
|
.seh_savexmm 8, 0
|
|
# CHECK: .seh_savexmm %xmm8, 0
|
|
pushq %rbx
|
|
.seh_pushreg %rbx
|
|
# CHECK: .seh_pushreg %rbx
|
|
.seh_pushreg 3
|
|
# CHECK: .seh_pushreg %rbx
|
|
mov %rsp, %rbx
|
|
.seh_setframe 3, 0
|
|
# CHECK: .seh_setframe %rbx, 0
|
|
.seh_endprologue
|
|
# CHECK: .seh_endprologue
|
|
.seh_handler __C_specific_handler, @except
|
|
# CHECK: .seh_handler __C_specific_handler, @except
|
|
.seh_handlerdata
|
|
# CHECK-NOT: .section{{.*}}.xdata
|
|
# CHECK: .seh_handlerdata
|
|
.long 0
|
|
.text
|
|
.seh_endprologue
|
|
.seh_splitchained
|
|
.seh_endprologue
|
|
# CHECK: .text
|
|
# CHECK: .seh_endprologue
|
|
# CHECK: .seh_splitchained
|
|
# CHECK: .seh_endprologue
|
|
.seh_startepilogue
|
|
# CHECK: .seh_startepilogue
|
|
lea (%rbx), %rsp
|
|
pop %rbx
|
|
addq $24, %rsp
|
|
.seh_endepilogue
|
|
# CHECK: .seh_endepilogue
|
|
ret
|
|
.seh_endproc
|
|
# CHECK: .seh_endproc
|
|
|
|
# Re-run more or less the same test, but with intel syntax. Previously LLVM
|
|
# required percent prefixing in the .seh_* directives that take registers.
|
|
|
|
.intel_syntax noprefix
|
|
.text
|
|
.globl func_intel
|
|
.def func_intel; .scl 2; .type 32; .endef
|
|
.seh_proc func_intel
|
|
# CHECK: .seh_proc func_intel
|
|
func_intel:
|
|
sub RSP, 24
|
|
.seh_stackalloc 24
|
|
# CHECK: .seh_stackalloc 24
|
|
mov [16+RSP], RSI
|
|
.seh_savereg rsi, 16
|
|
# CHECK: .seh_savereg %rsi, 16
|
|
.seh_savereg 6, 16
|
|
# CHECK: .seh_savereg %rsi, 16
|
|
movups [RSP], XMM8
|
|
.seh_savexmm XMM8, 0
|
|
# CHECK: .seh_savexmm %xmm8, 0
|
|
.seh_savexmm 8, 0
|
|
# CHECK: .seh_savexmm %xmm8, 0
|
|
push rbx
|
|
.seh_pushreg rbx
|
|
# CHECK: .seh_pushreg %rbx
|
|
.seh_pushreg 3
|
|
# CHECK: .seh_pushreg %rbx
|
|
mov rbx, rsp
|
|
.seh_setframe rbx, 0
|
|
# CHECK: .seh_setframe %rbx, 0
|
|
.seh_endprologue
|
|
# CHECK: .seh_endprologue
|
|
.seh_handler __C_specific_handler, @except
|
|
# CHECK: .seh_handler __C_specific_handler, @except
|
|
.seh_handlerdata
|
|
# CHECK-NOT: .section{{.*}}.xdata
|
|
# CHECK: .seh_handlerdata
|
|
.long 0
|
|
.text
|
|
.seh_endproc
|