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: handle sym+off function calls
2011-04-29
Ali Gho
l
ami
Rudi
ge
n
: handle sym+of
f
functio
n
c
al
l
s
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami
R
u
d
i
g
e
n: m
o
ve arc
h
ite
c
ture-specif
i
c functi
o
ns to the
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Gh
o
lami R
u
di
gen: use i_s
e
t() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Al
i
G
h
olami Rudi
g
e
n: pass t
h
e number of
arguments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami Rudi
g
en: enco
d
e
0xf00
0
0000 as an immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
u
d
i
gen: swap
the immediat
e
if needed for =
=
and !
=
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami Rudi
g
en: enc
o
de cm
p
+imme
d
i
a
t
e instructi
o
ns
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami R
u
di
gen:
p
u
t
the i
m
me
d
iat
e
in the opco
d
e
if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
ami
Ru
d
i
gen: rem
o
ve cmp+
b
ran
c
h optimization;
m
o
ved to opt bra
n
ch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gh
o
lami Rudi
c
pp: handle function m
a
cros with no ar
g
uments
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
G
ho
l
ami Rudi
gen: rename dat_
b
s
s()
a
nd
d
at_
d
a
t
() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholami Rudi
g
en: group
functions
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
g
en: res
e
t
l
ast_se
t
after
cmp+b
o
p
tim
i
zat
i
o
n
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
udi
gen:
f
ix
~ operator implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali
Ghola
m
i
Rudi
ncc: dereference
f
unction pointers
like any ot
h
e
r
v
ariables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
Rudi
g
en: don
'
t
remo
v
e
the last
return jump
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Ghola
m
i
Rudi
gen: don't let o
_
cast() change der
e
ferenc
e
d type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc
:
u
se tok_
j
mp() instead of tok_(see|get)() in e
n
um_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
la
m
i Rudi
g
en: handle l
a
rge offsets for s
t
r
commit
|
commitdiff
|
tree
2011-03-25
A
li
G
holami Rudi
gen
:
replace TMP_REG* macros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami
Rudi
gen:
c
hange o_
n
ogen()/o_dogen() to be
recurs
i
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami R
u
di
gen: don't
g
e
ne
r
a
te
ex
c
ess jumps
f
or the l
a
s
t
return
commit
|
commitdiff
|
tree
2011-03-23
A
li G
h
olami Rudi
gen:
don't
a
dd duplicate da
t
a to numbe
r
pool
commit
|
commitdiff
|
tree
2011-03-20
A
l
i
G
hola
m
i Rudi
gen:
call tmp_to() in f
o
r loadi
n
g rhs in o_a
s
s
i
ng
(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: i
g
nore O_
S
IGNED when checking th
e
op
c
ode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholam
i
R
udi
ge
n
:
f
ix
s
igned division
t
o
negate the rem
a
in
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali G
h
olami Rudi
g
en:
merge d
e
cremen
t
and ch
e
ck in i_mem
c
py() and i_
m
ems
e
t(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
R
udi
gen:
d
on't save var
i
able regi
s
t
ers bef
o
re
c
a
lls
commit
|
commitdiff
|
tree
2011-03-15
A
li G
h
ola
m
i
Rudi
gen: add software di
v
/mod i
m
plementation
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholami Rudi
ncc: set
O_SIGN
fo
r
most bi
n
ary
o
pe
r
ations
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i R
u
di
ncc: d
e
reference
the not expressio
n
o
f
ce
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform s
i
gned op
e
rations if O_SIGNED bit is
s
et
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gho
l
ami Rudi
cpp
:
def
i
ne __arm__
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Rudi
ncc: don't
c
ast the r
e
turn v
a
lue for void functions
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gh
o
lami Ru
d
i
gen: more compact version
o
f
memcpy()
and memset()
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rud
i
gen
:
don't
o
ut
p
ut relocat
i
o
ns w
h
en o
_
nogen(
)
i
s
ca
l
le
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neatcc
arm po
r
t
commit
|
commitdiff
|
tree
2011-03-08
A
l
i G
h
olami
Rudi
clean up
the inte
r
f
ace bet
w
een ncc
.
c, g
e
n
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
Rudi
n
p
p: rem
o
ve comments
af
t
er preprocessin
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
c
p
p
:
don't rem
o
ve n
o
n
-macro number s
i
gns
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
np
p
: allow using ne
a
tcc's preprocessor as a
s
tandalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami
R
udi
c
p
p: don't sk
i
p non-
e
ol ma
c
ro bac
k
slashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghol
a
mi Rudi
gen: fix o
p
_rs
(
) op
t
imization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen
:
u
s
e better
n
a
mes for
opc
o
des
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp:
de
f
ine __i386__;
__
x
86_64_
_
is
n
o longer sup
p
orted
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghola
m
i
Rudi
g
e
n: load
t
h
e first tmp be
f
ore calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gh
o
lami Rudi
add R
E
AD
M
E
commit
|
commitdiff
|
tree
2010-08-13
Al
i
G
holami Rudi
ncc: fix name->name str initia
l
izer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholam
i
Rudi
a
l
l
ow extern array de
c
larat
i
ons
w
ithout size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gho
l
ami Rudi
cpp: include stddef
.
h f
o
r
using of
f
setof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok: par
s
e
u
p
p
ercase
h
e
x
numbers
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Gholami Rudi
ncc
:
fix
s
etting
F
_
I
N
I
T
for each
d
efined name
commit
|
commitdiff
|
tree
2010-07-14
A
l
i G
h
olami Rudi
cp
p
:
h
a
ndl
e
n
e
s
t
e
d m
a
cr
o
calls like
M
(M(1)
)
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami
R
udi
to
k
: don't go beyond buf len for 3-c
h
ar token
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
t
ab
.
h
:
use
t
h
e
standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
nc
c
:
fix calling ts_pop() p
r
ematurely in opassign
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Ghola
m
i
Rudi
gen: ignore the sign o
f
the sec
o
n
d
o
perand in /
and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Ghol
a
m
i
Rud
i
ncc: fix
&
and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rudi
gen: don'
t
overwr
i
te
p
ushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: chang
e
stack alignment to
4
commit
|
commitdiff
|
tree
2010-07-09
A
li Ghola
m
i Ru
d
i
n
cc:
d
on't ch
a
nge op
e
rand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rudi
gen
:
only per
f
orm const op for addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
Gholami Rudi
ge
n
:
z
e
roing eax doesn't seem
nec
e
s
sa
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi R
u
di
ncc: f
i
x
++
s
for poi
n
ters
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix
f
un
c
tion poi
n
ter arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami R
u
di
gen: remove the unuse
d
c_op()
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Ghol
a
mi
Rudi
gen: use tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rud
i
p
ort
n
eatcc to
x
86
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
h
olami Rudi
gen: function
s
for p
e
r
forming optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Ru
d
i
gen: fix two-
b
yt
e
opco
d
e b
i
t
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rudi
gen: use an
i
nt for operator
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
re
p
l
a
ce o_*
(
) functi
o
ns
with o_bop() and
o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghola
m
i Rudi
add
s
pecialized inc/dec operat
i
on
s
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami R
u
di
gen: let all grps be used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
l
a
mi R
u
d
i
ou
t
:
don't need MAXSECS
a
n
y
more
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
tab: let table size
b
e HASHIT
E
MS
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
out:
mer
g
e
a
ll s
e
ctions in
t
o one
text secti
o
n
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami Rudi
c
p
p: re
s
et arg count on m
a
cro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out: make ne
a
tcc w
o
rk with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
R
udi
gen: handle char ar
g
uments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
mi Rudi
ncc: align structs based o
n
t
h
e
f
irst fi
e
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
mov macro h
a
sh table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gho
l
am
i
R
udi
gen: handle
u
nsigned -> long
c
a
s
t
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
cp
p
: s
a
v
e
ma
c
r
o
n
a
m
es i
n
a hash ta
b
l
e
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami
R
u
di
ncc: d
i
vide (ptr -
ptr) r
e
s
ul
t
only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami
R
udi
gen: use mov
s
x
d only
wh
e
n
s
rc is sign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
t
ok: 0x
1
should be
uns
i
g
ned
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami
R
u
d
i
gen: fix the conditions
for movxx operatio
n
s
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami
R
udi
ncc
:
fix getti
n
g i's type in +
+
i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
n
c
c: hand
l
e ptr operat
i
ons o
n
structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gh
o
l
a
mi Rudi
n
c
c: fix ca
l
ling
f
unction
p
ointers
with argum
e
nt
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
cc: don'
t
t
a
ke
c
ase exprs as lab
e
ls
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
g
en: don't ge
n
era
t
e code
a
fter o_nogen()
i
n
o
i()
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Ghola
m
i Rudi
all tmps should b
e
the same in cond
i
t
i
onal branches
commit
|
commitdiff
|
tree
2010-06-17
Al
i
G
h
o
l
ami
Ru
d
i
gen: fix loading back tmps in
m
em
without
d
eref
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gholam
i
R
udi
le
t
tok_num() return th
e
bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gho
l
ami Rudi
gen:
r
elocation address
size is a
l
ways 4 for n
o
w
commit
|
commitdiff
|
tree
2010-06-16
Ali Gh
o
lami Rudi
gen: fix
S
Y
M_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholam
i
Rudi
gen: fix !!
e
xpr
commit
|
commitdiff
|
tree
2010-06-15
A
l
i
Gholami Rudi
ncc: let
shift amoun
t
be an unsi
g
ned
commit
|
commitdiff
|
tree
next