repo.or.cz
/
neatcc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
clean up the interface between ncc.c, gen.c and out.c
2011-03-08
Ali
Gholam
i
R
u
d
i
clean
u
p t
h
e
i
nterface
between
ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
npp:
remo
v
e
comments after prep
r
ocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami Rudi
cpp
:
don'
t
rem
o
v
e
non-macro
num
b
e
r signs
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami Rudi
npp: allo
w
u
s
ing neatcc's p
r
eproc
e
ssor
a
s a stand
a
l
o
ne
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
c
p
p: don
'
t skip non-eol macro backsl
a
shes
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gh
o
l
a
mi Rudi
gen: fix op
_
rs() optimizat
i
on fu
n
c
ti
o
n
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami R
u
di
gen: use
b
ett
e
r
n
ames for
o
pcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami R
u
d
i
cpp: define
__i
3
86__;
__x8
6
_
64_
_
is no
l
onger
s
upported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rud
i
gen: load the first t
m
p bef
o
re
c
alling TMP_R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
A
li Gholami Rudi
a
dd RE
A
D
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami R
u
d
i
ncc: fix name->name str ini
t
ializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Ru
d
i
a
llow ex
t
ern array declarat
i
ons
wit
h
out siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali
G
hola
m
i Rudi
cpp
:
inc
l
ude
s
tddef
.
h for using
o
f
f
setof(
)
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Ghol
a
mi Rudi
tok: pa
r
se
u
ppercas
e
h
e
x numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: f
i
x setting F_INIT for each de
f
ined nam
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
Rudi
c
pp: handle nested macr
o
calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami Rudi
t
o
k
: do
n
'
t
go beyond buf len for 3-
c
h
a
r tok
e
ns
commit
|
commitdiff
|
tree
2010-07-14
A
li G
h
olami Rudi
t
ab
.
h: use the stand
a
rd
o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Gholami R
u
di
ncc: fix calling ts_pop() pre
m
atu
r
ely
i
n
o
passign()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gholami Ru
d
i
g
en: ig
n
ore the
s
ign of the sec
o
nd operand i
n
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholam
i
Rudi
n
cc: fix
& and * on
functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
udi
g
en:
don'
t
overwri
t
e p
u
shed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami Rudi
gen: chan
g
e
stack alignment
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
ncc: don't change opera
n
d
order
f
or const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
gen:
o
nly perfo
r
m
co
n
st op for addresses when add
i
ng
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami R
u
d
i
g
en: zeroing eax doesn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholam
i
Rud
i
ncc: fix ++s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lam
i
Rudi
ncc: fix
f
unc
t
ion pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
Rudi
ge
n
:
r
emove
t
he unu
s
ed c_
o
p()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami Rudi
gen: use tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: fun
c
t
i
ons for performing
optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen
:
f
ix two-b
y
te
o
pcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami R
u
di
gen: use an i
n
t
f
or operators
commit
|
commitdiff
|
tree
2010-06-23
Ali
Gholami Rudi
replace o_*() functions with o_bop() and
o
_uop(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add sp
e
cialized inc/dec
op
e
r
ations
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Gh
o
lami Rudi
gen:
l
et al
l
grps be use
d
as
b
yte registers
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Rudi
out
:
don't need MAXSECS
a
n
y
m
ore
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami Rud
i
tab: let table size be
HAS
H
ITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami Rudi
out: m
e
rge all sec
t
ions into one text sect
i
on
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: reset arg
c
o
u
n
t
on mac
r
o redefini
t
ion
commit
|
commitdiff
|
tree
2010-06-19
A
li Gholami Rudi
out:
m
ake ne
a
tcc work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
gen: handle char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
cc: align stru
c
ts based
o
n the f
i
rst field
commit
|
commitdiff
|
tree
2010-06-18
A
li Gh
o
lami Rudi
mov macro hash table to
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami
R
u
d
i
gen: han
d
l
e
unsig
n
ed -> lo
n
g cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rud
i
cpp:
s
ave macro names in a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
ncc: divide (p
t
r
- ptr) r
e
sult on
l
y if si
z
e
> 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi R
u
di
gen: u
s
e movsxd only
w
h
en src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Ru
d
i
tok
:
0x1 should be unsig
n
ed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
g
e
n: fix the conditions
f
or movx
x
oper
a
tions
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
o
l
ami Rudi
ncc:
fix getting i's
t
ype in ++i
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
holami Rudi
ncc: handle
ptr opera
t
ions o
n
structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
cc: fix
c
all
i
n
g
func
t
i
o
n pointer
s
with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
n
c
c:
d
on't take case
exprs as l
a
bels
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gh
o
lami
Ru
d
i
gen: don't
gener
a
te code after o_nog
e
n() in o
i
()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
all tmps should be
t
he sam
e
in
conditional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Ghol
a
m
i
Rudi
g
e
n:
f
ix
lo
a
di
n
g back t
m
ps i
n
m
e
m without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami
Rudi
le
t
tok_nu
m
(
) return
t
he
bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholam
i
Rud
i
gen
:
relocation address s
i
z
e
is always 4
for n
o
w
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix SYM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali
G
hola
m
i
R
udi
g
en:
fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc: l
e
t
sh
i
ft
a
mount be a
n
unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali
Gholami Rudi
gen: cleanu
p
tmp hand
l
ing
and
f
ix re
g
s
array in o
_
sw
a
p()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami
Rudi
n
cc: a
l
ign str
u
ct
me
m
be
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
h
o
lami Rudi
gen: mark copied r
e
gister as the o
w
ne
r
in o_tmpcop
y
()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Rudi
g
e
n: fix "
i
f
(!exp
r
)"
commit
|
commitdiff
|
tree
2010-06-14
A
l
i
G
holami Rudi
ncc
:
fix
pointer arithmetic
on
struct
ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
o
l
ami
R
u
di
show a
n
error ms
g
if no inp
u
t f
i
l
e
commit
|
commitdiff
|
tree
2010-06-13
Ali Ghol
a
mi
Rudi
t
ok: a
c
cept upp
e
rcase hex d
i
gi
t
s
commit
|
commitdiff
|
tree
2010-06-13
Ali
Gholami
Rudi
show
s
yntax
e
rror loca
t
ion
commit
|
commitdiff
|
tree
2010-06-12
A
li Gholami Rudi
gen: f
i
x ig
n
o
ring regop1()
r
eturn
value
commit
|
commitdiff
|
tree
2010-06-11
A
li Gholam
i
R
udi
gen: d
o
n
't
c
hange tmp->bt when
storing an lvalue
commit
|
commitdiff
|
tree
2010-06-11
A
l
i Gholami Rudi
gen
:
extend eax to edx fo
r
m
ul/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
ncc: arrays should
b
e processed
i
n t
h
e reversed
o
rder
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
gen:
fix
t
he order of
M
OVSXD's operands
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghola
m
i Rudi
gen: fix fre
e
ing r
e
g
i
st
e
r
s
b
e
for
e
call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
ami Rudi
invalidat
e
last_
c
m
p
if
tmps are changed
commit
|
commitdiff
|
tree
2010-06-10
A
li Gholami Rudi
derefere
n
c
e
b
oth sides
o
f a cond
i
tional e
x
pressio
n
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami
Rudi
c
pp: c
h
eck buf
f
e
r s
t
ack instead of cppeval variable
commit
|
commitdiff
|
tree
2010-06-09
A
l
i Gh
o
lami Rudi
cpp:
p
revent
r
ecursi
v
e macr
o
s
commit
|
commitdiff
|
tree
2010-06-09
A
l
i
G
hola
m
i R
u
di
cpp: multi-argume
n
t ma
c
r
o
s
commit
|
commitdiff
|
tree
2010-06-08
Ali Ghol
a
m
i Rudi
cpp: space between
m
a
cro
a
nd '('
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gholami
Ru
d
i
ncc: ex
i
t if nu
m
ber
of elements exceeds its max
commit
|
commitdiff
|
tree
2010-06-08
A
li Gho
l
ami Rud
i
ncc:
on
l
y add used external symbols to elf symt
a
b
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ha
n
dle #if
and
#
elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
hand
l
e #
i
fdef, #ifndef,
#else
and #endif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rud
i
s
u
pport #undef
NAME
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gho
l
ami Rudi
a
llow -Dname=va
l
opt
i
on
commit
|
commitdiff
|
tree
2010-06-08
A
l
i
G
holami Rudi
c
p
p: ha
n
dle function
macr
o
s
commit
|
commitdiff
|
tree
2010-06-07
Ali
G
holami
R
udi
ha
n
dle
-
I in
c
l
u
de
p
aths
commit
|
commitdiff
|
tree
2010-06-06
Ali
G
hola
m
i Rudi
cpp:
b
asic i
n
clu
d
e ma
c
ro
s
commit
|
commitdiff
|
tree
2010-06-06
Ali G
h
o
l
ami Ru
d
i
add a basic p
r
eprocessor
commit
|
commitdiff
|
tree
2010-06-05
Ali Gh
o
lami Rudi
ncc:
f
ix m
a
rkin
g
und
e
fined f
u
n
ctions as functions
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami Rud
i
for st
a
tements wit
h
no conditi
o
n
commit
|
commitdiff
|
tree
2010-06-04
Ali Gh
o
l
ami Rudi
tok: '\12' and '\x3b'
commit
|
commitdiff
|
tree
2010-06-04
Ali Ghola
m
i
Rudi
tok: suppo
r
t n
u
mbe
r
s wit
h
u
l
postfix
commit
|
commitdiff
|
tree
2010-06-04
Al
i
Gh
o
la
m
i
Rudi
tok
:
s
= "a"
"
b";
commit
|
commitdiff
|
tree
2010-06-03
A
l
i
Gholami
R
u
d
i
tok: read s
t
r and nu
m
as they are seen
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami Rudi
array->fie
l
d
commit
|
commitdiff
|
tree
next