1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/MC/X86/x86-evenDirective.s
Michael Zuckerman 8fdb077443 [X86][inline asm] support even directive
The .even directive aligns content to an evan-numbered address.

In at&t syntax .even 
In Microsoft syntax even (without the dot).

Differential Revision: http://reviews.llvm.org/D15413

llvm-svn: 255462
2015-12-13 17:07:23 +00:00

48 lines
689 B
ArmAsm

# RUN: llvm-mc -filetype obj -o - %s | llvm-readobj -s -sd \
# RUN: | FileCheck %s
.text
even_check:
.byte 0x00
.byte 0x01
.byte 0x02
.byte 0x03
.byte 0x04
.byte 0x05
.byte 0x06
.byte 0x07
.byte 0x08
.byte 0x09
.byte 0x10
.even
.byte 0x11
.byte 0x12
.even
.byte 0x13
.even
.byte 0x00
.byte 0x01
.byte 0x02
.byte 0x03
.byte 0x04
.byte 0x05
.byte 0x06
.byte 0x07
.byte 0x08
.byte 0x09
.byte 0x10
.byte 0x11
.byte 0x12
.byte 0x13
.byte 0x14
.byte 0x15
# CHECK: Section {
# CHECK: Name: .text
# CHECK: SectionData (
# CHECK: 0000: 00010203 04050607 08091090 11121390
# CHECK: 0010: 00010203 04050607 08091011 12131415
# CHECK: )
# CHECK: }