Mercurial > hg > CbC > CbC_llvm
view test/MC/Mips/llvm-mc-fixup-endianness.s @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 54457678186b |
children |
line wrap: on
line source
# RUN: llvm-mc -show-encoding -mcpu=mips32 -triple mips-unknown-unknown %s | FileCheck -check-prefix=BE %s # RUN: llvm-mc -show-encoding -mcpu=mips32 -triple mipsel-unknown-unknown %s | FileCheck -check-prefix=LE %s # .text b foo # BE: b foo # encoding: [0x10,0x00,A,A] # LE: b foo # encoding: [A,A,0x00,0x10]