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
ncc: dereference function pointers like any other variables
2011-03-27
Ali Gholami Rudi
ncc: dereference function
p
ointers like an
y
ot
h
er
v
ariab
l
es
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholam
i
R
u
di
gen:
don't remove the
l
a
st
return ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
ud
i
gen: don'
t
l
e
t
o
_cast()
change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
ncc:
u
se tok_jmp() instead of tok_(see|get
)
() in e
n
um_
c
reate
(
)
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami R
u
di
gen: handle
l
arge
off
s
ets for
s
t
r
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
h
o
lami R
u
d
i
gen: replace TMP_REG*
ma
c
ros with reg
_
fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: ch
a
nge o_
n
o
g
e
n
()/o_dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: d
o
n't gen
e
rat
e
exce
s
s jumps for the
l
a
st return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen
:
d
o
n't add duplicate data to num
b
er p
o
ol
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami R
u
d
i
gen: cal
l
t
mp_to() in f
o
r
l
o
a
ding
r
h
s
i
n o_
a
ssing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: i
g
n
ore
O
_S
I
GNED w
h
en
ch
e
cking the opco
d
e
commit
|
commitdiff
|
tree
2011-03-17
Ali Gh
o
lami Rudi
g
e
n: fix signed d
i
vision to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Ru
d
i
gen: merge decremen
t
and check in i_memcpy() a
n
d i_memse
t
()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: do
n
't sa
v
e variabl
e
registers before
c
a
ll
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rud
i
gen: add softwa
r
e div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
o
lami Rudi
ncc: set O_SIGN for most binary o
p
eration
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami R
u
di
ncc:
d
ereferen
c
e th
e
n
o
t expression of
c
e
xprs
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
perform sign
e
d operations
if
O_SI
G
NED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: define _
_
arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rudi
nc
c
: don't cast the return value for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
a
m
i Rudi
gen: mor
e
compact version of memcpy()
a
nd memset()
commit
|
commitdiff
|
tree
2011-03-14
A
li G
h
o
la
m
i Rudi
g
en: do
n
't output reloc
a
tions when
o
_nogen()
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami R
u
d
i
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali G
h
olami Rudi
cl
e
an up the interface be
t
w
e
e
n
ncc
.
c, gen
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Rudi
npp: remove comments
after
pre
p
r
ocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami
Ru
d
i
c
p
p: don't remove
n
on-mac
r
o number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: all
o
w using neatc
c
'
s preprocessor
a
s
a standal
o
ne
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholami Rudi
cpp: d
o
n't s
k
ip non-eol ma
c
ro backs
l
ashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami
Ru
d
i
gen: fix op_rs() optimization
function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami R
u
d
i
g
en: use better
n
ames f
o
r
opcodes
commit
|
commitdiff
|
tree
2010-12-11
A
li Ghol
a
mi Rudi
cpp: define
__i386__
;
__x86_64__ is no longer sup
p
orted
commit
|
commitdiff
|
tree
2010-11-20
A
li Gh
o
l
ami Rudi
gen: load
t
h
e first
t
m
p be
f
o
r
e
calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
G
h
olami Rudi
a
d
d README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Ru
d
i
n
c
c
:
fix na
m
e->name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
R
udi
a
l
low extern array
declara
t
i
o
n
s without siz
e
commit
|
commitdiff
|
tree
2010-07-29
Al
i
Gholami Rudi
cpp: include s
t
ddef
.
h for
usi
n
g offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gh
o
lam
i
Rudi
tok: pars
e
u
pp
e
rcase he
x
numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Ghol
a
mi
R
u
d
i
n
cc: fix se
t
ting
F_INIT for
each defin
e
d
na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
Rudi
cpp: handle nested macro calls
like
M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
hola
m
i R
u
d
i
tok: don't go be
y
o
n
d
buf
l
e
n for
3
-char
tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Rudi
t
ab
.
h:
use the standard
offsetof()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i
Gholami Rud
i
n
cc: fix calling
ts_po
p
()
p
remat
u
re
l
y i
n
o
passign()
commit
|
commitdiff
|
tree
2010-07-12
A
li G
h
o
l
ami Rudi
gen: ignore the
s
ign of
the second operan
d
in / an
d
%
commit
|
commitdiff
|
tree
2010-07-10
A
l
i Gholami
Rudi
nc
c
: fix & an
d
*
on fun
c
tions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
gen
:
don't over
w
rite pushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
u
d
i
g
e
n: change stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
A
li
G
ho
l
a
mi Rudi
ncc: don't change
operand ord
e
r f
o
r const
o
ps
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gh
o
lami
R
udi
gen: only per
f
orm const op
for addresse
s
w
hen
a
d
d
ing
commit
|
commitdiff
|
tree
2010-07-08
Ali Ghola
m
i R
u
di
gen: zeroin
g
eax doesn't seem neces
s
ary
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
ncc: fix ++s for p
o
inters
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
n
cc: fix function poin
t
e
r
array
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
g
en:
remove the u
n
us
e
d c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi Rudi
g
e
n: use
t
mp->off
f
or local
s
too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
holami
Rud
i
port neatcc to
x
86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: functio
n
s f
o
r
perfo
r
m
ing op
t
imized ops
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Ghol
a
mi Rudi
gen:
f
ix two
-
by
t
e opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami
R
udi
g
e
n: use an int fo
r
operator
s
commit
|
commitdiff
|
tree
2010-06-23
Ali
G
holami Rudi
replace o_*() functi
o
n
s wi
t
h o_bop
(
) and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
li Gh
o
l
ami Rudi
add specialized inc/dec opera
t
ions
commit
|
commitdiff
|
tree
2010-06-21
A
li Ghola
m
i
Rudi
gen: let all grps be used
as byte registe
r
s
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
d
i
out:
d
on't
need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
R
u
di
tab: let
t
a
ble size b
e
HA
S
H
I
TEMS
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
h
olami Rudi
out: merge all
s
ec
t
ions
into
o
ne text
s
e
ction
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
c
p
p: res
e
t a
r
g
count
o
n m
a
cr
o
redefinition
commit
|
commitdiff
|
tree
2010-06-19
A
l
i
Gholami Rud
i
o
ut: mak
e
neat
c
c work with gnu l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
gen:
handle char a
r
gument
s
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gho
l
a
m
i Rudi
n
c
c: align stru
c
ts b
a
sed on the first field
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rud
i
mov
m
ac
r
o hash table to
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: hand
l
e un
s
ig
n
ed -> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
cpp: save m
a
cr
o
names i
n
a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ncc: divide
(
pt
r
- ptr)
r
esult only i
f
size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
ol
a
mi R
u
di
gen: use
m
o
vsxd only when src is s
i
gned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
di
t
o
k: 0x1 shoul
d
be un
s
igned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen:
fi
x
the conditions for movxx opera
t
io
n
s
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
ho
l
ami Rud
i
ncc: fix getting i's ty
p
e
in ++
i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
n
c
c
:
handl
e
ptr opera
t
ions on s
t
ructs ptr
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
ncc:
f
i
x ca
l
l
i
ng function pointers
with a
r
guments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
c
c
: don't take ca
s
e e
x
p
rs as
l
abel
s
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami Rudi
g
en: d
o
n't generate code af
t
er o_nogen()
i
n oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
all
t
m
ps
should be th
e
sa
m
e in
c
onditional branc
h
es
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami
R
udi
gen
:
fix loading
b
ack tm
p
s i
n
mem witho
u
t deref
commit
|
commitdiff
|
tree
2010-06-17
A
li Gholami Rudi
let
t
ok_num() ret
u
rn
the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gho
l
a
mi
Rudi
ge
n
:
r
elocation address size is always 4 for no
w
commit
|
commitdiff
|
tree
2010-06-16
A
li G
h
o
lami Rudi
gen: f
i
x SYM_PTR()
m
acro
commit
|
commitdiff
|
tree
2010-06-16
A
li G
h
o
l
ami Rudi
gen:
fi
x
!!e
x
pr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc: let shift amount b
e
a
n
unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami
R
udi
gen: cleanup tmp handlin
g
and fix reg
s
array in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc
:
align st
r
uct
mem
b
ers
commit
|
commitdiff
|
tree
2010-06-14
A
l
i G
h
olami Ru
d
i
gen: mark copied regi
s
te
r
as the owner in o_t
m
pcopy()
commit
|
commitdiff
|
tree
2010-06-14
A
li
Gholami Rudi
gen: f
i
x "if
(
!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
olami Rudi
ncc:
fix pointer arit
h
met
i
c
on struct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami Rudi
show an err
o
r
msg if no input file
commit
|
commitdiff
|
tree
2010-06-13
A
l
i Gholami
R
u
di
tok: accept uppercase hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Gho
l
ami Rudi
s
h
ow syntax error loca
t
i
o
n
commit
|
commitdiff
|
tree
2010-06-12
Ali
Gholami Rudi
ge
n
: fix ignoring
re
g
op1() return value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
Rudi
gen: don't cha
n
g
e tmp->bt when storing
a
n lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali
G
holami Rudi
gen: extend eax to edx f
o
r mul/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
Rud
i
ncc: arrays should be pro
c
essed i
n
the
reversed order
commit
|
commitdiff
|
tree
2010-06-10
Ali
Gholam
i
Rud
i
ge
n
:
fix the order of
M
OVSXD's operands
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
holami Rud
i
gen: fix
f
reeing re
g
isters befo
r
e
c
a
ll
commit
|
commitdiff
|
tree
next