projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Mips specific standalone assembler addressing mode %hi and %lo.
[oota-llvm.git]
/
test
/
MC
/
Mips
/
hilo-addressing.s
1
# RUN: llvm-mc -show-encoding -triple mips-unknown-unknown %s | FileCheck %s
2
3
.ent hilo_test
4
.equ addr, 0xdeadbeef
5
# CHECK: # encoding: [0x3c,0x04,0xde,0xae]
6
lui $4,%hi(addr)
7
# CHECK: # encoding: [0x03,0xe0,0x00,0x08]
8
jr $31
9
# CHECK: # encoding: [0x80,0x82,0xbe,0xef]
10
lb $2,%lo(addr)($4)
11
.end hilo_test