mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
445ba85b8d
is 24 bits not 20 and the decoding needed to correctly handle converting the J1 and J2 bits to their I1 and I2 values to reconstruct the displacement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166982 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
467 B
ArmAsm
13 lines
467 B
ArmAsm
@ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding < %s | FileCheck %s
|
|
.syntax unified
|
|
.globl _func
|
|
.thumb_func _foo
|
|
.space 0x37c6
|
|
_foo:
|
|
@------------------------------------------------------------------------------
|
|
@ B (thumb2 b.w encoding T4) rdar://12585795
|
|
@------------------------------------------------------------------------------
|
|
b.w 0x3680c
|
|
|
|
@ CHECK: b.w #223244 @ encoding: [0x6d,0xf0,0x0c,0xb0]
|