llvm-for-llvmta/test/MC/Hexagon/duplex-addi-global-imm.s

16 lines
242 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc -arch=hexagon -show-encoding %s | FileCheck %s
# Check that we generate a duplex for this packet.
# CHECK: encoding: [A,0x40'A',A,A,0x01'B',0x28'B',B,0x20'B']
.data
g:
.long 0
.text
{
r0 = add(r0,##g)
r1 = #0
}