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
allow extern array declarations without size
2010-08-13
Ali
G
holami
Rudi
allow extern array declarat
i
on
s
wi
t
hout s
i
ze
commit
|
commitdiff
|
tree
2010-07-29
Al
i
G
h
olami Rudi
cpp: include
s
tddef
.
h for using
o
ffsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok: parse uppercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
Gholami Rudi
ncc: fix se
t
ti
n
g F_INIT for
each
d
e
fined name
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
ola
m
i R
u
di
cpp: handle nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok
:
don't
go bey
o
nd buf len for 3-c
h
ar to
k
e
n
s
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami Rud
i
tab
.
h: use t
h
e standard
offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
ncc:
f
ix calli
n
g ts_p
o
p() prematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholam
i
Rudi
gen: ig
n
ore t
h
e sign
o
f the second opera
n
d in /
and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: f
i
x & and * on
funct
i
o
n
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rudi
gen: don't overwr
i
te
p
ushe
d
ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami Rudi
gen
:
ch
a
nge
stack ali
g
nment
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
h
olami Rudi
ncc: don'
t
change
o
perand order for
c
ons
t
ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami Rudi
gen: only perform
c
onst op
for addresses when add
i
n
g
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami
R
udi
gen
:
ze
r
oing ea
x
d
o
esn't seem neces
s
ary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
R
udi
n
c
c
:
fix ++s
f
or p
o
inters
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Ru
d
i
ncc: fix func
t
ion
p
ointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gh
o
lami Rudi
gen: remove the u
n
used
c
_op
(
)
commit
|
commitdiff
|
tree
2010-06-30
A
l
i G
h
olami Rud
i
g
e
n
: us
e
tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali G
h
olami
R
u
d
i
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholam
i
Rudi
gen: functions for per
f
orming optimized
ops
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
gen: fix two-byte opcode
b
it
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Ru
d
i
gen
:
u
se an int for operator
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gh
o
lami Ru
d
i
r
e
pla
c
e o_*() functio
n
s with o_bop() and o
_
uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
R
udi
add speciali
z
e
d
inc/d
e
c op
e
rations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gh
o
la
m
i
R
udi
g
e
n: let
a
ll grps be us
e
d as
b
yte registe
r
s
commit
|
commitdiff
|
tree
2010-06-20
A
li Ghola
m
i
Rudi
out: don't need MAX
S
ECS anymor
e
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami R
u
di
tab: l
e
t tabl
e
size be HA
S
HITEM
S
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Ru
d
i
out:
merge
a
ll secti
o
ns into one text secti
o
n
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Rudi
cpp: reset arg count on macro r
e
defini
t
ion
commit
|
commitdiff
|
tree
2010-06-19
Ali
G
h
olami Rudi
out: make neatcc wo
r
k wit
h
gnu
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
l
am
i
Ru
d
i
gen: h
a
ndle
c
h
ar
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
ncc: align structs bas
e
d on the
f
irst f
i
eld
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
holami Rudi
m
ov macr
o
hash table to t
a
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
gen: handle u
n
s
i
gned -> lo
n
g cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
o
l
a
mi Rudi
cpp
:
sav
e
macro names in a hash t
a
ble
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gh
o
l
ami Rudi
ncc: div
i
de (ptr - ptr) re
s
ult
o
nly if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
g
en: use m
o
vsxd o
n
ly when
s
rc is s
i
gned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
to
k
: 0x1 sho
u
l
d
be unsigne
d
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gho
l
ami Ru
d
i
gen: fix
the c
o
nd
i
tions
for
mov
x
x operations
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
ncc: fix getting i's type in
+
+i
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Ghol
a
mi Rudi
ncc: handle p
t
r operation
s
on
st
r
ucts ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc:
fix calling function po
i
nters
w
ith arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
cc: don't t
a
ke case exprs as labe
l
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
g
e
n: don't generate code after o_
n
ogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
R
udi
a
ll tmps should be the same in conditiona
l
branches
commit
|
commitdiff
|
tree
2010-06-17
A
li Gholami R
u
d
i
gen: f
i
x loadin
g
b
ack tmps
i
n mem
w
ithout d
e
ref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gh
o
lami Ru
d
i
let
tok_num() retu
r
n the bt
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gholami
Rud
i
gen: r
e
location add
r
ess size is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix SYM_PTR() ma
c
ro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami R
u
di
gen: fix !!exp
r
commit
|
commitdiff
|
tree
2010-06-15
A
li Gholami Rudi
ncc: let sh
i
f
t
amou
n
t
be an unsig
n
ed
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami R
u
di
gen: cl
e
anu
p
tmp
handli
n
g and fix regs arr
a
y
in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami
R
udi
ncc:
align struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen:
ma
r
k copied register as
t
he ow
n
er in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gholami
R
udi
gen: fix "i
f
(
!
e
xp
r
)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi Rudi
n
cc:
fix pointer ari
t
hmet
i
c o
n
s
t
ruct
p
t
rs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
sh
o
w
an error
m
sg if no input
f
ile
commit
|
commitdiff
|
tree
2010-06-13
Al
i
Gholam
i
Rudi
t
o
k
: a
c
cept uppercase hex dig
i
ts
commit
|
commitdiff
|
tree
2010-06-13
A
li
G
holami Rudi
sho
w
syn
t
ax err
o
r l
o
ca
t
ion
commit
|
commitdiff
|
tree
2010-06-12
Ali
G
h
olami Rudi
g
e
n: fix ignoring regop1
(
)
r
e
turn
v
alue
commit
|
commitdiff
|
tree
2010-06-11
Al
i
G
h
olami Rud
i
gen: d
o
n't ch
a
nge
tmp->
b
t
when st
o
ring an lv
a
lue
commit
|
commitdiff
|
tree
2010-06-11
A
l
i G
h
ol
a
mi Rudi
gen
:
ext
e
nd eax to edx
f
or mul/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gho
l
a
mi R
u
d
i
ncc: arrays should
b
e pro
c
es
s
ed
i
n t
h
e reversed order
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
g
e
n
: fix the order of MOVSXD's oper
a
nds
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
gen: fix fr
e
eing regist
e
rs b
e
fore call
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
hola
m
i Ru
d
i
invalidate last_cmp
i
f
t
mps are cha
n
ge
d
commit
|
commitdiff
|
tree
2010-06-10
A
l
i G
h
olami Rudi
d
ereference bot
h
s
ides of a c
o
ndit
i
onal expression
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
h
olam
i
Rudi
c
pp:
c
h
e
ck buffe
r
sta
c
k
instead of cppeval variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Rudi
cpp: preven
t
recursive mac
r
os
commit
|
commitdiff
|
tree
2010-06-09
Ali G
h
olami Rudi
cpp
:
multi-argument m
a
cros
commit
|
commitdiff
|
tree
2010-06-08
A
li
Gholami Rudi
c
p
p
:
s
pace between macro an
d
'
('
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
olami Rudi
ncc: e
x
it if n
u
mber o
f
elements exceeds its
m
ax
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
n
c
c
:
on
l
y add used external
s
y
mbols t
o
elf symtab
commit
|
commitdiff
|
tree
2010-06-08
Ali
Gholami Rudi
handle #if
and #elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gho
l
ami Rudi
handle
#
ifdef, #ifndef, #else and #end
i
f
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami
R
udi
s
u
pport #unde
f
NAME
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gh
o
l
a
mi Rudi
allow
-Dname=val optio
n
commit
|
commitdiff
|
tree
2010-06-08
Ali Ghol
a
mi Rudi
cpp: han
d
l
e func
t
ion
m
acros
commit
|
commitdiff
|
tree
2010-06-07
A
li G
h
olami
R
u
di
hand
l
e -I include
paths
commit
|
commitdiff
|
tree
2010-06-06
Ali Gholami
R
udi
cpp: basic include macro
s
commit
|
commitdiff
|
tree
2010-06-06
Ali G
h
ol
a
mi
R
u
di
add
a basic preprocess
o
r
commit
|
commitdiff
|
tree
2010-06-05
Ali Gholami Ru
d
i
n
c
c: fix marking undefined functions as functions
commit
|
commitdiff
|
tree
2010-06-04
Ali
G
holami
R
udi
for state
m
ents
w
ith no co
n
dition
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami Rudi
tok: '\12' and '\x3b'
commit
|
commitdiff
|
tree
2010-06-04
Ali Gh
o
l
a
mi Rudi
t
o
k:
s
upport number
s
wit
h
u
l
postfix
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami
R
u
di
to
k
:
s = "a" "
b
";
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami Rud
i
t
o
k:
r
ead
s
tr
a
nd num as they are seen
commit
|
commitdiff
|
tree
2010-06-03
A
l
i Gholami
Rudi
array->field
commit
|
commitdiff
|
tree
2010-06-03
Ali G
h
olami Rudi
gen: fi
x
o_tmpcopy() when
c
opying
regs
commit
|
commitdiff
|
tree
2010-06-03
Ali
G
holami Rudi
support
i
nitia
l
izer for static variables
commit
|
commitdiff
|
tree
2010-06-02
A
l
i Gholami Rudi
i
nt a[] = {1, 2};
commit
|
commitdiff
|
tree
2010-06-01
A
l
i Gholami
R
udi
handle
.
.
.
argument
commit
|
commitdiff
|
tree
2010-06-01
Ali
G
h
olami Rudi
handle arra
y
args
commit
|
commitdiff
|
tree
2010-06-01
Ali Gholami Rudi
handle extern
v
a
riables
commit
|
commitdiff
|
tree
2010-06-01
Ali Gho
l
ami Rudi
fun
c
tion pointer argume
n
t
s
commit
|
commitdiff
|
tree
2010-05-31
Ali Ghol
a
mi
R
u
di
accept signed tok
e
n
commit
|
commitdiff
|
tree
2010-05-31
Ali Gholami Rud
i
handle s
i
zeof(*
p
) where p is void *
commit
|
commitdiff
|
tree
2010-05-30
Ali
G
holami Rudi
ncc: handle unnamed s
t
ructs
commit
|
commitdiff
|
tree
2010-05-30
Ali Gholami Rudi
n
c
c: h
a
n
dle
f
orward struct ptr usage
commit
|
commitdiff
|
tree
next