Sign in
cobalt
/
cobalt
/
bf4fe390b81028497c53296ce92f8c4193be685a
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
test
/
MC
/
Hexagon
/
duplex-addi-global-imm.s
blob: e8e338c6a582bac2a51e40ad23c2a792eb7c3ffb [
file
] [
log
] [
blame
]
# 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
}