projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
* mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
[deliverable/binutils-gdb.git]
/
gas
/
testsuite
/
gas
/
mips
/
mips16e-save.s
1
# Test the generation of the mips16e save instruction
2
3
.set mips16
4
.text
5
func:
6
# Un-extended version
7
save 8
8
save $31,16
9
save $16,24
10
save $17,32
11
save $16-$17,40
12
save $31,$16,48
13
save $31,$17,56
14
save $31,$16,$17,64
15
save $31,$16-$17,72
16
save 80,$31,$16-$17
17
save $31,88,$16,$17
18
save $31,$17,128,$16
19
20
# Extended version
21
save 136
22
save $31,144
23
save $16-$17,152
24
25
# sreg
26
save $18,64
27
save $18-$23,72
28
save $18-$23,$30,80
29
save $16-$23,$30,88
30
31
# static areg
32
save 64,$7
33
save 128,$7,$6
34
save 256,$7,$6,$5,$4
35
36
# areg
37
save $4,256
38
save $4,$5,128
39
save $4,$5,$6,$7,64
40
41
# mix areg and static areg
42
save $4,128,$7
43
save $4,128,$7,$6,$5
44
save $4,$5,128,$7,$6
45
save $4,$5,$6,128,$7
46
47
save $4-$5,$16-$23,$30-$31,128,$6-$7
48
49
restore $16,$17,$31,128
50
restore $31,136
51
restore $18,64
52
restore $4-$5,$16-$23,$30-$31,128,$6-$7
53
54
.p2align 4
55
This page took
0.031532 seconds
and
4
git commands to generate.