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: remove cmp+branch optimization; moved to opt branch
2011-03-30
Ali Gh
o
lami Rudi
g
e
n
: r
e
move cmp+branch opt
i
mi
z
ation
;
moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp: handle function macros
w
ith no ar
g
ument
s
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholam
i
R
udi
gen
:
re
n
ame dat_bss(
)
and dat_dat() t
o
begin wit
h
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
gen:
group f
u
nctio
n
s in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rudi
gen
:
reset last_set
a
f
t
er cmp+b
o
ptim
i
zation
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i
R
udi
gen:
fix ~ operator
implemen
t
ation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
udi
nc
c
:
d
e
reference
f
u
nc
t
ion pointers l
i
k
e
a
ny other variab
l
es
commit
|
commitdiff
|
tree
2011-03-27
Ali
Ghol
a
mi Ru
d
i
gen:
d
on't remov
e
the last return j
u
mp
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami R
u
di
gen: don't let o_cast() change deref
e
ren
c
e
d
type
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
h
olami R
u
di
ncc: use t
o
k
_
jmp() instead of tok_(see
|
get)() i
n
e
n
um_creat
e
()
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olami Rudi
gen: hand
l
e l
a
r
ge
o
f
f
sets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholam
i
Rudi
gen: replace TMP_REG*
macros w
i
t
h
reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rud
i
gen: change
o_n
o
g
en
(
)/o_dog
e
n() to be re
c
u
rsive
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholam
i
Rudi
g
en: don
'
t gener
a
te excess ju
m
ps for the
l
ast return
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olami Rudi
gen:
don't
a
dd duplicate dat
a
to numb
e
r
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
Gholami Ru
d
i
gen: c
a
ll tmp_to() i
n
for loading r
h
s in o
_
as
s
ing()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Gholami Rudi
g
e
n: ignore
O
_SI
G
NED
w
h
en c
h
ecking the opcode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i Gholami Rudi
g
e
n:
fix signed d
i
vis
i
on to
n
egate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Ru
d
i
g
e
n: merge decreme
n
t
and check in i_memcpy() and
i_memset()
commit
|
commitdiff
|
tree
2011-03-15
A
li
Gholami Rudi
gen: don't save v
a
riabl
e
registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
g
e
n: add software
div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami Rudi
n
c
c: set O
_
SIGN
for most bi
n
ar
y
operations
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gh
o
la
m
i Rudi
ncc: der
e
ference the not expres
s
i
o
n of
c
exp
r
s
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Ghola
m
i
Rudi
p
erform signed operations if
O
_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Ru
d
i
c
p
p:
d
e
fine _
_
ar
m
__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
ncc:
d
on
'
t cast the r
e
t
u
rn value for
void
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami
R
udi
gen: more c
o
m
pa
c
t versi
o
n of
m
emcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rud
i
ge
n
: do
n
't output
r
e
locations when
o
_
nog
e
n()
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghol
a
m
i
Rudi
n
eatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali
Gho
l
ami
Rud
i
clean up the inte
r
face betwe
e
n ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li
Gholami Rudi
npp:
r
e
m
ove
com
m
ents after pr
e
processing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
Rudi
cpp: don't remove non-macr
o
nu
m
be
r
signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Rudi
n
p
p: allo
w
u
s
ing
n
e
a
tcc's preprocessor as a
s
t
a
ndalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholami Rud
i
c
p
p: don't s
k
ip no
n
-eol m
a
cro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olam
i
Rudi
gen: fix
o
p
_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: use bet
t
er names
f
or
o
pcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
h
o
lami
Rudi
cp
p
:
d
efine __i386__
;
__x86_64__ i
s
no longer supp
o
rte
d
commit
|
commitdiff
|
tree
2010-11-20
Ali
G
holami
Rud
i
gen: load
t
h
e
firs
t
tm
p
before calling
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gh
o
la
m
i
R
udi
a
dd RE
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Rudi
n
c
c: fi
x
name->name st
r
initialize
r
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
holam
i
R
u
di
allow extern ar
r
ay
de
c
larations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
cpp:
i
nclude stddef
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rud
i
tok: parse upp
e
rcase hex number
s
commit
|
commitdiff
|
tree
2010-07-25
A
l
i Gho
l
ami Ru
d
i
n
c
c: fix se
t
ting F_INIT for each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rudi
cpp: handle
nested
macro call
s
lik
e
M(M(1)
)
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
ol
a
m
i Rudi
tok:
d
o
n
't
g
o beyond buf
l
en for 3-char
tok
e
n
s
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
Gholami Ru
d
i
tab
.
h: u
s
e
t
he standard o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olam
i
Rudi
ncc
:
fix
c
a
l
ling t
s
_
pop(
)
prematur
e
ly in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gh
o
lami
R
u
di
g
e
n: ignore the
s
i
g
n of the second operand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gh
o
lami Rudi
ncc:
f
ix & and *
o
n
functions
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami
R
u
d
i
gen:
d
on't
ov
e
rwri
t
e
pushed ebx, esi
and ed
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rudi
ge
n
: ch
a
ng
e
st
a
ck align
m
en
t
to
4
commit
|
commitdiff
|
tree
2010-07-09
A
li Ghol
a
mi
R
udi
ncc: d
o
n't cha
n
ge
operand ord
e
r
f
or const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gho
l
a
m
i Rudi
gen: only perform const op for addresses when ad
d
ing
commit
|
commitdiff
|
tree
2010-07-08
A
l
i
Gholam
i
Rudi
gen
:
zeroing eax doesn't
seem n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
hol
a
mi Rudi
ncc
:
fix ++s for
p
ointers
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Rudi
ncc: fix function pointer arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rud
i
gen: remov
e
the unused c_
o
p
(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
l
a
m
i
R
udi
gen: use tmp
-
>
o
ff for l
o
cals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Ghola
m
i
Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: functi
o
ns for p
e
rforming o
p
timized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali
Ghol
a
mi Rudi
gen: f
i
x two-by
t
e opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami
Rudi
gen
:
use
an int
for oper
a
to
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
r
e
place
o
_*(
)
f
u
n
c
tio
n
s wit
h
o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Gholami Rudi
add specialized inc/dec oper
a
t
ions
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
R
u
di
g
e
n: let all
grp
s
be used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
R
udi
out
:
d
o
n't need
M
AXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
tab
:
let table s
i
ze
b
e HA
S
H
ITE
M
S
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami
R
udi
out
:
merge al
l
sections into one t
e
xt section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: reset arg count on mac
r
o
redef
i
nit
i
on
commit
|
commitdiff
|
tree
2010-06-19
Ali Gho
l
ami
R
ud
i
out: make neat
c
c wor
k
with gn
u
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen:
handle char a
r
g
uments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
nc
c
: align structs based on the first fiel
d
commit
|
commitdiff
|
tree
2010-06-18
A
li Gho
l
ami Rudi
mo
v
m
a
c
ro
ha
s
h table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
gen: ha
n
dle un
s
ign
e
d ->
lon
g
cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
o
l
ami Rudi
cpp:
s
ave macr
o
names in a hash ta
b
le
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Ru
d
i
ncc: divide (pt
r
- pt
r
)
r
e
su
l
t
o
nly i
f
size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: use movsxd onl
y
when src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
t
ok:
0
x1 s
h
ould be
u
ns
i
gn
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
gen:
fix the conditions for movxx operations
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
h
olami Rud
i
ncc: fix
g
e
tti
n
g i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
h
o
lami Rudi
ncc: handle ptr
operations on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
ncc:
fix calling
funct
i
o
n
p
ointers with arguments
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami R
u
d
i
nc
c
: don'
t
take case exprs a
s
labels
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
gen: don't generate code after o_nogen()
i
n oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
all tmps
should
b
e the same in condi
t
i
onal branche
s
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
h
olami
R
u
di
gen:
fix loading back tmps in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami R
u
d
i
le
t
tok_num() re
t
urn the
b
t
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gholami R
u
di
g
e
n: re
l
o
cat
i
on
a
d
d
ress size is a
l
way
s
4 for no
w
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen:
fix SYM_P
T
R
() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
g
e
n: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc:
l
et shift am
o
u
n
t b
e
a
n
unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gh
o
lami Rudi
gen: cl
e
anup tmp handling and fix regs array in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holami
R
udi
ncc: align struct membe
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi Rudi
g
en: mark copied r
e
giste
r
as the own
e
r in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen
:
f
i
x "if
(!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc: fix pointer arith
m
etic on struc
t
ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi
Rudi
show an error msg if
no input file
commit
|
commitdiff
|
tree
2010-06-13
A
li Gholami Rudi
tok: accept
u
ppercase hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali
G
holami Rudi
show syntax erro
r
location
commit
|
commitdiff
|
tree
next