1 // We check that unrecognized opcodes are disassembled by llvm-objdump as data using the
.long directive
2 // and any trailing bytes are disassembled using the
.byte directive
3 // RUN
: llvm-mc
-filetype
=obj
-triple
=amdgcn-
-amdpal
-mcpu
=gfx900
-show-encoding
%s | llvm-objdump
-disassemble
-mcpu
=gfx900
- | FileCheck
%s
11 .long 0xabadc0d1, 0xabadc0d2, 0xabadc0d3, 0xabadc0d4
18 // CHECK
: .long 0xabadc0de
19 // CHECK_SAME
: : ABADC0DE
21 // CHECK
: .long 0xabadc0d1
22 // CHECK
: .long 0xabadc0d2
23 // CHECK
: .long 0xabadc0d3
24 // CHECK
: .long 0xabadc0d4
25 // CHECK
: .byte 0x0a, 0x0b, 0x0c
26 // CHECK-SAME
: : 0A 0B 0C