forked from knightsc/gapstone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathppc.SPEC
More file actions
119 lines (101 loc) · 2.57 KB
/
ppc.SPEC
File metadata and controls
119 lines (101 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
****************
Platform: PPC-64
Code:0x43 0x20 0x0c 0x07 0x41 0x56 0xff 0x17 0x80 0x20 0x00 0x00 0x80 0x3f 0x00 0x00 0x10 0x43 0x23 0x0e 0xd0 0x44 0x00 0x80 0x4c 0x43 0x22 0x02 0x2d 0x03 0x00 0x80 0x7c 0x43 0x20 0x14 0x7c 0x43 0x20 0x93 0x4f 0x20 0x00 0x21 0x4c 0xc8 0x00 0x21 0x40 0x82 0x00 0x14
Disasm:
0x1000: bcla 0x19, lt, 0xc04
op_count: 3
operands[0].type: IMM = 0x19
operands[1].type: REG = 0
operands[2].type: IMM = 0xc04
Branch code: 16
0x1004: bdztla 4*cr5+eq, 0xffffff14
op_count: 2
operands[0].type: REG = 22
operands[1].type: IMM = 0xffffffffffffff14
Branch code: 76
0x1008: lwz r1, 0(0)
op_count: 2
operands[0].type: REG = r1
operands[1].type: MEM
operands[1].mem.base: REG = 0
Branch code: 65535
0x100c: lwz r1, 0(r31)
op_count: 2
operands[0].type: REG = r1
operands[1].type: MEM
operands[1].mem.base: REG = r31
Branch code: 65535
0x1010: vpkpx v2, v3, v4
op_count: 3
operands[0].type: REG = v2
operands[1].type: REG = v3
operands[2].type: REG = v4
Branch code: 65535
0x1014: stfs f2, 0x80(r4)
op_count: 2
operands[0].type: REG = f2
operands[1].type: MEM
operands[1].mem.base: REG = r4
operands[1].mem.disp: 0x80
Branch code: 65535
0x1018: crand eq, un, 4*cr1+lt
op_count: 3
operands[0].type: REG = 2
operands[1].type: REG = 3
operands[2].type: REG = 4
Branch code: 65535
0x101c: cmpwi cr2, r3, 0x80
op_count: 3
operands[0].type: REG = cr2
operands[1].type: REG = r3
operands[2].type: IMM = 0x80
Branch code: 65535
0x1020: addc r2, r3, r4
op_count: 3
operands[0].type: REG = r2
operands[1].type: REG = r3
operands[2].type: REG = r4
Branch code: 65535
0x1024: mulhd. r2, r3, r4
op_count: 3
operands[0].type: REG = r2
operands[1].type: REG = r3
operands[2].type: REG = r4
Branch code: 65535
Update-CR0: True
0x1028: bdnzlrl+
Branch code: 16
Branch hint: 1
0x102c: bflrl- 4*cr2+lt
op_count: 1
operands[0].type: REG = 8
Branch code: 4
Branch hint: 1
0x1030: bf eq, 0x1044
op_count: 2
operands[0].type: REG = 2
operands[1].type: IMM = 0x1044
Branch code: 68
0x1034:
****************
Platform: PPC-64 + QPX
Code:0x10 0x60 0x2a 0x10 0x10 0x64 0x28 0x88 0x7c 0x4a 0x5d 0x0f
Disasm:
0x1000: qvfabs q3, q5
op_count: 2
operands[0].type: REG = q3
operands[1].type: REG = q5
Branch code: 65535
0x1004: qvfand q3, q4, q5
op_count: 3
operands[0].type: REG = q3
operands[1].type: REG = q4
operands[2].type: REG = q5
Branch code: 65535
0x1008: qvstfsxa q2, r10, r11
op_count: 2
operands[0].type: REG = q2
operands[1].type: MEM
operands[1].mem.base: REG = r10
Branch code: 65535
0x100c: