about summary refs log tree commit diff stats
path: root/subx/031check_operands.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4668Kartik Agaram2018-10-051-4/+1
|
* 4503Kartik Agaram2018-09-221-0/+2
| | | | Include LEA (load effective address) in the SubX subset of x86 ISA.
* 4578 - subx: implement inc/dec operationsKartik Agaram2018-09-211-0/+18
|
* 4544Kartik Agaram2018-09-121-12/+12
| | | | | | | | Attempt #3 at fixing CI. In the process the feature gets a lot less half-baked. Ridiculously misleading that we had `has_metadata()` was special-cased to one specific transform. I suck.
* 4537Kartik Agaram2018-09-071-2/+1
| | | | | | | | | | | | | | | Streamline the factorial function; we don't need to save a stack variable into a register before operating on it. All instructions can take a stack variable directly. In the process we found two bugs: a) Opcode f7 was not implemented correctly. It was internally consistent but I'd never validated it against a natively running program. Turns out it encodes multiple instructions, not just 'not'. b) The way we look up imm32 operands was sometimes reading them before disp8/disp32 operands.
* 4527 - reading commandline argumentsKartik Agaram2018-08-301-0/+2
| | | | | | | | | | | The new example ex9 doesn't yet work natively. In the process I've emulated the kernel's role in providing args, implemented a couple of instructions acting on 8-bit operands (useful for ASCII string operations), and begun the start of the standard library (ascii_length is the same as strlen). At the level of SubX we're just only going to support ASCII.
* 4503Kartik Agaram2018-08-111-0/+9
|
* 4501Kartik Agaram2018-08-111-1/+1
|
* 4499Kartik Agaram2018-08-091-1/+1
| | | | | More tweaks for check passes. Ensure they're never first-class transforms.
* 4483Kartik Agaram2018-08-041-0/+511
Reorganize layers in accordance with the plan in layer 29.
ranger/blame/ranger/core/fm.py?id=489a1616407a3d6c588b1890c9ddbf795ae5724f'>^
3de15ddd ^
fa704bab ^
3de15ddd ^
d88232a3 ^
a1d7ed6e ^
9b83f114 ^
871c502d ^
1c1b6c31 ^
16246965 ^

20f94973 ^
a1d7ed6e ^
0c0b9489 ^
1c1b6c31 ^
9506fb8e ^
6f43de0a ^
a1d7ed6e ^
20f94973 ^
fa704bab ^
d46a05a8 ^
0c0b9489 ^

4f1a6e67 ^




a1d7ed6e ^


a99d5019 ^



cb1ed288 ^

d46a05a8 ^
c834433a ^
d46a05a8 ^

a1d7ed6e ^

f2d8598d ^
a1d7ed6e ^

0128bee7 ^



f2d8598d ^
0128bee7 ^
f2d8598d ^
0a1bc759 ^
0c0b9489 ^



9506fb8e ^
20f94973 ^
0128bee7 ^
b4a0c387 ^
20f94973 ^
0c0b9489 ^




16246965 ^



a1d7ed6e ^
ad1a4204 ^

b4b0eb24 ^
ad1a4204 ^



b4b0eb24 ^
a1d7ed6e ^
f8e96a97 ^

871c502d ^

361781cd ^







f2d8598d ^

361781cd ^




0cfc59d6 ^
361781cd ^
0cfc59d6 ^
361781cd ^
0cfc59d6 ^
361781cd ^
0cfc59d6 ^
361781cd ^
0cfc59d6 ^





361781cd ^
0cfc59d6 ^



9b83f114 ^
0cfc59d6 ^
3937f010 ^


0a16f0da ^
3937f010 ^
f2d8598d ^
361781cd ^

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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160