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
ncc: support -o out
2011-05-08
Ali Gholami Rudi
ncc:
s
upport -o
o
ut
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi Rudi
ncc: handle
e
x
tern function
d
eclaratio
n
s
i
nside f
u
ncti
o
n
s
commit
|
commitdiff
|
tree
2011-05-06
A
li Ghola
m
i R
u
di
n
cc: hand
l
e
exter
n
variable declarations inside
f
unctions
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami Rudi
nc
c
: move macros like
_
_STDC__
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholami Rudi
tok: handl
e
//
comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghola
m
i Rudi
ncc: ig
n
ore the keywo
r
ds neatc
c
doesn't care abo
u
t
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami R
u
di
ge
n
: r
e
set la
s
t_c
m
p
in
i_prolo
g
()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
ge
n
: ba
c
k
-
p
ort cmp+bcc optimization
a
gai
n
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholam
i
Rudi
gen: mo
v
e opcodes to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami Rudi
gen: rename F
O
RK_RE
G
to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
u
di
ge
n
: pass only O_
*
cons
t
ants
t
o i
_
*() functio
n
s
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami Ru
d
i
gen:
handl
e
sym+o
f
f func
t
ion cal
l
s
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami Rudi
gen: m
o
ve
a
rchitectur
e
-speci
f
ic functions to th
e
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghola
m
i Rudi
g
en:
u
se
i_s
e
t() in
i
_
l
not()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami
Rudi
gen: pass
t
he number of
a
rguments
to o_fu
n
c_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
gen: encode 0xf000000
0
as a
n
i
m
mediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
g
en: swap
t
he
i
mme
d
iate if
n
e
e
ded
f
or == and
!
=
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami Rudi
gen: encode cmp
+
i
m
mediat
e
i
n
stru
c
t
ions
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rudi
gen: put t
h
e im
m
edia
t
e in the op
c
ode
if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami
R
u
d
i
ge
n
: remove cmp+branch optimization; move
d
to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
olami Rudi
c
p
p: handle function macros with no arg
u
ments
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
m
i Rudi
g
e
n:
rename dat_bss()
and dat_dat() to
begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
en: group functions in
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholami Rudi
gen: reset
l
a
st_set afte
r
cmp+b
optim
i
za
t
ion
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholam
i
Rud
i
gen: fix ~ operator implementa
t
io
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: d
e
reference
f
unction pointe
r
s
like
any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ge
n
: d
o
n
'
t
remove th
e
las
t
r
e
tu
r
n ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
A
li Ghola
m
i
R
ud
i
g
en: don't let o_cast() change der
e
f
erenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc: use tok_j
m
p
(
) instead of tok_(see|get)() in enum_create(
)
commit
|
commitdiff
|
tree
2011-03-25
A
li
G
holami Ru
d
i
g
e
n
: handle la
r
ge
o
ffsets f
o
r str
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghola
m
i Rudi
gen: repl
a
ce TMP_R
E
G* macro
s
with reg_
f
ortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
R
udi
gen: change o_no
g
en()
/
o_dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
o
l
a
mi Ru
d
i
gen: don't gener
a
te
exce
s
s jumps for th
e
last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gh
o
lam
i
Rud
i
gen:
d
o
n't add duplicate
da
t
a t
o
numbe
r
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
g
en
:
call
t
mp_t
o
(
)
in for loadi
n
g
rhs
i
n o
_
assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali
Gho
l
am
i
Ru
d
i
gen:
i
gnore O_SIGNED when checki
n
g the
o
p
c
ode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
g
e
n: fi
x
signed di
v
isio
n
to
n
e
gate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Al
i
G
h
olami Rudi
gen: me
r
ge decrement an
d
check
i
n i_me
m
c
p
y
(
) and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen
:
don'
t
save
v
ariable registers befor
e
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholami Rudi
gen: add software
d
i
v/mod i
m
ple
m
e
ntati
o
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: set O_SIGN for most
b
i
nary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
di
ncc: derefere
n
ce
t
he
n
ot e
x
press
i
on o
f
cexprs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Ghola
m
i R
u
d
i
perform signed opera
t
ions if O_SIGNED bit
is set
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami
Rudi
cpp: def
i
ne __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi Rudi
ncc: don't
c
a
st the
retu
r
n value for void fun
c
tions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
g
en: more compa
c
t v
e
rsion of memcpy()
and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: don't output relocations w
h
en o_
n
ogen() is call
e
d
commit
|
commitdiff
|
tree
2011-03-13
A
li Ghola
m
i
Rudi
neatcc arm
p
or
t
commit
|
commitdiff
|
tree
2011-03-08
Ali G
h
ol
a
m
i
Rudi
clean up the int
e
rface
b
etween ncc
.
c,
g
e
n
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
G
h
ola
m
i Rudi
npp: re
m
o
v
e
comments aft
e
r preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
cpp: don't remov
e
non-macro numb
e
r
signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
npp: al
l
ow u
s
i
ng neatcc's preproces
s
o
r as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami
Rudi
cpp:
d
on't
s
kip non-
e
ol m
a
cr
o
backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghol
a
mi Ru
d
i
g
en:
f
ix op_
r
s() optimization function
commit
|
commitdiff
|
tree
2010-12-18
A
li G
h
olami Rudi
gen: use better names for opco
d
es
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
holami Rudi
cpp: define __i386__;
__x86
_
64__ is
n
o longer
supp
o
rted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gho
l
ami Rudi
gen: load the f
i
rst tmp before calling
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami R
u
di
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Rudi
ncc: fix
name->name str initi
a
lizer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow extern array decl
a
rations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gh
o
la
m
i Rud
i
cpp: include
s
tddef
.
h
for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok: parse uppercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: fix setting F_INIT for each defined n
a
me
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp: hand
l
e nested mac
r
o calls like M(
M
(
1
))
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholami Rudi
tok: don't
go
b
eyond buf len
f
or 3-char
t
o
kens
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
Gholami Rud
i
tab
.
h: use the st
a
ndar
d
offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
ncc:
f
ix
ca
l
l
i
ng ts_pop()
p
re
m
a
turely in op
a
ssign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gholami R
u
di
gen
:
i
g
n
o
re th
e
s
i
g
n
o
f
th
e
se
c
ond operand
in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
nc
c
: fix & and
*
o
n function
s
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami
Rudi
gen: don't over
w
rite
pushed e
b
x, esi a
n
d edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rud
i
gen:
c
hange st
a
ck alignment to
4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
hol
a
mi Rudi
ncc: don't c
h
ange opera
n
d
order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
e
n
:
only perform const op
f
o
r addres
s
es when
a
dding
commit
|
commitdiff
|
tree
2010-07-08
A
l
i Gholami Rudi
gen
:
zeroing eax doesn't seem ne
c
e
s
s
ary
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
Gholami Rudi
ncc: fix
+
+
s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi
Rudi
ncc: fix function pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami
R
udi
ge
n
:
r
e
move the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
A
li
G
hol
a
m
i
Rud
i
gen: us
e
tmp->off fo
r
locals to
o
commit
|
commitdiff
|
tree
2010-06-28
Al
i
Ghol
a
mi
R
udi
por
t
neatcc
to
x
86
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
gen:
f
unction
s
for p
e
rf
o
rming optimize
d
o
p
s
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gholami Ru
d
i
gen: fix two-
b
yte opcode
bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen:
u
se
an int for operat
o
rs
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami R
u
di
repla
c
e o_*() functions w
i
th o_bop()
a
nd o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
li Gholami Rudi
add
spec
i
alized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghol
a
mi Rudi
gen:
l
et al
l
grps be used as
b
yt
e
r
egisters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
ami R
u
di
out: don't need MAXSECS
a
nymo
r
e
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami
Rud
i
tab: l
e
t table
size be
H
ASHITE
M
S
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
o
u
t: mer
g
e all
s
ections into one t
e
xt secti
o
n
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
m
i Rudi
cp
p
:
re
s
et arg count
on
macro red
e
finit
i
on
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
ou
t
: ma
k
e nea
t
cc
w
o
rk with
g
nu l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: handle ch
a
r
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: align structs ba
s
ed on
t
h
e fi
r
st field
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
mov
m
acr
o
hash ta
b
le
to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: handle unsigned ->
long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gho
l
a
mi Rudi
cpp:
s
ave
m
acro names in a has
h
table
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gh
o
lami Rudi
ncc:
divide (p
t
r -
p
tr) resul
t
o
nly if
s
i
z
e
> 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen:
u
se movsxd only when src is
s
igned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
tok:
0x1
s
h
o
uld be unsigne
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
R
u
di
gen:
f
ix
t
he con
d
it
i
on
s
f
or movxx operation
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix
getting i's type in ++i
commit
|
commitdiff
|
tree
next