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
cpp: handle nested macro calls like M(M(1))
2010-07-14
Ali Gholami Rudi
cp
p
:
h
andle nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
G
hola
m
i Rudi
tok: don't go beyon
d
buf len for
3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gho
l
a
m
i Rudi
tab
.
h
: use
t
he standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
ncc: fix calling t
s
_pop
(
)
prematu
r
ely
i
n opas
s
ign()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gholami
Ru
d
i
gen:
ig
n
ore the sign
o
f the second op
e
rand
i
n / and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: fix
& a
n
d * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
u
d
i
gen: don't over
w
rite pushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
udi
ge
n
: change
stack
alignme
n
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
Gholami
Rudi
ncc
:
don't change operand order
for co
n
st o
p
s
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami Ru
d
i
gen: only perfo
r
m c
o
n
s
t op for addresses when add
i
ng
commit
|
commitdiff
|
tree
2010-07-08
Ali Gh
o
lami R
u
di
gen: zeroing eax
d
oesn'
t
seem
n
ec
e
ssary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix ++s for poi
n
ters
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
Rudi
n
c
c:
fix function pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami
R
u
di
ge
n
: remove th
e
unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
A
li G
h
olami Rudi
g
en: use tmp->off
for locals too
commit
|
commitdiff
|
tree
2010-06-28
Al
i
Gholami Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
hola
m
i Rudi
gen: functions f
o
r
performing optimized ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i
G
h
olami Rud
i
g
en: fix two-byte opcode
bi
t
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami
R
u
d
i
gen:
use a
n
int for operator
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami
R
udi
replace o_*() functions with o_b
o
p() a
n
d
o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
Gholam
i
R
u
di
add specialized in
c
/dec o
p
e
r
ations
commit
|
commitdiff
|
tree
2010-06-21
A
l
i
Ghola
m
i R
u
di
g
e
n: let all grps be used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
h
ola
m
i Ru
d
i
o
ut: do
n
't need
MAXS
E
CS a
n
ym
o
re
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
t
a
b: let table siz
e
be H
A
SH
I
TEMS
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rud
i
out:
m
erge
all sec
t
ions
i
nt
o
o
n
e text section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: res
e
t arg count on
macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali G
h
olami Ru
d
i
o
u
t:
m
ake neatcc
work with
g
n
u ld
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
g
e
n:
hand
l
e
c
har arguments
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami
Rudi
n
c
c: alig
n
structs based on the first fiel
d
commit
|
commitdiff
|
tree
2010-06-18
Ali
Ghola
m
i Rudi
mov macro hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
gen: handle unsigne
d
->
long
c
a
st
commit
|
commitdiff
|
tree
2010-06-18
A
li
Gh
o
lami Rudi
cpp: save
m
acro names in a
h
ash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc
:
d
ivide (ptr - ptr) resu
l
t on
l
y
i
f
size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
mi R
u
di
gen: use movs
x
d
onl
y
when src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
la
m
i Rudi
tok
:
0x1 should be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hola
m
i Rudi
gen: fix the c
o
n
ditions for movxx oper
a
tions
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
ho
l
am
i
Ru
d
i
n
cc:
f
i
x
get
t
i
ng
i
's ty
p
e in +
+
i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc
:
handle
ptr operations on
structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami R
u
di
ncc: fix calli
n
g fun
c
t
ion poi
n
ter
s
with
arguments
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
ncc:
d
o
n
'
t take case exprs as lab
e
ls
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
gen:
d
on't generate co
d
e after o_nogen()
in o
i
()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
all tmps sh
o
uld be the same
i
n conditional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen: fix loading bac
k
tm
p
s in mem
w
ithout deref
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gholami Ru
d
i
let to
k
_
n
um()
r
eturn the
bt
commit
|
commitdiff
|
tree
2010-06-17
A
li Gho
l
ami Rudi
gen: re
l
ocation a
d
d
r
ess
size is always
4
f
or now
commit
|
commitdiff
|
tree
2010-06-16
Ali
Gholami Rud
i
gen: fix
S
YM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami
R
u
d
i
gen: f
i
x !!exp
r
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Ru
d
i
n
c
c
: le
t
shift amount
be an unsig
n
ed
commit
|
commitdiff
|
tree
2010-06-15
Al
i
Gholami Ru
d
i
gen: clean
u
p tmp handling and f
i
x r
e
gs arr
a
y
i
n o_s
w
ap()
commit
|
commitdiff
|
tree
2010-06-14
A
l
i
Gho
l
ami Rudi
ncc: alig
n
struc
t
members
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holam
i
Rudi
g
e
n:
m
a
r
k
c
o
pied re
g
ister as the owner in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gholami Rudi
g
e
n
: fix
"
i
f
(!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
h
ola
m
i Rudi
n
c
c
:
fix pointer arithmetic on struct pt
r
s
commit
|
commitdiff
|
tree
2010-06-14
A
li Ghol
a
m
i
Rudi
show an error msg if no input file
commit
|
commitdiff
|
tree
2010-06-13
Ali
G
hol
a
m
i
Rudi
tok: accep
t
upperca
s
e hex digits
commit
|
commitdiff
|
tree
2010-06-13
A
li
G
holami
Rud
i
s
h
o
w
syntax e
r
ror locat
i
on
commit
|
commitdiff
|
tree
2010-06-12
Ali Gholami Rudi
ge
n
: fix ignoring regop1() return value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Ru
d
i
gen: don't
change tmp
-
>bt
w
he
n
storing
a
n lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
ge
n
: extend eax to edx fo
r
mul/div op
commit
|
commitdiff
|
tree
2010-06-11
Al
i
G
holami Rudi
ncc: arrays sh
o
uld b
e
p
r
ocessed
in the reve
r
se
d
orde
r
commit
|
commitdiff
|
tree
2010-06-10
Ali
Gholam
i
R
u
d
i
gen
:
fix
the ord
e
r
o
f MO
V
SXD's o
p
erands
commit
|
commitdiff
|
tree
2010-06-10
A
l
i Gholami
R
udi
g
e
n: fix free
i
ng registers before call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
i
n
va
l
idate las
t
_cmp if
t
mp
s
are c
h
ange
d
commit
|
commitdiff
|
tree
2010-06-10
A
l
i
Gholami Rudi
dereference both sides
o
f
a con
d
i
t
ional expression
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami
Rudi
cpp: c
h
eck buf
f
er stack instead of cppeval
variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami
R
udi
cpp: prev
e
nt r
e
cu
r
sive macros
commit
|
commitdiff
|
tree
2010-06-09
Ali
Gholami Ru
d
i
cpp
:
multi-argum
e
n
t macros
commit
|
commitdiff
|
tree
2010-06-08
Al
i
G
h
ol
a
mi Ru
d
i
cp
p
: space between macro and '('
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rud
i
n
cc: exit if number of e
l
ements exc
e
eds
i
t
s
max
commit
|
commitdiff
|
tree
2010-06-08
Ali
Gholam
i
R
u
d
i
ncc:
only
a
d
d used external symbols
t
o
e
lf symtab
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
holami Rudi
h
a
ndle #
i
f and #
e
l
if
commit
|
commitdiff
|
tree
2010-06-08
A
li Gh
o
l
a
m
i
R
u
di
h
a
ndle
#
if
d
ef, #ifndef, #
e
lse and #endif
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gholami Rud
i
suppo
r
t
#
u
ndef
N
A
ME
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami
Rudi
allow -Dna
m
e=val option
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gholami Rudi
cpp
:
ha
n
dle function
macros
commit
|
commitdiff
|
tree
2010-06-07
A
l
i Gholami Rudi
handle -I include paths
commit
|
commitdiff
|
tree
2010-06-06
Ali
Gh
o
lami Rudi
cpp: basic incl
u
de
m
ac
r
o
s
commit
|
commitdiff
|
tree
2010-06-06
Ali
G
h
o
lami Rudi
add a basic preproces
s
or
commit
|
commitdiff
|
tree
2010-06-05
Ali Gholami Rudi
ncc: fix markin
g
unde
f
ined funct
i
ons as
functions
commit
|
commitdiff
|
tree
2010-06-04
A
l
i Gholami Rudi
for statem
e
n
t
s wit
h
n
o
condition
commit
|
commitdiff
|
tree
2010-06-04
Ali G
h
ol
a
m
i
Rudi
tok
:
'\
1
2' and '\x3b'
commit
|
commitdiff
|
tree
2010-06-04
Al
i
Gh
o
lami Rudi
tok: s
u
pport n
u
m
b
e
rs w
i
th ul post
f
ix
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami
R
udi
tok
:
s =
"
a
"
"b";
commit
|
commitdiff
|
tree
2010-06-03
Ali Ghola
m
i Rudi
tok: read str and nu
m
as
they are
seen
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami
Rudi
array->field
commit
|
commitdiff
|
tree
2010-06-03
Ali
G
h
o
l
am
i
Rudi
gen: fix o_tm
p
cop
y
() when copyi
n
g
r
eg
s
commit
|
commitdiff
|
tree
2010-06-03
Al
i
G
holam
i
Rudi
sup
p
ort
i
niti
a
lizer for s
t
atic variables
commit
|
commitdiff
|
tree
2010-06-02
Ali Gholami Rudi
int a[] = {1, 2}
;
commit
|
commitdiff
|
tree
2010-06-01
Ali Ghol
a
m
i
R
udi
hand
l
e
.
.
.
ar
g
u
m
ent
commit
|
commitdiff
|
tree
2010-06-01
Ali Gho
l
a
mi Rudi
hand
l
e arra
y
ar
g
s
commit
|
commitdiff
|
tree
2010-06-01
Ali Ghola
m
i Rudi
handl
e
e
x
tern v
a
riables
commit
|
commitdiff
|
tree
2010-06-01
Ali Gholami Rudi
function po
i
n
t
er a
r
guments
commit
|
commitdiff
|
tree
2010-05-31
Ali Gholami Rudi
a
ccept s
i
gn
e
d t
o
ken
commit
|
commitdiff
|
tree
2010-05-31
Ali Gholami
Rudi
h
a
n
dle si
z
eof(*p)
w
here p is
v
o
id
*
commit
|
commitdiff
|
tree
2010-05-30
Al
i
Gholami Rudi
n
cc
:
handle unnamed structs
commit
|
commitdiff
|
tree
2010-05-30
Ali Gh
o
lami
Rudi
ncc
:
handle forward struct ptr u
s
age
commit
|
commitdiff
|
tree
2010-05-28
Ali Gholami Rudi
n
c
c: char a[4] = "ab
c
";
commit
|
commitdiff
|
tree
2010-05-28
Ali
Gholami
R
u
di
su
p
port goto statement
commit
|
commitdiff
|
tree
2010-05-28
Ali
G
h
o
lami R
u
di
gen: hand
l
e more
t
han
6 args
commit
|
commitdiff
|
tree
2010-05-28
A
li Gholami Rudi
gen
:
o
pt
i
mize const
a
n
t
o
pera
t
ions on local address
e
s
commit
|
commitdiff
|
tree
next