1# RUN: llvm-mc -show-encoding -mcpu=mips32 -triple mips-unknown-unknown %s | FileCheck -check-prefix=BE %s
2# RUN: llvm-mc -show-encoding -mcpu=mips32 -triple mipsel-unknown-unknown %s | FileCheck -check-prefix=LE %s
3#
4        .text
5        b foo # BE: b foo # encoding: [0x10,0x00,A,A]
6              # LE: b foo # encoding: [A,A,0x00,0x10]
7