repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
MC
/
Mips
/
set-mips0-directive.s
blob
5cb75bb90ea11568f37a0c8c513010105a593659
1
# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 | \
2
# RUN: FileCheck %s
3
4
.text
5
rotr $
7
,
$
7
,
22
6
7
.set mips32r6
8
mod $
2
,
$
4
,
$
6
9
.set mips0
10
rotr $
2
,
$
2
,
15
11
12
.set mips3
13
dadd $
4
,
$
4
,
$
4
14
.set mips0
15
rotr $
3
,
$
3
,
19
16
17
# CHECK: rotr $7, $7, 22
18
19
# CHECK: .set mips32r6
20
# CHECK: mod $2, $4, $6
21
# CHECK: .set mips0
22
# CHECK: rotr $2, $2, 15
23
24
# CHECK: .set mips3
25
# CHECK: dadd $4, $4, $4
26
# CHECK: .set mips0
27
# CHECK: rotr $3, $3, 19