mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
f6492bc6b2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223967 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
717 B
Plaintext
27 lines
717 B
Plaintext
# RUN: llvm-mc -triple hexagon -disassemble < %s | FileCheck %s
|
|
|
|
0x00 0xc0 0xb5 0x50
|
|
# CHECK: callr r21
|
|
0x00 0xc1 0x15 0x51
|
|
# CHECK: if (p1) callr r21
|
|
0x00 0xc3 0x35 0x51
|
|
# CHECK: if (!p3) callr r21
|
|
0x00 0xc0 0x95 0x52
|
|
# CHECK: jumpr r21
|
|
0x00 0xc1 0x55 0x53
|
|
# CHECK: if (p1) jumpr r21
|
|
0x03 0x40 0x45 0x85 0x00 0xcb 0x55 0x53
|
|
# CHECK: p3 = r5
|
|
# CHECK-NEXT: if (p3.new) jumpr:nt r21
|
|
0x03 0x40 0x45 0x85 0x00 0xdb 0x55 0x53
|
|
# CHECK: p3 = r5
|
|
# CHECK-NEXT: if (p3.new) jumpr:t r21
|
|
0x00 0xc3 0x75 0x53
|
|
# CHECK: if (!p3) jumpr r21
|
|
0x03 0x40 0x45 0x85 0x00 0xcb 0x75 0x53
|
|
# CHECK: p3 = r5
|
|
# CHECK-NEXT: if (!p3.new) jumpr:nt r21
|
|
0x03 0x40 0x45 0x85 0x00 0xdb 0x75 0x53
|
|
# CHECK: p3 = r5
|
|
# CHECK-NEXT: if (!p3.new) jumpr:t r21
|