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
84 lines
3.0 KiB
ArmAsm
84 lines
3.0 KiB
ArmAsm
# RUN: llvm-mc -triple=wasm32-unknown-unknown -mattr=+reference-types < %s | FileCheck --check-prefix=CHECK %s
|
|
# RUN: llvm-mc -triple=wasm32-unknown-unknown -mattr=+reference-types -filetype=obj < %s | obj2yaml | FileCheck -check-prefix=BIN %s
|
|
|
|
test0:
|
|
.functype test0 () -> ()
|
|
i32.const 42
|
|
f64.const 2.5
|
|
i32.const 0
|
|
call_indirect empty_fref_table, (i32, f64) -> ()
|
|
end_function
|
|
|
|
.tabletype empty_fref_table, funcref
|
|
empty_fref_table:
|
|
|
|
|
|
# CHECK: .text
|
|
# CHECK-LABEL: test0:
|
|
# CHECK-NEXT: .functype test0 () -> ()
|
|
# CHECK-NEXT: i32.const 42
|
|
# CHECK-NEXT: f64.const 0x1.4p1
|
|
# CHECK-NEXT: i32.const 0
|
|
# CHECK-NEXT: call_indirect empty_fref_table, (i32, f64) -> ()
|
|
# CHECK-NEXT: end_function
|
|
|
|
# CHECK: .tabletype empty_fref_table, funcref
|
|
# CHECK: empty_fref_table:
|
|
|
|
# BIN: --- !WASM
|
|
# BIN-NEXT: FileHeader:
|
|
# BIN-NEXT: Version: 0x1
|
|
# BIN-NEXT: Sections:
|
|
# BIN-NEXT: - Type: TYPE
|
|
# BIN-NEXT: Signatures:
|
|
# BIN-NEXT: - Index: 0
|
|
# BIN-NEXT: ParamTypes: []
|
|
# BIN-NEXT: ReturnTypes: []
|
|
# BIN-NEXT: - Index: 1
|
|
# BIN-NEXT: ParamTypes:
|
|
# BIN-NEXT: - I32
|
|
# BIN-NEXT: - F64
|
|
# BIN-NEXT: ReturnTypes: []
|
|
# BIN-NEXT: - Type: IMPORT
|
|
# BIN-NEXT: Imports:
|
|
# BIN-NEXT: - Module: env
|
|
# BIN-NEXT: Field: __linear_memory
|
|
# BIN-NEXT: Kind: MEMORY
|
|
# BIN-NEXT: Memory:
|
|
# BIN-NEXT: Minimum: 0x0
|
|
# BIN-NEXT: - Type: FUNCTION
|
|
# BIN-NEXT: FunctionTypes: [ 0 ]
|
|
# BIN-NEXT: - Type: TABLE
|
|
# BIN-NEXT: Tables:
|
|
# BIN-NEXT: - Index: 0
|
|
# BIN-NEXT: ElemType: FUNCREF
|
|
# BIN-NEXT: Limits:
|
|
# BIN-NEXT: Minimum: 0x0
|
|
# BIN-NEXT: - Type: CODE
|
|
# BIN-NEXT: Relocations:
|
|
# BIN-NEXT: - Type: R_WASM_TYPE_INDEX_LEB
|
|
# BIN-NEXT: Index: 1
|
|
# BIN-NEXT: Offset: 0x11
|
|
# BIN-NEXT: - Type: R_WASM_TABLE_NUMBER_LEB
|
|
# BIN-NEXT: Index: 1
|
|
# BIN-NEXT: Offset: 0x16
|
|
# BIN-NEXT: Functions:
|
|
# BIN-NEXT: - Index: 0
|
|
# BIN-NEXT: Locals: []
|
|
# BIN-NEXT: Body: 412A440000000000000440410011818080800080808080000B
|
|
# BIN-NEXT: - Type: CUSTOM
|
|
# BIN-NEXT: Name: linking
|
|
# BIN-NEXT: Version: 2
|
|
# BIN-NEXT: SymbolTable:
|
|
# BIN-NEXT: - Index: 0
|
|
# BIN-NEXT: Kind: FUNCTION
|
|
# BIN-NEXT: Name: test0
|
|
# BIN-NEXT: Flags: [ BINDING_LOCAL ]
|
|
# BIN-NEXT: Function: 0
|
|
# BIN-NEXT: - Index: 1
|
|
# BIN-NEXT: Kind: TABLE
|
|
# BIN-NEXT: Name: empty_fref_table
|
|
# BIN-NEXT: Flags: [ BINDING_LOCAL ]
|
|
# BIN-NEXT: Table: 0
|
|
# BIN-NEXT: ...
|