repo.or.cz
/
neatcc
/
cc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
gen: move the management of ds[] to gen.c
2013-10-29
Al
i
Gho
l
ami Rudi
gen
:
move the manageme
n
t of ds[] to gen
.
c
commit
|
commitdiff
|
tree
2013-09-02
Ali
G
hola
m
i
Rudi
n
c
c
.
h:
m
ove array limits to ncc
.
h
commit
|
commitdiff
|
tree
2013-09-01
Ali
Gholam
i
Rud
i
gen: move the register allocation t
o
reg
.
c
commit
|
commitdiff
|
tree
2013-07-30
Ali Gholami Ru
d
i
tok: read '\0
8
' as {'\0', '8'}
commit
|
commitdiff
|
tree
2013-07-30
Ali Gholami Rudi
ncc
:
call ts_addop() o
n
ly for += an
d
-=
commit
|
commitdiff
|
tree
2013-07-30
Ali Gholami Rudi
ncc: update
y
ea
r
commit
|
commitdiff
|
tree
2013-07-30
Ali Gholam
i
R
udi
gen
.
h: fi
x
a
com
m
e
n
t typo
commit
|
commitdiff
|
tree
2012-07-05
Ali Gholami Rudi
ncc: handle + unary
o
perator
a
s
i
n
1
+ - +
-
1
commit
|
commitdiff
|
tree
2012-06-08
Ali Gholami Rudi
ncc: switch
t
o
t
h
e m
o
dified bsd l
i
cense
commit
|
commitdiff
|
tree
2012-03-25
Ali Ghol
a
mi
R
udi
cpp: ignore ma
c
ros
immediate
l
y f
o
llowin
g
numbe
r
s
commit
|
commitdiff
|
tree
2012-02-03
Ali G
h
olami
R
u
d
i
tok
:
ignor
e
"
\
\\n"
commit
|
commitdiff
|
tree
2012-02-02
Ali Ghola
m
i Rudi
ncc:
s
tring literals are arr
a
y
s
commit
|
commitdiff
|
tree
2012-01-25
Ali Gholami
Rudi
npp:
redefin
e
e
r
r()
i
n npp
.
c
commit
|
commitdiff
|
tree
2012-01-25
Ali
G
h
olami Rudi
Make
f
ile: x86_64
s
h
ould be x
8
6
i
n the comment
commit
|
commitdiff
|
tree
2012-01-06
Al
i
Gholami Rudi
e
xtract architectu
r
e
i
nd
e
p
endent gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali Gholami
R
udi
exp
e
rimental r
i
s
c-like x86_64 port of n
e
atcc
commit
|
commitdiff
|
tree
2011-12-23
Ali Gholami Rudi
n
cc: fix
h
a
ndl
i
ng function pointer types without a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali
Gholami Rudi
gen: comp
l
ain if
M
AXJMPS
i
s r
e
ached
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
gen: simplify branc
h
i
nstructions by removing o_filljmp()
commit
|
commitdiff
|
tree
2011-12-08
Al
i
G
hola
m
i
R
udi
n
cc: suppor
t
k&r style function definiti
o
ns
commit
|
commitdiff
|
tree
2011-12-08
Ali Ghola
m
i R
u
di
out:
u
se rel
.
* name for relo
c
ati
o
n
secti
o
ns on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rudi
ncc: s
u
pport (expr, expr) expression
commit
|
commitdiff
|
tree
2011-12-07
Al
i
Gholami Rudi
cpp:
f
ix ev
a
lua
t
ing integer constants
commit
|
commitdiff
|
tree
2011-11-10
Ali
Gholami Rudi
out: add a workaro
u
nd for bad
linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makefile: defaul
t
to
x
86
b
uild
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
nc
c
: define __i386__
for x86 buil
d
s
commit
|
commitdiff
|
tree
2011-11-08
Ali Gh
o
lam
i
Rudi
merge the x86 port to
master branch
commit
|
commitdiff
|
tree
2011-10-17
A
l
i Ghol
a
mi
R
udi
ncc: bett
e
r char arr
a
y
in
i
tialization
commit
|
commitdiff
|
tree
2011-10-17
A
l
i Gholam
i
Rudi
out: assure
8
-byte
a
lignmen
t
of data and bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
A
l
i Ghol
a
mi
Ru
d
i
ta
b
:
fix t
a
b_del(); o
t
h
e
rwise #undef
won
'
t work
commit
|
commitdiff
|
tree
2011-06-05
A
l
i G
h
olami Rudi
ncc
:
call
ts_de() in ts_pop
_
de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholami Rud
i
ncc: handle switch stmt w
h
ere
d
efault lab
e
l appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i G
h
olami
Rudi
n
c
c
: don't overwrite
g
l
o
bal nam
e
s by
s
t
a
tic function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
cpp: fix ha
n
dling comment
s
a
n
d
s
trings
inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
l
a
mi Rudi
nc
c
: handle empty static initializers
commit
|
commitdiff
|
tree
2011-05-24
A
l
i G
h
olami Rud
i
cpp: ignore co
m
m
e
n
ts inside
s
trin
g
m
acros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
neatcc: add a ncc invoc
a
tio
n
script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
more verb
o
s
e error messages for missing files
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
la
m
i Rudi
cpp: do
n
't search /usr/include f
o
r headers by defau
l
t
commit
|
commitdiff
|
tree
2011-05-22
Ali
Gholami Rudi
c
p
p: mer
g
e cur++'s in re
a
dar
g
()
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
h
olami Rudi
gen:
f
ix re
g
_fortmp() indentati
o
n
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami
R
u
di
n
cc: han
d
le ove
r
lappin
g
c
o
n
d
iti
o
na
l
e
xpressions
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
hol
a
mi R
u
di
nc
c
:
hand
l
e si
z
eof
x
+ 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gho
l
a
mi Rud
i
n
c
c: make sure t->ad
d
r == 0 before ca
l
li
n
g
o_po
p
num()
commit
|
commitdiff
|
tree
2011-05-11
Ali
G
h
o
lami Rudi
ncc: ignore
t
he
semicolon
a
fter do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali
G
holami
R
ud
i
nc
c
: switch default labels when not appearing at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami R
u
di
ncc: opassi
g
n should
u
se the time of lh
s
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Rudi
ncc: move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li Ghola
m
i Rudi
n
c
c: always init
i
alize out
p
ut
filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Ru
d
i
README: ignored keywords are
now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami Rudi
nc
c
: s
u
pport -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Rud
i
ncc: handle e
x
tern f
u
n
c
tion declarat
i
ons inside
f
u
n
ctions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Rudi
ncc: handle ext
e
rn vari
a
ble declarations inside functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: move macros lik
e
__STDC__ t
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholami Rudi
t
ok: handle
// commen
t
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: ignor
e
t
he keywords neatcc
d
oesn't
c
are about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholam
i
R
u
di
gen: reset last_cm
p
in i_prolog
(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami Rudi
gen
:
back-port cmp+bcc
optimi
z
a
tio
n
a
g
ain
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: m
o
ve opcodes to arc
h
s
e
ction
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olam
i
R
u
di
gen:
rena
m
e FORK_REG to REG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Al
i
G
h
olami Rudi
gen: pas
s
only O
_
*
constants to i_*() func
t
ions
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami
Rudi
gen
:
handle
sym
+
off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi
R
udi
gen:
m
ove arc
h
ite
c
ture-spec
i
fic fu
n
cti
o
ns
t
o
t
he
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Ru
d
i
gen:
u
se i_s
e
t
(
) in i_ln
o
t()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholam
i
Rudi
gen
:
pass
t
he
numb
e
r o
f
argume
n
ts t
o
o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
g
e
n
:
e
n
code 0xf000000
0
a
s a
n
immed
i
ate
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami Rud
i
gen: swap the imm
e
d
i
ate if needed
f
or == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
gen: encode cmp+imm
e
diate instruct
i
ons
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
gen: put
t
he immediate in the opcode i
f
possible
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Gholami Rudi
gen: remove c
m
p+branch
o
ptimization
;
move
d
to opt branch
commit
|
commitdiff
|
tree
2011-03-30
A
li Ghola
m
i
R
udi
cpp: handle f
u
nct
i
on macros with no argume
n
ts
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rudi
gen: re
n
ame dat_bss() and
dat
_
dat() to b
e
gin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
li
Gholami R
u
di
gen: group funct
i
o
n
s
in
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
udi
gen: reset last_set after cmp+b o
p
t
imiza
t
i
on
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
g
e
n: fix ~ opera
t
o
r
imp
l
ementa
t
ion
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami Ru
d
i
ncc: derefe
r
ence function poin
t
e
r
s like any
o
ther va
r
iables
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Rudi
gen:
don't remove
t
he last return jump
commit
|
commitdiff
|
tree
2011-03-27
Al
i
G
holami R
u
di
gen: don't
let o_ca
s
t() change dereferenced typ
e
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami R
u
di
ncc:
u
se t
o
k_
j
mp() i
n
stea
d
of tok
_
(
s
ee|get)() in en
u
m
_create
(
)
commit
|
commitdiff
|
tree
2011-03-25
A
li
G
hola
m
i
Rud
i
gen: handle larg
e
o
f
fsets for s
t
r
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: replac
e
TMP_REG* m
a
cros with
r
e
g
_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rudi
gen:
chang
e
o
_
nogen()/o_do
g
e
n
()
to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen:
don't
g
enerat
e
exc
e
ss jumps for
th
e
last return
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
o
l
ami Rud
i
gen: don't
add duplicate
d
a
t
a to number
p
ool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
l
ami Rudi
gen: call tmp_t
o
() in
fo
r
loading rhs in o_assing(
)
commit
|
commitdiff
|
tree
2011-03-20
Al
i
Gholami
Rudi
gen: ignore O_SIGNED when checking
t
h
e opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami
Rudi
gen: fix signed div
i
sion to
n
egate the remainde
r
commit
|
commitdiff
|
tree
2011-03-16
Ali Ghol
a
mi Rudi
g
en:
me
r
g
e decrement and check in i_me
m
cpy
(
) and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
a
mi Rudi
gen: don't save variable
regis
t
ers
before call
s
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holam
i
Rudi
gen
:
a
dd software div
/
mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: se
t
O_SIGN for most b
i
nar
y
oper
a
tions
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc:
dereference the not
exp
r
e
ss
i
on of cexprs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami Ru
d
i
perform signed operations
if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
c
p
p: def
i
ne
_
_ar
m
_
_
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
G
h
olami Rudi
n
cc: d
o
n'
t
c
ast the retur
n
value for
void funct
i
ons
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gho
l
ami Rud
i
g
en:
m
ore compact
version of
m
e
m
cpy() and me
m
set()
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
ho
l
ami Rudi
g
e
n:
don't o
u
t
p
ut relocat
i
o
n
s when o_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Ghol
a
mi Rud
i
c
l
ean
up th
e
inter
f
ace between ncc
.
c, gen
.
c and ou
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami
R
ud
i
npp: remov
e
comments
a
fter prepro
c
ess
i
ng
commit
|
commitdiff
|
tree
next