bpf: New disassembler testcases for 32-bit subregister support
authorYonghong Song <yhs@fb.com>
Fri, 23 Feb 2018 23:49:35 +0000 (23:49 +0000)
committerYonghong Song <yhs@fb.com>
Fri, 23 Feb 2018 23:49:35 +0000 (23:49 +0000)
commitb68cef9dd0e204bbd4fa17f2559416d5b44829a2
tree9e58286aacac7ab1deea7bd12852f43a3c427635
parentc4ca879fac72882654fe6b80bb3a33fad6c6e5de
bpf: New disassembler testcases for 32-bit subregister support

This patch test disassembler output for load/store instructions when
-mattr=+alu32 specified for which we want to use "w" register format.

Also, this patch extended the existing insn-unit.s and insn-unit-32.s to
make sure disassemblers for all other instructions are not affected.

Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-by: Yonghong Song <yhs@fb.com>
llvm-svn: 325993
llvm/test/MC/BPF/insn-unit-32.s
llvm/test/MC/BPF/insn-unit.s
llvm/test/MC/BPF/load-store-32.s [new file with mode: 0644]