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: use better names for opcodes
2010-12-18
A
li Gholami Rudi
gen: use better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali G
h
o
lami Rudi
cpp:
d
efine __i38
6
__;
_
_x86_64__ is no
l
onger supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami
R
udi
gen: l
o
ad the
first
t
m
p before calling
T
M
P_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gh
o
lami
Rudi
a
d
d README
commit
|
commitdiff
|
tree
2010-08-13
A
li
Gholami Rudi
ncc
:
fi
x
name-
>
name str ini
t
ial
i
z
e
r
commit
|
commitdiff
|
tree
2010-08-13
A
l
i
Gholami
R
u
d
i
all
o
w extern arr
a
y
declarations wit
h
out siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
c
pp: in
c
l
u
de stdde
f
.
h for using off
s
etof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami R
u
d
i
tok: parse u
p
percase h
e
x numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gh
o
lami Rudi
ncc:
f
ix set
t
in
g
F_INIT for each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rudi
cpp: handle
n
est
e
d
macr
o
calls like M(M
(
1))
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
olami Rud
i
t
ok: don't go
beyond bu
f
len for 3-char t
o
ke
n
s
commit
|
commitdiff
|
tree
2010-07-14
Al
i
G
h
olami Rudi
t
ab
.
h: use the standard o
f
fseto
f
()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
G
h
ola
m
i Rudi
ncc: fix calling ts
_
pop() pr
e
maturely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
Rudi
gen: ignore the sign of the seco
n
d
ope
r
and in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholam
i
Rudi
ncc: f
i
x
& and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
h
olami Rudi
gen: don't
o
verwrite pushed ebx, esi
and edi
commit
|
commitdiff
|
tree
2010-07-09
A
li
G
hol
a
mi Rudi
gen: change st
a
ck alig
n
m
e
nt
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rudi
ncc
:
d
o
n't change operand orde
r
for cons
t
ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: only perform const o
p
for
a
ddresses wh
e
n a
d
ding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen
:
zer
o
ing
e
ax doesn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i
R
udi
nc
c
: fix
+
+s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rudi
ncc:
f
ix function pointer
arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
h
o
lam
i
Ru
d
i
gen:
remove the
u
nu
s
ed c
_
op()
commit
|
commitdiff
|
tree
2010-06-30
A
li G
h
olam
i
Rudi
gen: use tmp->of
f
for locals
too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port neatcc to
x
86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Ru
d
i
gen: funct
i
o
n
s for per
f
orming optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
gen
:
fix two-
b
yt
e
opc
o
de
b
it
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
ge
n
: us
e
a
n
int for op
e
rator
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
re
p
l
a
c
e
o
_
*(
)
functi
o
ns w
i
th o_bop()
a
n
d o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add
s
peciali
z
ed inc/
d
ec
o
p
erati
o
n
s
commit
|
commitdiff
|
tree
2010-06-21
Ali Gho
l
ami Rudi
gen
:
let all grps be
used
a
s
by
t
e regis
t
ers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: don't nee
d
MAXS
E
C
S anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghola
m
i Rudi
tab: let table size be HAS
H
IT
E
MS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
ami Rud
i
o
u
t: merge all
s
ections into one
t
ext section
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
holami
Rudi
cpp: reset a
r
g co
u
nt on macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali
Gholami
Rudi
out: make neatcc work wit
h
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen:
handle char argu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
ncc:
a
lign
s
t
ructs based o
n
the f
i
rst field
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Ru
d
i
mov
macro hash tabl
e
t
o tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
gen: handle unsigned
-
> long
c
ast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
c
pp: s
a
v
e
macro names in
a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
ncc:
divi
d
e
(
ptr - pt
r
) result
o
n
l
y
i
f si
z
e
>
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami
R
u
d
i
ge
n
:
use movsxd only when
src is
signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
tok:
0
x1 sh
o
uld be unsig
n
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
g
e
n:
fix the
c
o
ndit
i
ons for m
o
vxx o
p
erations
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gh
o
lam
i
Rudi
ncc: fix
g
etting i's
t
ype in
+
+i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: h
a
ndle ptr op
e
rations on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami R
u
di
ncc:
f
i
x
calling
function poi
n
ters with arg
u
ments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
ncc: d
o
n't take
case exp
r
s a
s
lab
e
l
s
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
holami Rudi
g
en: don
'
t generate c
o
de
after o_n
o
gen() in
o
i()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
all tmps should be the same in conditional br
a
nches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami R
u
di
ge
n
: fix loading
back tmp
s
in mem
without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
let
t
ok_
n
um() return
t
he bt
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gholami
Rudi
gen: relocation address size is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami Rudi
gen:
fix SYM_PTR(
)
macro
commit
|
commitdiff
|
tree
2010-06-16
A
l
i Gholami Rudi
gen: fi
x
!!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Ghol
a
mi Rudi
ncc:
let
shift amount be
an unsigned
commit
|
commitdiff
|
tree
2010-06-15
A
li Gh
o
lami
R
udi
ge
n
: cleanup tmp handling and
f
ix
regs ar
r
ay
i
n o
_
s
w
ap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
nc
c
: align struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghola
m
i Rud
i
gen:
m
a
r
k copied register as
t
he o
w
ner in o_tmpcopy(
)
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gho
l
a
mi Rudi
gen: fix "i
f
(!exp
r
)"
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gh
o
lami Rudi
n
c
c:
f
ix pointer arithmetic on s
t
ruct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gholami
Rudi
show an e
r
r
o
r
msg if no in
p
u
t
file
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
tok: accep
t
uppercase hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Ghola
m
i
Rudi
s
h
o
w
s
y
ntax error
locat
i
on
commit
|
commitdiff
|
tree
2010-06-12
Ali Ghola
m
i Rudi
gen: fix ignoring regop1() r
e
turn value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami R
u
di
gen: don't chan
g
e tmp->bt
when storing an lv
a
lue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Ru
d
i
gen:
e
x
tend eax to e
d
x for
mul/div op
commit
|
commitdiff
|
tree
2010-06-11
A
l
i
Ghol
a
mi Rudi
ncc: arrays should be processed in the reversed or
d
er
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
gen: fix the order of MOVSXD's opera
n
ds
commit
|
commitdiff
|
tree
2010-06-10
Al
i
Gholami Rudi
g
e
n:
fix freeing
r
egisters b
e
for
e
call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
in
v
alidate
l
a
s
t_cm
p
if tmp
s
are changed
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholam
i
Ru
d
i
derefer
e
nce both s
i
des of a condi
t
io
n
a
l
e
xpre
s
sion
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
am
i
Rudi
cpp:
c
heck buffer stack instead of cppeval
var
i
able
commit
|
commitdiff
|
tree
2010-06-09
Ali Ghola
m
i Rudi
cpp: p
r
event recursiv
e
macros
commit
|
commitdiff
|
tree
2010-06-09
Ali Ghola
m
i R
u
d
i
cpp: mult
i
-argum
e
nt ma
c
ros
commit
|
commitdiff
|
tree
2010-06-08
Ali Gh
o
lami R
u
di
cpp: sp
a
ce between ma
c
ro
a
nd '('
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
olami Rudi
ncc: ex
i
t if number of ele
m
ents exce
e
ds its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ncc
:
only add us
e
d external symbol
s
to elf sy
m
tab
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami
Rudi
handle #
i
f an
d
#
elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gho
l
ami Rudi
handle
#
ifdef, #ifndef, #e
l
se and #endif
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
olami Rudi
support
#u
n
def
N
AME
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami R
u
di
allow
-Dname=val opt
i
on
commit
|
commitdiff
|
tree
2010-06-08
Ali Ghola
m
i Rudi
cpp: hand
l
e function macro
s
commit
|
commitdiff
|
tree
2010-06-07
Ali Gholami Rudi
handle -I
i
nclude pat
h
s
commit
|
commitdiff
|
tree
2010-06-06
Ali
Ghol
a
mi Rudi
c
p
p: basic include macros
commit
|
commitdiff
|
tree
2010-06-06
Ali Ghol
a
mi Rudi
a
d
d
a basic preprocessor
commit
|
commitdiff
|
tree
2010-06-05
Ali
G
h
olam
i
Rudi
ncc: fix marking
undefin
e
d functio
n
s as functions
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami Rud
i
for statements with no co
n
ditio
n
commit
|
commitdiff
|
tree
2010-06-04
A
l
i Gh
o
l
a
mi Ru
d
i
tok: '\12' an
d
'
\
x3b'
commit
|
commitdiff
|
tree
2010-06-04
A
li Gholami Rudi
t
ok: su
p
port numbers with ul
p
ostfix
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami Rudi
t
ok: s = "a" "
b
";
commit
|
commitdiff
|
tree
2010-06-03
A
li Gholami Rudi
tok: read
s
tr and num as they are
s
e
e
n
commit
|
commitdiff
|
tree
2010-06-03
A
l
i Gho
l
ami Rudi
array->f
i
eld
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami Rudi
gen: fix o_tmpcopy() when copying regs
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami Rudi
support initialize
r
for static varia
b
les
commit
|
commitdiff
|
tree
2010-06-02
Ali Ghol
a
mi Rudi
i
n
t a[] = {1
,
2};
commit
|
commitdiff
|
tree
2010-06-01
Ali
G
holami Ru
d
i
handle
.
.
.
arg
u
m
ent
commit
|
commitdiff
|
tree
2010-06-01
Ali
G
holam
i
Rudi
handle array a
r
gs
commit
|
commitdiff
|
tree
2010-06-01
Ali Gh
o
lami Rudi
handle extern
v
ariabl
e
s
commit
|
commitdiff
|
tree
next