OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [mips/] [div-ilocks.d] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
#objdump: -dr --prefix-addresses -mmips:4000
2
#name: MIPS div
3
#source: div.s
4
 
5
# Test the div macro.
6
 
7
.*: +file format .*mips.*
8
 
9
Disassembly of section .text:
10
0+0000 <[^>]*> div  zero,a0,a1
11
0+0004 <[^>]*> bnez a1,0+0010 
12
0+0008 <[^>]*> div  zero,a0,a1
13
0+000c <[^>]*> break        (0x0,0x7|0x7)
14
0+0010 <[^>]*> li   at,-1
15
0+0014 <[^>]*> bne  a1,at,0+0028 
16
0+0018 <[^>]*> lui  at,0x8000
17
0+001c <[^>]*> bne  a0,at,0+0028 
18
0+0020 <[^>]*> nop
19
0+0024 <[^>]*> break        (0x0,0x6|0x6)
20
0+0028 <[^>]*> mflo a0
21
0+002c <[^>]*> bnez a2,0+0038 
22
0+0030 <[^>]*> div  zero,a1,a2
23
0+0034 <[^>]*> break        (0x0,0x7|0x7)
24
0+0038 <[^>]*> li   at,-1
25
0+003c <[^>]*> bne  a2,at,0+0050 
26
0+0040 <[^>]*> lui  at,0x8000
27
0+0044 <[^>]*> bne  a1,at,0+0050 
28
0+0048 <[^>]*> nop
29
0+004c <[^>]*> break        (0x0,0x6|0x6)
30
0+0050 <[^>]*> mflo a0
31
0+0054 <[^>]*> move a0,a0
32
0+0058 <[^>]*> move a0,a1
33
0+005c <[^>]*> neg  a0,a0
34
0+0060 <[^>]*> neg  a0,a1
35
0+0064 <[^>]*> li   at,2
36
0+0068 <[^>]*> div  zero,a0,at
37
0+006c <[^>]*> mflo a0
38
0+0070 <[^>]*> li   at,2
39
0+0074 <[^>]*> div  zero,a1,at
40
0+0078 <[^>]*> mflo a0
41
0+007c <[^>]*> li   at,0x8000
42
0+0080 <[^>]*> div  zero,a0,at
43
0+0084 <[^>]*> mflo a0
44
0+0088 <[^>]*> li   at,0x8000
45
0+008c <[^>]*> div  zero,a1,at
46
0+0090 <[^>]*> mflo a0
47
0+0094 <[^>]*> li   at,-32768
48
0+0098 <[^>]*> div  zero,a0,at
49
0+009c <[^>]*> mflo a0
50
0+00a0 <[^>]*> li   at,-32768
51
0+00a4 <[^>]*> div  zero,a1,at
52
0+00a8 <[^>]*> mflo a0
53
0+00ac <[^>]*> lui  at,0x1
54
0+00b0 <[^>]*> div  zero,a0,at
55
0+00b4 <[^>]*> mflo a0
56
0+00b8 <[^>]*> lui  at,0x1
57
0+00bc <[^>]*> div  zero,a1,at
58
0+00c0 <[^>]*> mflo a0
59
0+00c4 <[^>]*> lui  at,0x1
60
0+00c8 <[^>]*> ori  at,at,0xa5a5
61
0+00cc <[^>]*> div  zero,a0,at
62
0+00d0 <[^>]*> mflo a0
63
0+00d4 <[^>]*> lui  at,0x1
64
0+00d8 <[^>]*> ori  at,at,0xa5a5
65
0+00dc <[^>]*> div  zero,a1,at
66
0+00e0 <[^>]*> mflo a0
67
0+00e4 <[^>]*> divu zero,a0,a1
68
0+00e8 <[^>]*> bnez a1,0+0f4 
69
0+00ec <[^>]*> divu zero,a0,a1
70
0+00f0 <[^>]*> break        (0x0,0x7|0x7)
71
0+00f4 <[^>]*> mflo a0
72
0+00f8 <[^>]*> bnez a2,0+0104 
73
0+00fc <[^>]*> divu zero,a1,a2
74
0+0100 <[^>]*> break        (0x0,0x7|0x7)
75
0+0104 <[^>]*> mflo a0
76
0+0108 <[^>]*> move a0,a0
77
0+010c <[^>]*> bnez a2,0+0118 
78
0+0110 <[^>]*> div  zero,a1,a2
79
0+0114 <[^>]*> break        (0x0,0x7|0x7)
80
0+0118 <[^>]*> li   at,-1
81
0+011c <[^>]*> bne  a2,at,0+0130 
82
0+0120 <[^>]*> lui  at,0x8000
83
0+0124 <[^>]*> bne  a1,at,0+0130 
84
0+0128 <[^>]*> nop
85
0+012c <[^>]*> break        (0x0,0x6|0x6)
86
0+0130 <[^>]*> mfhi a0
87
0+0134 <[^>]*> li   at,2
88
0+0138 <[^>]*> divu zero,a1,at
89
0+013c <[^>]*> mfhi a0
90
0+0140 <[^>]*> bnez a2,0+014c 
91
0+0144 <[^>]*> ddiv zero,a1,a2
92
0+0148 <[^>]*> break        (0x0,0x7|0x7)
93
0+014c <[^>]*> daddiu       at,zero,-1
94
0+0150 <[^>]*> bne  a2,at,0+0168 
95
0+0154 <[^>]*> daddiu       at,zero,1
96
0+0158 <[^>]*> dsll32       at,at,0x1f
97
0+015c <[^>]*> bne  a1,at,0+0168 
98
0+0160 <[^>]*> nop
99
0+0164 <[^>]*> break        (0x0,0x6|0x6)
100
0+0168 <[^>]*> mflo a0
101
0+016c <[^>]*> li   at,2
102
0+0170 <[^>]*> ddivu        zero,a1,at
103
0+0174 <[^>]*> mflo a0
104
0+0178 <[^>]*> li   at,0x8000
105
0+017c <[^>]*> ddiv zero,a1,at
106
0+0180 <[^>]*> mfhi a0
107
0+0184 <[^>]*> li   at,-32768
108
0+0188 <[^>]*> ddivu        zero,a1,at
109
0+018c <[^>]*> mfhi a0
110
        ...

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.