mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
fa16693864
This has been implement using the MCTargetStreamer interface as is done in the ARM, Mips and PPC backends. Phabricator: http://reviews.llvm.org/D5891 PR20964 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220422 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
756 B
ArmAsm
25 lines
756 B
ArmAsm
// RUN: llvm-mc %s -triple=aarch64-none-linux-gnu -filetype=asm -o - \
|
|
// RUN: | FileCheck %s --check-prefix=CHECK-ASM
|
|
// RUN: llvm-mc %s -triple=aarch64-none-linux-gnu -filetype=obj -o - \
|
|
// RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
|
|
|
|
.section .inst.aarch64_inst
|
|
|
|
.align 2
|
|
.global aarch64_inst
|
|
.type aarch64_inst,%function
|
|
aarch64_inst:
|
|
.inst 0x5e104020
|
|
|
|
// CHECK-ASM: .align 2
|
|
// CHECK-ASM: .globl aarch64_inst
|
|
// CHECK-ASM: .type aarch64_inst,@function
|
|
// CHECK-ASM: aarch64_inst:
|
|
// CHECK-ASM: .inst 0x5E104020
|
|
|
|
// CHECK-OBJ: Section {
|
|
// CHECK-OBJ: Name: .inst.aarch64_inst
|
|
// CHECK-OBJ: SectionData (
|
|
// CHECK-OBJ-NEXT: 0000: 2040105E
|
|
// CHECK-OBJ-NEXT: )
|