RSS feed
24738fc2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 04:48
Remove STRING token
6ef69d3e
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 04:36
Remove emitternary()
3d2ccb36
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 04:09
Fix problem in condition()
289a9181
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 03:56
Remove ugly macros from cc1.h
b08bb3cd
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 03:29
Rewrite cc1.h
32ec291e
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:57
Add missing static in code.c
1fa83f13
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:28
Convert emitswitch into private of code.c
57ca51bc
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:28
Convert emitdcl into private of code.c
7b85dc85
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:28
Convert emitret into private of code.c
eda1a5eb
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:28
Convert emitfun into private of code.c
a12c51a5
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:24
Conver emitprint into private function
ecd4d6b2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:19
Remove emiteloop, emitbloop, emitestruct, emitefun
97f296d2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:04
Convert emitsymid() to private of code.c
8b6e44b5
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:58
Remove non used local variable of freenode
35f16441
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:56
Add emit() function to cc1
1ca89cac
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:44
Fix typo in right field
e879cdfc
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:40
Pass aditional parameter to elements of opcode[]
24572d76
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:13
Unify emitbin() and emitunary()
bce2cfac
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:04
Unify emitstruct, emitlabel, emitjump, emitbranch, emitcase, emitdefault
507e3c82
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 13:05
Makes all emit*() only one parameter
9d1c9139
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 12:28
Change type of opcode[] array in cc1
5d9e9d54
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 12:06
Remove yyin
a6cbaeb1
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/24 14:46
Add security points in conditions and compounds
cb444f38
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 16:29
Makes setsafe to put the recovery point
8be6d800
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 16:16
Avoid calls to next() in error recovery code
3e242e21
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 16:10
Add error recovery at external declaration level.
c65b1561
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 14:47
Recover from expect() errors
db85440b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 11:12
Improve the longjmp logic
867af16e
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 12:11
Simplify main in cc1 (even more)
33cced33
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 11:14
Simplify generror script
4dd8392c
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 11:12
Add longjmp point of recover
665c38d0
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 09:47
Rewrite main loop in cc1
5e7b55dc
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 09:44
Add option parser for cc1
cd19be49
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 09:17
Remove user_opt struct
42b233b6
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/21 02:39
Add cast() wrapper in cc2
061575df
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/21 02:22
Add neg and cpl operations
23597ee4
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/21 00:20
Remove additional parameter of cgen()
8cc7f57a
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/21 00:06
Add BAND, BOR and BXOR operations
8d0d2c09
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 23:20
Improve assign() in cc2
78ccf13a
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 23:14
Add peephole for jump to next instruction
fb96623f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 23:02
Fix moveto() reuse case
d9bc0a02
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 16:24
Fix return generation
b50a3944
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 15:24
Fix bug in allocreg()
fa31b3c3
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 15:05
Assign type to return nodes
0f4ff07f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 14:21
Add JP assembler instruction
8f5c9ee7
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 13:33
Simplify generate()
b42ed545
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 13:29
Rewrite allocreg()
61a52a5c
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 13:20
Allow assignment of not register things
37382404
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 13:04
Add used field in Nodes of cc2
0221fe4f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 12:54
Remove dirty field of Node in cc2
c40ce09e
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 12:52
Change allocreg to receive only a num
b1235747
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 10:49
Simplify add() function in cc2
9b361f53
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 09:01
Merge MEM and AUTO cases of assign()
96e69761
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 08:58
Fix error in imm()
b00898d9
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 07:51
Remove unneeded variable in generate()
b180e15d
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 07:48
Add initial support for return statements
b584afc2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 07:43
Remove individual register variables
e22a6ae2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 07:33
Remove non needed field in opnodes elements
e5501c13
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 06:31
Remove non used addr field in symbol of cc2
1b0107f0
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 01:20
Add optimization for SUB to
3801978b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/19 16:56
Add SUB instruction
f957dc88
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/19 16:45
Add spill()
6a7fb9b9
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/19 13:46
Add peephole infrastructure
37ffac18
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/18 10:48
Use unsigned types where it is possible
4786cd4f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/18 10:42
Fix addr2txt() bug
a90c987a
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/18 06:31
Add prev pointer in Inst
b5fe10c6
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/18 03:02
Convert additions to increments
0e5ae348
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 17:15
Allow assignations as expression
04331f0a
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 17:11
Fix parentheses expressions
7144207c
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 15:42
Move reguse to index() and moveto()
47e8c646
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 13:43
Remove inclue guard in cc.h
aa7ece0b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 13:18
Remove include guards in sizes.h
64ae09c9
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 11:05
Move reguse update to moveto()
54e5f131
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 10:42
Inver switch order in moveto()
1fb38e3b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 10:03
Fix generation of immediate and register nodes
05bdb414
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 02:38
Remove type parameter from imm()
4d656cc3
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 02:25
Remove payload in Node
5ee0c779
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 14:34
Align elements in stack to 2
6c32e2dc
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 14:14
Remove FUN VAR EFUN in cc2
4fafd289
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 09:50
Fix push() in cgen
7e5eb0d9
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 07:49
Optimize the generation of the preambule
cde05e31
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 06:28
Fix automatic addressing
52efd150
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 06:18
Fix computation of stack frame size
8c5632d6
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 06:10
Fix generation of INDEX operands
c305b6f1
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 05:56
Add LDI instruction
9d132dc5
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 05:25
Rewrite add code generation
2f6992e5
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 02:59
Fix bug in output of AUTO variables
4c2dee97
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 02:51
Add index addressing
9e8a53fe
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/16 02:12
Add MEM addressing
ffc1d806
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/15 06:08
Add INC assmbler instruction to cc2
e02c7883
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/15 06:03
Add plan9 path to compiler documentation
496963e8
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/15 06:01
Use a Node array instead of bool in reguse
6902f4ce
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/13 21:18
Split cgen()
e5e0b995
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/13 18:24
Simplify main loop in cc2
80065adc
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/13 18:23
Move parser table in cc2 to the beginning of file
088f60d8
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/13 17:05
Organize functions in cc2.h using the origin files
56e56694
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/13 16:51
Correct expression() in cc2
169c191f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/13 16:39
Rewrite cc2 to store asm instructions in memory
00612b9b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/13 06:08
Remove unneded variable in move()
1220f2d6
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/13 05:39
Improve optcasts
Next