projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Revert r254897 "[mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions"
[oota-llvm.git]
/
test
/
MC
/
Mips
/
micromips-alias.s
1
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - \
2
# RUN: | llvm-readobj -t | FileCheck %s
3
4
# Symbol bar must be marked as micromips.
5
# CHECK: Name: bar
6
# CHECK: Other: 128
7
.align 2
8
.type f,@function
9
.set nomips16
10
.set micromips
11
f:
12
nop
13
.set nomicromips
14
nop
15
.globl bar
16
bar = f
17
18
# CHECK: Name: foo
19
# CHECK: Other: 128
20
.type o,@object
21
.set micromips
22
o:
23
.insn
24
.word 0x00000000
25
.set nomicromips
26
27
.globl foo
28
foo = o