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: call tmp_to() in for loading rhs in o_assing()
2011-03-20
Ali Gho
l
ami Rudi
gen: call tmp_to()
i
n
for loading rhs in
o
_ass
i
n
g
(
)
commit
|
commitdiff
|
tree
2011-03-20
A
l
i
Gholami Rudi
gen: ign
o
r
e
O_SIGNED when checking the o
p
code
commit
|
commitdiff
|
tree
2011-03-17
A
li Gh
o
lami R
u
d
i
gen
:
fi
x
signed division
t
o
negate t
h
e
rema
i
nder
commit
|
commitdiff
|
tree
2011-03-16
A
li
Gholami Rudi
gen: merge decrement an
d
check in i_memcp
y
() an
d
i_me
m
s
et()
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i R
u
di
g
en: do
n
't sa
v
e variab
l
e
r
eg
i
st
e
rs before call
s
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami
R
udi
gen:
a
dd
software
div/mod implementatio
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: set O_SIGN for
m
ost bin
a
r
y
operations
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
olami Rudi
ncc:
der
e
ference
t
he not expressi
o
n of ce
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
perform sig
n
ed operati
o
ns if O_SIGNED
b
it is s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rudi
ncc: don'
t
ca
s
t the return value for void f
u
n
c
t
ions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
gen: more compact v
e
rsion
of
m
emcpy()
and memset(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
olam
i
Rudi
g
e
n: don't output relocati
o
n
s wh
e
n
o
_nogen() is
c
a
l
led
commit
|
commitdiff
|
tree
2011-03-13
Al
i
Gholami
R
udi
neatc
c
ar
m
p
o
rt
commit
|
commitdiff
|
tree
2011-03-08
Ali Ghol
a
mi Rudi
c
l
ean
up the inte
r
f
ace betwe
e
n ncc
.
c, g
e
n
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gho
l
ami Ru
d
i
npp: remov
e
c
o
m
m
ents after
preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
a
m
i Rudi
cpp: don'
t
r
e
m
ov
e
non-macro number sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Ghola
m
i Rudi
npp: allow usi
n
g neatcc's preprocessor
a
s
a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li
Gholami Rudi
cpp: don't ski
p
non
-
eol macro
b
ackslashes
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami Rudi
g
en
:
fix op_rs()
opti
m
izati
o
n
f
unction
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
l
a
mi Rudi
gen: use better n
a
mes for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: defi
n
e
__i386__; __
x
86_64__ is no longer sup
p
orte
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholam
i
R
u
di
gen: load the fi
r
st tmp b
e
f
o
re
call
i
n
g TMP_R
E
G2(
)
commit
|
commitdiff
|
tree
2010-09-16
A
l
i Gholami Ru
d
i
add RE
A
D
ME
commit
|
commitdiff
|
tree
2010-08-13
A
li Gholami Rudi
ncc
:
f
i
x
na
m
e->name s
t
r initial
i
zer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rud
i
allow extern array declara
t
i
ons witho
u
t size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gho
l
ami Rudi
c
p
p: inclu
d
e
stddef
.
h f
o
r using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholam
i
Rudi
tok: parse
uppe
r
case hex nu
m
bers
commit
|
commitdiff
|
tree
2010-07-25
Ali
Ghol
a
mi R
u
di
ncc: fix
setti
n
g F_
I
N
IT for each define
d
na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i Rudi
cpp: handle nested
macro calls li
k
e M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholami Rudi
tok: don
'
t
g
o beyond buf len
f
o
r 3-
c
har tok
e
ns
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami
R
udi
tab
.
h: use
the standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholami Rudi
ncc: fix call
i
ng t
s
_p
o
p
() prematu
r
ely in
o
passi
g
n
(
)
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Ghol
a
m
i Rudi
gen: ign
o
re
t
h
e si
g
n o
f
the secon
d
oper
a
n
d
i
n
/ an
d
%
commit
|
commitdiff
|
tree
2010-07-10
A
li Gholami Rudi
n
c
c
:
fix & and * on fu
n
ctions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
en: don't
o
verwrite
p
u
s
hed ebx, esi and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami R
u
d
i
gen: change stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami
R
udi
ncc: don't
c
hange operand ord
e
r for const ops
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami
R
udi
gen: only perfor
m
const op for addresses w
h
en ad
d
ing
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholam
i
Rudi
gen: zeroing e
a
x doesn't
seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi
Rudi
ncc: fix ++
s
f
o
r poi
n
t
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
ncc: f
i
x
f
uncti
o
n
p
ointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
gen: remove
the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: use
tm
p
->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali G
h
olami Rudi
port neatcc t
o
x8
6
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami
Rudi
gen: f
u
nct
i
o
ns for perf
o
rming optimized ops
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami
Rud
i
gen: fix
two-byte opcode bi
t
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: us
e
an
i
nt for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Ghola
m
i
R
u
d
i
rep
l
ace o
_
*() functions
w
it
h
o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
li Ghol
a
mi Rudi
a
dd specialized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gho
l
ami Rudi
ge
n
: let all grp
s
be used as b
y
te regist
e
rs
commit
|
commitdiff
|
tree
2010-06-20
Al
i
G
ho
l
ami Rudi
ou
t
:
d
on't need MAXSEC
S
anymore
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Ghol
a
mi Rudi
tab: let tabl
e
s
ize be HA
S
HIT
E
MS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: merge al
l
sections into on
e
text se
c
t
ion
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
h
olami Rudi
cpp:
r
eset
arg count on macro redefin
i
ti
o
n
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Ghola
m
i R
u
d
i
out: make neat
c
c work with g
n
u
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i
Ru
d
i
gen: handle c
h
ar
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i R
u
di
nc
c
: align str
u
cts based
on the firs
t
fie
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
mo
v
macro has
h
table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
di
gen:
h
andle unsign
e
d
-> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i
Rud
i
cp
p
: save macro names in
a
hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
ncc: divide (
p
tr - ptr) result only if siz
e
> 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
gen: use mov
s
xd
on
l
y
when src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hol
a
mi
R
u
d
i
tok: 0x1 s
h
ould
be uns
i
gned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
mi Rudi
g
e
n: fix the conditions f
o
r movxx operatio
n
s
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hol
a
mi Rudi
ncc
:
fix getting i
'
s t
y
pe in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
ud
i
ncc: handle pt
r
o
perations on struc
t
s
ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i
Rudi
nc
c
: fix calling function
p
oin
t
ers with arg
u
ments
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami
R
u
di
ncc
:
don
'
t take case expr
s
a
s
labels
commit
|
commitdiff
|
tree
2010-06-18
A
li Gho
l
ami
R
udi
gen: don't g
e
ner
a
te co
d
e after o_nogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
all
t
m
ps should
be the sa
m
e in conditional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali G
h
olam
i
R
u
di
g
e
n: fix loading back tmps
in
m
em
without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
h
olami Ru
d
i
le
t
tok_num() return the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gholami R
u
di
gen: reloca
t
io
n
addre
s
s si
z
e
i
s always 4
f
o
r
n
ow
commit
|
commitdiff
|
tree
2010-06-16
Al
i
Gholami
Rudi
gen:
fi
x
SYM_PTR(
)
macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
g
e
n: fix !
!
ex
p
r
commit
|
commitdiff
|
tree
2010-06-15
Ali Ghol
a
m
i Rudi
ncc: let shift amount be an un
s
igned
commit
|
commitdiff
|
tree
2010-06-15
Ali Ghol
a
mi Rudi
gen:
c
lea
n
up tmp han
d
l
i
ng and fix re
g
s array in
o_
s
wap()
commit
|
commitdiff
|
tree
2010-06-14
A
li Gholami Rudi
ncc:
a
l
i
gn struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghola
m
i
R
udi
gen: mark copied register as
th
e
owner in o_
t
mpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi Rudi
gen:
f
ix "if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
nc
c
: fix pointer arithm
e
tic on struct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
h
olami
R
udi
s
how an e
r
ror m
s
g if no in
p
ut fil
e
commit
|
commitdiff
|
tree
2010-06-13
Ali Gh
o
lami
Rudi
tok: accep
t
upperca
s
e h
e
x digits
commit
|
commitdiff
|
tree
2010-06-13
A
l
i Gholami Rudi
sho
w
synt
a
x err
o
r location
commit
|
commitdiff
|
tree
2010-06-12
Ali Gho
l
ami
Rudi
g
e
n
: fix ignor
i
ng regop1
(
) return value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami R
u
di
gen: d
o
n't c
h
a
nge tmp-
>
bt when st
o
rin
g
an
l
value
commit
|
commitdiff
|
tree
2010-06-11
Ali G
h
ola
m
i Rudi
gen: ex
t
end eax to ed
x
for mul/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Ru
d
i
ncc
:
arrays s
h
ould b
e
p
r
ocessed
i
n
th
e
rever
s
ed order
commit
|
commitdiff
|
tree
2010-06-10
Al
i
G
h
olami Rudi
ge
n
:
fix the order
o
f
MOVSXD's operands
commit
|
commitdiff
|
tree
2010-06-10
A
li
G
holam
i
Rudi
gen: fix freeing
r
egisters before call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
invalidate l
a
st_cmp if tm
p
s
a
r
e
changed
commit
|
commitdiff
|
tree
2010-06-10
A
li
G
holami
R
ud
i
der
e
ference both sides o
f
a c
o
n
dition
a
l
exp
r
ession
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
holami Ru
d
i
c
pp: check buffer st
a
ck
i
nstead of cppeva
l
v
a
r
i
able
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholam
i
Rudi
cp
p
:
p
reve
n
t recursive macro
s
commit
|
commitdiff
|
tree
2010-06-09
Ali Ghol
a
mi R
u
d
i
cpp: multi-
a
rg
u
ment ma
c
ros
commit
|
commitdiff
|
tree
2010-06-08
Ali Gho
l
a
mi
Rud
i
c
p
p: space
b
etw
e
en macr
o
and '('
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Ru
d
i
n
c
c: ex
i
t if number of elements ex
c
eeds
its
max
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gholami
Rudi
ncc: only add used extern
a
l
symbols to
elf symt
a
b
commit
|
commitdiff
|
tree
2010-06-08
A
li Gholami
Rudi
handle #if an
d
#elif
commit
|
commitdiff
|
tree
next