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
npp: allow using neatcc's preprocessor as a standalone program
2011-02-19
Ali Gholami Rudi
np
p
: all
o
w
usin
g
n
eatcc's preprocessor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gh
o
lami Rudi
cpp:
d
on't skip n
o
n-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
fix op_rs()
optimiz
a
tion
f
unc
t
i
on
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami Rudi
gen: use bett
e
r
names for
o
pcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gh
o
lami Rudi
c
pp: def
i
ne __i386__
;
_
_
x86_64__ is no longer su
p
p
orted
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghola
m
i Rudi
g
e
n: lo
a
d the first
tmp before calling TM
P
_
REG2(
)
commit
|
commitdiff
|
tree
2010-09-16
Al
i
G
holami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc: fi
x
n
ame->
n
ame s
t
r initia
l
izer
commit
|
commitdiff
|
tree
2010-08-13
A
li
Gh
o
lami Rudi
allow ex
t
er
n
array
d
eclaration
s
wit
h
out si
z
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami R
u
d
i
cpp: include stdde
f
.
h for
using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali
G
h
ol
a
mi Rudi
t
o
k: parse upperc
a
s
e
hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali G
h
olami Ru
d
i
ncc: fix
s
etti
n
g
F
_
INIT for ea
c
h define
d
nam
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Ru
d
i
cp
p
: h
a
n
d
le n
e
sted m
a
cro
c
alls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami
R
udi
tok
:
don't go be
y
ond b
u
f len for 3-char t
o
kens
commit
|
commitdiff
|
tree
2010-07-14
A
li Gh
o
lami Rud
i
t
a
b
.
h: us
e
t
he standard offset
o
f()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
nc
c
: f
i
x
cal
l
i
ng ts_
p
op() premat
u
r
e
ly in op
a
ssign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholami Rudi
gen: i
g
nore the sign of the
s
econd ope
r
an
d
in /
a
nd %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholam
i
Rudi
ncc: fix & and * on
f
u
nctions
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami Rudi
gen: don't o
v
erwrite pushed ebx
,
esi
and
e
di
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen
:
c
hange s
t
a
ck ali
g
nmen
t
t
o
4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: don
'
t change oper
a
nd order
f
or const
ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
g
e
n
: onl
y
perform const op for addre
s
ses w
h
en addin
g
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen: zeroing eax doesn't seem neces
s
ary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fi
x
++s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rudi
ncc: fix function pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholam
i
R
u
di
g
e
n: remove the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
R
udi
g
e
n
: use
tmp
-
>off for locals too
commit
|
commitdiff
|
tree
2010-06-28
A
l
i
Gholami Rudi
p
ort ne
a
tcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
g
en: fu
n
ctions for perfo
r
ming optim
i
zed ops
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami Rudi
gen: fix two-byte opcode
bit
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami Rudi
g
en: use an int for
o
perators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gho
l
ami Rudi
r
e
place o_*() functions with o_bop() an
d
o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
li Gholami Rudi
add specialized inc/dec operation
s
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
Rudi
gen:
l
e
t
a
l
l grps be used
a
s by
t
e
r
e
gist
e
r
s
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami
Rudi
out
:
d
on't
need MAXSECS an
y
mo
r
e
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami R
u
di
tab:
le
t
table siz
e
be H
A
SHI
T
EMS
commit
|
commitdiff
|
tree
2010-06-20
Al
i
G
holam
i
Rudi
out
:
me
r
g
e
all section
s
into one text
s
ection
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: reset arg
count
on ma
c
ro
redefiniti
o
n
commit
|
commitdiff
|
tree
2010-06-19
Al
i
Gholami Ru
d
i
out: make neatcc wor
k
with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami
Rudi
gen:
h
and
l
e ch
a
r arguments
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
h
olami Ru
d
i
ncc:
a
lign
s
tru
c
ts
based on the first field
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holam
i
Ru
d
i
mo
v
m
a
c
ro h
a
sh table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami Rudi
gen: handle unsigned -> l
o
n
g
cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
cp
p
:
save
macro n
a
mes
i
n a hash
table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: divide (ptr - pt
r
) r
e
sult only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
gen:
us
e
mov
s
xd on
l
y when
s
rc is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
tok: 0x1 should
b
e unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
gen: f
i
x the condi
t
ions
for movxx o
p
erations
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gho
l
ami Rudi
ncc:
f
ix get
t
ing i's
typ
e
in +
+
i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
h
olami Rudi
n
cc: handle p
t
r op
e
rat
i
ons on stru
c
t
s
p
trs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
m
i
Rudi
ncc: f
i
x cal
l
ing function pointers with arguments
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami
R
udi
ncc
:
don't take cas
e
e
xprs as labels
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rud
i
gen: don't generate code after o_nogen()
i
n oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
a
l
l t
m
ps sho
u
ld be the sam
e
in
conditional branches
commit
|
commitdiff
|
tree
2010-06-17
A
li Gholami Rud
i
gen: fix
loading back tmps in mem wit
h
out dere
f
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gholami Rudi
let
tok_num() return the b
t
commit
|
commitdiff
|
tree
2010-06-17
Ali G
h
olami
Rudi
gen: reloca
t
ion address
s
ize is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali
Gholami Rudi
gen: fix SYM_PT
R
() macro
commit
|
commitdiff
|
tree
2010-06-16
A
li G
h
olami Rudi
gen: fix !!exp
r
commit
|
commitdiff
|
tree
2010-06-15
A
l
i
Gho
l
ami Rudi
ncc: le
t
sh
i
f
t
amount be an un
s
i
gne
d
commit
|
commitdiff
|
tree
2010-06-15
Ali Gh
o
l
ami Rudi
gen: clea
n
up
t
mp
h
andli
n
g and
fix r
e
gs array in o_swa
p
()
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami Rudi
ncc: ali
g
n str
u
ct members
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Ghol
a
mi Rudi
gen: mark copied reg
i
ste
r
as the
o
wner in o_tmpc
o
py()
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gholami Ru
d
i
gen: fix
"
if
(
!exp
r
)
"
commit
|
commitdiff
|
tree
2010-06-14
A
l
i
Gh
o
la
m
i Rudi
ncc: f
i
x pointer arithmetic on st
r
uct ptrs
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gholam
i
Rudi
show an
error msg if
n
o input file
commit
|
commitdiff
|
tree
2010-06-13
A
li Gh
o
l
am
i
Ru
d
i
tok: accept
uppercase h
e
x dig
i
ts
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
s
h
ow synt
a
x err
o
r
l
oc
a
ti
o
n
commit
|
commitdiff
|
tree
2010-06-12
Ali Gholami Rudi
gen:
fix ignoring rego
p
1() return value
commit
|
commitdiff
|
tree
2010-06-11
Ali
Gholami Rud
i
ge
n
:
don'
t
change tmp->bt
w
hen
s
toring an
l
value
commit
|
commitdiff
|
tree
2010-06-11
Ali G
h
olam
i
R
udi
gen:
e
x
tend eax to edx for mul/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
Rudi
ncc: arr
a
ys
s
h
o
uld be
p
roce
s
sed in the re
v
ersed o
r
der
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
gen:
f
i
x the
order of MOVSXD's operands
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
ami Rudi
ge
n
:
fi
x
freein
g
re
g
isters befo
r
e
c
all
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
invalidate last_cmp if
tmps are changed
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami R
u
di
d
ereferen
c
e both sides of a
conditional expression
commit
|
commitdiff
|
tree
2010-06-10
A
l
i
Gholami Rudi
cpp: check buffer stack instead of cppe
v
a
l variable
commit
|
commitdiff
|
tree
2010-06-09
Al
i
Gholami Rudi
cpp: prevent recursive ma
c
ros
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholam
i
Rud
i
cpp: multi-argume
n
t macros
commit
|
commitdiff
|
tree
2010-06-08
Ali
Ghol
a
mi Ru
d
i
c
p
p: s
p
ace between mac
r
o
and '
(
'
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
holami Ru
d
i
ncc: e
x
it if
n
u
m
ber o
f
elements exc
e
eds its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gh
o
lami Rudi
n
c
c
: only add u
s
ed external symbols to
e
lf
s
ymt
a
b
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
ho
l
a
m
i
Rudi
handle
#if and #elif
commit
|
commitdiff
|
tree
2010-06-08
A
li Gholami Rudi
handl
e
#ifdef, #ifndef
,
#e
l
se and #
e
ndi
f
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
ola
m
i R
u
di
support #un
d
ef N
A
ME
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
olami Rudi
allow -Dname
=
v
a
l option
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gh
o
lami Ru
d
i
cpp: handle fun
c
tion m
a
cros
commit
|
commitdiff
|
tree
2010-06-07
Ali Gholami Rudi
h
and
l
e -I include p
a
ths
commit
|
commitdiff
|
tree
2010-06-06
A
li Gholami Rudi
cpp:
b
asic
i
nclude macro
s
commit
|
commitdiff
|
tree
2010-06-06
Ali
Gholami Rudi
add a
b
a
sic p
r
eprocessor
commit
|
commitdiff
|
tree
2010-06-05
Ali Gholami Rudi
n
cc: f
i
x m
a
rkin
g
u
ndefined functions as funct
i
ons
commit
|
commitdiff
|
tree
2010-06-04
Ali Ghola
m
i Rudi
for statemen
t
s with no condi
t
ion
commit
|
commitdiff
|
tree
2010-06-04
A
l
i Gholami Rudi
tok: '\12' and '\x
3
b'
commit
|
commitdiff
|
tree
2010-06-04
Al
i
Gholam
i
Rudi
t
o
k: s
u
pport numbers with ul postfi
x
commit
|
commitdiff
|
tree
2010-06-04
Ali
Gho
l
ami
R
udi
tok: s =
"
a" "b";
commit
|
commitdiff
|
tree
2010-06-03
Ali G
h
o
l
ami Ru
d
i
to
k
: read
str and num as
t
hey are se
e
n
commit
|
commitdiff
|
tree
2010-06-03
Ali Gho
l
ami Rudi
array->
f
ield
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami Rudi
gen: fix o_tm
p
co
p
y() when copyin
g
reg
s
commit
|
commitdiff
|
tree
2010-06-03
Ali
G
holami Rudi
su
p
port initia
l
i
zer for
s
tatic vari
a
bles
commit
|
commitdiff
|
tree
2010-06-02
A
l
i
G
holami Rudi
int a[] = {1, 2};
commit
|
commitdiff
|
tree
next