mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
3beea23c1b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208691 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
525 B
ArmAsm
13 lines
525 B
ArmAsm
// RUN: llvm-mc -triple=thumbv7-none-linux-gnueabi -mcpu=cortex-a8 -filetype=obj < %s | llvm-objdump -arch=thumb -s - | FileCheck %s --check-prefix=CHECK-LE
|
|
// RUN: llvm-mc -triple=thumbebv7-none-linux-gnueabi -mcpu=cortex-a8 -filetype=obj < %s | llvm-objdump -arch=thumbeb -s - | FileCheck %s --check-prefix=CHECK-BE
|
|
.syntax unified
|
|
.code 16
|
|
.thumb_func
|
|
foo:
|
|
beq.w bar
|
|
|
|
// CHECK-LE: Contents of section .text:
|
|
// CHECK-LE-NEXT: 0000 3ff4feaf
|
|
// CHECK-BE: Contents of section .text:
|
|
// CHECK-BE-NEXT: 0000 f43faffe
|