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: always initialize output filename
2011-05-08
Ali Gholami
Rud
i
n
cc: always initialize o
u
tput f
i
lename
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
m
i Ru
d
i
README: ignored keyw
o
rds ar
e
now b
u
ilt
into nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Al
i
G
h
o
l
ami Rudi
n
cc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
ncc: handl
e
extern functi
o
n declaratio
n
s inside funct
i
ons
commit
|
commitdiff
|
tree
2011-05-06
Al
i
Gholami
Rudi
nc
c
: handle exter
n
variable d
e
c
larations inside
functions
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
o
l
ami
R
udi
ncc:
m
ove macros like __STD
C
__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
a
m
i
Rudi
t
o
k
: ha
n
dle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
n
c
c
:
ignore the keywords neatcc doesn'
t
ca
r
e abo
u
t
commit
|
commitdiff
|
tree
2011-05-01
Al
i
Gholami Rudi
ge
n
: rese
t
last_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: bac
k
-
p
o
r
t cmp+bcc optimiza
t
i
on a
g
ain
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami Rud
i
gen
:
move op
c
o
d
es to
a
rch sectio
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rudi
gen: ren
a
m
e FORK_RE
G
to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Ghol
a
m
i
Rud
i
gen: pass only O_* const
a
n
t
s to i
_
*()
f
unctions
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami Rudi
gen: handl
e
s
ym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
gen: move a
r
chitecture
-
s
p
e
cific functions to the e
n
d
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Ru
d
i
gen: us
e
i_s
e
t() i
n
i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
A
l
i
Gho
l
ami Ru
d
i
gen: pa
s
s the number of arguments t
o
o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
Gholami Rudi
gen: encode 0xf00
0
0
0
0
0
a
s an im
m
ediate
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami Rud
i
gen: swa
p
t
h
e immedi
a
te i
f
needed for
== and !
=
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami Rudi
gen: e
n
c
ode cmp+immediate ins
t
ructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
gen: pu
t
th
e
im
m
ediate in the
op
c
ode i
f
possi
b
le
commit
|
commitdiff
|
tree
2011-03-30
Al
i
G
h
olami Rudi
gen: remove cmp+branch optimization;
moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi Ru
d
i
cpp: han
d
le functi
o
n
m
acros with no ar
g
uments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
udi
gen:
r
ename dat_
b
ss() and
dat_dat() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
udi
gen: group functions in
g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
li Ghola
m
i Rudi
gen: reset last_se
t
after cmp+b
optimi
z
ation
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: fix ~
operat
o
r i
m
p
l
e
mentat
i
on
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Rudi
n
c
c: dereference funct
i
on pointers like a
n
y
othe
r
variables
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Rud
i
gen: don't r
e
move the
l
ast r
e
turn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami Rudi
gen:
don't let o_
c
ast()
change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
o
l
a
m
i
Rudi
n
cc: use
t
ok_jmp() inst
e
ad of
t
o
k
_(see|get)
(
)
i
n enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholam
i
Rudi
ge
n
:
handle larg
e
off
s
ets for st
r
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami
R
ud
i
gen: r
e
place TMP_REG
*
macros w
i
th reg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
Rud
i
gen: change o_nogen
(
)
/o
_
do
g
e
n(
)
to b
e
recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't
g
ener
a
te excess jumps for the last
r
eturn
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
Rudi
g
e
n
:
d
o
n't add duplicate data to nu
m
b
e
r
p
o
ol
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholam
i
Rudi
g
en: call tmp_
t
o() in for lo
a
ding rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghol
a
mi
R
udi
gen: ignore
O
_SIGNED
when chec
k
ing the op
c
o
de
commit
|
commitdiff
|
tree
2011-03-17
Ali Ghola
m
i Rudi
g
e
n: fix signed
d
i
vision
t
o neg
a
te
t
h
e
r
e
mainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gho
l
am
i
R
udi
gen:
m
erge decr
e
men
t
and check
i
n i_memc
p
y
() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali
Ghol
a
mi Rudi
gen: do
n
't save variabl
e
re
g
isters b
e
fore
c
alls
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholam
i
Rud
i
g
e
n: add softwa
r
e div/mod imple
m
entation
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
ho
l
ami Rudi
nc
c
: set O_SIGN
f
o
r
most bi
n
ary operatio
n
s
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Ghol
a
m
i Rudi
ncc: deref
e
rence th
e
not exp
r
essio
n
of cexp
r
s
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
perf
o
rm si
g
ned operations if O_S
I
GNE
D
b
i
t is
s
et
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami
R
u
d
i
cp
p
: define _
_
arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
ola
m
i Rudi
nc
c
:
don't c
a
st the return value for void fun
c
tions
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami
R
udi
gen: more compact version of mem
c
py() and
memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Rudi
gen: don't output re
l
ocati
o
ns
w
hen o_nogen() is c
a
lled
commit
|
commitdiff
|
tree
2011-03-13
Ali
Gholami Rudi
neatcc a
r
m
port
commit
|
commitdiff
|
tree
2011-03-08
Ali
G
ho
l
ami Ru
d
i
clean up the interface
betwe
e
n ncc
.
c, gen
.
c
a
nd out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
R
u
d
i
npp: rem
o
ve comments after prepr
o
cess
i
ng
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gholami Rudi
cpp: don't remove n
o
n
-m
a
cro number sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
R
u
d
i
n
pp: allow using neatcc's prepr
o
cessor as a st
a
n
dal
o
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami
Rudi
cpp:
d
on't s
k
ip non-eol m
a
cro
b
ackslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami Rud
i
gen: fix
op_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
g
en
:
use be
t
te
r
names
f
o
r
o
p
c
odes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Gholami Rudi
cpp:
d
efine __i386__; _
_
x
8
6_64__ is no longer sup
p
orted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: load the first t
m
p before calling T
M
P_R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami R
u
d
i
a
dd
READM
E
commit
|
commitdiff
|
tree
2010-08-13
A
l
i
Gho
l
ami Rudi
n
cc:
fix
na
m
e
->name
s
tr initializ
e
r
commit
|
commitdiff
|
tree
2010-08-13
A
li
G
h
o
lami Rudi
allow
e
xtern
a
rra
y
d
e
cl
a
r
ations without size
commit
|
commitdiff
|
tree
2010-07-29
A
li Gholam
i
Rudi
cpp: include s
t
dde
f
.
h
f
or using of
f
s
etof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gho
l
ami Rudi
tok: parse uppercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
n
c
c: fix
setti
n
g
F_INIT for each defin
e
d name
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Rudi
cpp
:
hand
l
e
neste
d
macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
o
la
m
i Rudi
tok: do
n
't g
o
beyond bu
f
len
f
or 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Ru
d
i
tab
.
h:
u
s
e the standar
d
of
f
setof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholami Ru
d
i
ncc: fix
calling
t
s
_p
o
p() prema
t
urely
in op
a
s
s
ign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
gen: ignore the sign
o
f the second opera
n
d in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gho
l
ami R
u
di
ncc: fix &
and *
on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi
R
udi
gen: d
o
n
't overwrite pushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi Rudi
gen: c
h
a
n
ge st
a
c
k alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Ghol
a
m
i Ru
d
i
ncc:
d
on't
change operand order
f
or cons
t
ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: only perfor
m
c
o
nst op fo
r
addres
s
es when adding
commit
|
commitdiff
|
tree
2010-07-08
A
li Gh
o
lami
R
udi
gen: zeroing e
a
x doesn't seem n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
A
li
G
holami Rudi
ncc
:
fix ++s for poin
t
ers
commit
|
commitdiff
|
tree
2010-06-30
Al
i
G
h
o
l
ami Rudi
n
cc: fix fun
c
t
i
o
n point
e
r arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gh
o
l
a
mi Rudi
ge
n
: remove the
u
n
u
sed c_o
p
()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
gen: use tmp->off
for locals too
commit
|
commitdiff
|
tree
2010-06-28
Al
i
G
ho
l
ami Rudi
port
neatcc
t
o x86
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rud
i
gen:
fun
c
tions for
p
erfo
r
ming optim
i
z
e
d
o
ps
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami R
u
di
g
en: fix two-byte
opcod
e
bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
l
am
i
R
udi
gen: u
s
e an int for operat
o
rs
commit
|
commitdiff
|
tree
2010-06-23
Ali
Gholami Rudi
replace o_*() functions
with o_
b
op() and o_uop(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghola
m
i Rudi
a
d
d spe
c
ia
l
ized inc/dec o
p
e
r
ati
o
n
s
commit
|
commitdiff
|
tree
2010-06-21
A
l
i
Gholami
R
u
d
i
gen
:
l
et al
l
grps
be used as byte r
e
gisters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
R
u
di
out: don't need MAXSE
C
S
any
m
o
r
e
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
t
ab: le
t
table size
b
e
HASHITE
M
S
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghola
m
i R
u
d
i
out:
merge
all se
c
tions into on
e
text
s
ection
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
Rudi
cpp: rese
t
arg count
o
n macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out: make neatcc work with
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholam
i
Rudi
gen: handle char arg
u
m
ents
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
d
i
ncc: align structs
b
a
s
ed on
t
he fi
r
st field
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
o
l
ami Rudi
m
o
v ma
c
ro
hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
g
en
:
handle un
s
ign
e
d -
>
long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ola
m
i Rudi
cpp: save m
a
c
r
o name
s
i
n
a ha
s
h ta
b
le
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
hola
m
i
R
u
d
i
ncc: divid
e
(ptr
-
ptr) r
e
s
ult only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
g
e
n
:
use movsxd onl
y
when src is s
i
g
n
ed
commit
|
commitdiff
|
tree
2010-06-18
Ali
Ghola
m
i Rudi
tok: 0x1 should
b
e unsig
n
e
d
commit
|
commitdiff
|
tree
next