1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/Mips/micromips-el-fixup-data.s
Alp Toker 111bd28e59 Fix some doc and comment typos
llvm-svn: 205899
2014-04-09 14:47:27 +00:00

26 lines
603 B
ArmAsm

# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
# RUN: -mattr=+micromips 2>&1 -filetype=obj > %t.o
# RUN: llvm-objdump %t.o -triple mipsel -mattr=+micromips -d | FileCheck %s
# Check that fixup data is written in the microMIPS specific little endian
# byte order.
.text
.globl main
.align 2
.type main,@function
.set micromips
.set nomips16
.ent main
main:
addiu $sp, $sp, -16
bnez $9, lab1
# CHECK: 09 b4 04 00 bne $9, $zero, 8
addu $zero, $zero, $zero
lab1:
jr $ra
addiu $sp, $sp, 16
.end main