repo.or.cz
/
neatcc.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
Al
i
Gholami Ru
d
i
ncc: de
r
eference func
t
i
on
p
ointers lik
e
any other
variables
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
o
lami Ru
d
i
ge
n
: do
n
't remove the las
t
retu
r
n jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
udi
gen: don't
l
et
o
_
cast() change d
e
r
e
ferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc: u
s
e tok_jmp
(
) in
s
tead of t
o
k_
(
see|get)() in e
n
um_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: handle large
offsets f
o
r str
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
ol
a
m
i
R
udi
gen: repla
c
e
TMP_REG*
ma
c
ros
w
ith reg_fortmp
(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
gen: c
h
ange o_nogen()/
o
_dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Al
i
G
h
o
lami Rudi
gen: d
o
n't generate excess jum
p
s for
the last re
t
urn
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olami
Rudi
g
en:
d
on't add duplicate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rud
i
gen: call
t
mp_to
(
) in for
loading rhs
i
n o_assing
(
)
commit
|
commitdiff
|
tree
2011-03-20
A
l
i
Gh
o
la
m
i Rudi
gen: ignore O_SIG
N
ED when checking the opco
d
e
commit
|
commitdiff
|
tree
2011-03-17
Ali Ghol
a
mi Ru
d
i
gen:
fix signed division to ne
g
ate the rema
i
nder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen:
m
erg
e
decr
e
ment and check in i_memcpy()
a
nd i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gh
o
l
ami Rudi
gen: d
o
n't save variable
registers before
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
a
mi Rudi
gen: add so
f
tware div/mod impl
e
m
entation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
l
a
m
i Rudi
ncc:
s
e
t O_SIGN for most bi
n
ary operati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami
Rudi
n
c
c: dereference the not ex
p
ressio
n
of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
pe
r
form
s
igned op
e
rati
o
ns if O_SIGNED bit is
s
et
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: define __arm
_
_
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
ncc: don't cast
t
he return
v
a
lue for void
f
unc
t
ions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
g
en: more
c
ompact version of memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami Rudi
gen: don
'
t output r
e
l
oc
a
tions
w
hen o_
n
ogen() is
ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
A
l
i
G
holami Rudi
neat
c
c
arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali G
h
olami Rudi
clean up the inter
f
ace between n
c
c
.
c,
g
en
.
c a
n
d out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
Rudi
npp: remove comments after preproce
s
sing
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghol
a
mi Rudi
c
p
p: don't remov
e
non
-
m
acro numbe
r
signs
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami Rudi
npp: allow u
s
i
n
g
neatcc's preprocessor as a standalon
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholami Rudi
cpp: don't skip no
n
-
eol macro
b
acksla
s
h
e
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
lami
R
udi
gen: fix op_
r
s()
optimi
z
at
i
o
n function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
use better
n
a
mes for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gh
o
lami Rudi
cpp
:
define __i386__; __
x
86_64__ is no longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gho
l
ami Rudi
gen:
l
oa
d
t
he
f
irst t
m
p
b
e
f
ore cal
l
in
g
T
M
P_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gholami
R
udi
add READM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
R
udi
ncc: fix name->n
a
m
e
str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Rudi
allow ex
t
er
n
a
rray declarations
w
i
thout size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gh
o
l
ami Rudi
cpp: include stddef
.
h
f
or using
o
ffsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholam
i
Rudi
t
ok:
p
arse up
p
ercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
Gholami Rudi
n
cc:
fix s
e
tting F_INI
T
f
or e
a
ch defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i Rudi
c
pp
:
handle
nested m
a
cro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gh
o
lami Rudi
t
ok:
d
o
n't g
o
beyond buf
len for 3-
c
har tokens
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami Rud
i
tab
.
h: use t
h
e stan
d
a
r
d
offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami Rudi
ncc
:
fix call
i
ng ts_po
p
() prematu
r
el
y
i
n
opassign(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olami Rudi
g
e
n: ignore the sign of
t
he seco
n
d
operand
in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gh
o
lami Rudi
n
c
c: fix
&
and * o
n
f
u
nctions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rud
i
gen
:
don't over
w
rite
p
ush
e
d ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami Rudi
gen: change stack alignme
n
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Ghol
a
mi Rudi
ncc:
d
on't
c
hange
operand order
for con
s
t ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
en
:
onl
y
perfor
m
c
o
nst op for addr
e
s
ses when
a
d
d
i
ng
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen:
z
eroing eax
d
oesn't seem
n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
l
ami Rud
i
n
cc: fix ++
s
f
o
r poi
n
t
e
rs
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami Ru
d
i
ncc
:
fix function poi
n
ter arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami R
u
d
i
g
e
n
:
remove the unu
s
ed c_op
(
)
commit
|
commitdiff
|
tree
2010-06-30
A
li
G
holami Rudi
gen: use
t
m
p
->off for locals
too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port neatcc to x
8
6
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Ghol
a
mi Rudi
gen: fun
c
tion
s
for perfo
r
m
i
ng optim
i
z
ed ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghol
a
m
i Rudi
gen: fix two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gho
l
ami Rudi
ge
n
: use an int fo
r
operators
commit
|
commitdiff
|
tree
2010-06-23
Al
i
Gholami Rudi
replace o_*()
f
u
nc
t
ions with
o
_bop() an
d
o
_
uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
Rudi
a
d
d
s
p
ecialized inc/dec oper
a
tions
commit
|
commitdiff
|
tree
2010-06-21
A
l
i
G
ho
l
ami Ru
d
i
g
en: let a
l
l grps be use
d
as by
t
e re
g
isters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: don't n
e
ed
M
AXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami Rudi
tab: l
e
t ta
b
le s
i
ze be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Ru
d
i
o
ut: merge all sections into one text s
e
ction
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholam
i
Rud
i
cpp: reset
arg count o
n
ma
c
r
o redefiniti
o
n
commit
|
commitdiff
|
tree
2010-06-19
Ali G
h
olami Ru
d
i
out: make neat
c
c wor
k
w
i
t
h
gn
u
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
gen: handle
c
ha
r
arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
o
l
am
i
Rud
i
ncc: align stru
c
ts b
a
se
d
on
th
e
first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami
Rudi
mov ma
c
ro hash ta
b
le to ta
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
gen: handle unsigned -> l
o
ng cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rud
i
c
p
p
:
save macr
o
n
a
mes i
n
a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: di
v
ide
(ptr - ptr) r
e
sul
t
o
n
ly if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami R
u
di
gen: use
m
o
v
sxd on
l
y when
s
rc is sign
e
d
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Ru
d
i
tok: 0x
1
sh
o
uld be u
n
signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: fix the condition
s
for movxx oper
a
tions
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
ncc: fix get
t
ing i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ol
a
mi
R
udi
ncc: handle ptr op
e
r
ations on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gh
o
l
a
mi Rudi
nc
c
:
f
i
x
c
all
i
ng function po
i
nters with argument
s
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
n
c
c: don'
t
take case exp
r
s a
s
labe
l
s
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ol
a
mi Rudi
gen: don't genera
t
e c
o
de aft
e
r o_nogen()
i
n
oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
all tmps
s
h
o
ul
d
b
e
th
e
sa
m
e in condit
i
onal br
a
nches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
g
e
n:
fix
l
oading back tmps in
mem with
o
ut
deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
let tok_nu
m
() return the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami
R
ud
i
gen
:
relocation addres
s
size is always 4
for
now
commit
|
commitdiff
|
tree
2010-06-16
Ali Ghol
a
mi R
u
di
ge
n
:
fix SYM
_
PT
R
() mac
r
o
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix
!
!
e
xpr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gh
o
lam
i
Rudi
ncc: le
t
shift amou
n
t be
an
u
nsi
g
ned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
gen
:
cl
e
anup tmp handling an
d
fix re
g
s arr
a
y in
o_swap
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
m
i
Rudi
ncc:
a
li
g
n stru
c
t m
e
mbers
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
olami Rudi
gen: mark
cop
i
ed register as the ow
n
e
r
in
o_tm
p
co
p
y()
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Ghol
a
mi Rudi
gen
:
fix
"
if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
h
olami Rudi
ncc: f
i
x p
o
inter arithmetic on s
t
ruct ptr
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Ru
d
i
show an error msg if no input fi
l
e
commit
|
commitdiff
|
tree
2010-06-13
A
l
i Gholami Rudi
t
o
k: accept uppercase
hex digits
commit
|
commitdiff
|
tree
2010-06-13
A
l
i
Gholami Rudi
s
h
ow syntax error loca
t
ion
commit
|
commitdiff
|
tree
2010-06-12
Ali Ghol
a
mi Rudi
g
e
n:
fix
ig
n
oring r
e
gop1() r
e
turn v
a
lue
commit
|
commitdiff
|
tree
2010-06-11
Ali G
h
olami Rud
i
g
e
n
: don't change tmp->bt when storing an
lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gh
o
lami R
u
di
g
e
n: extend eax to
e
d
x for mul/di
v
o
p
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Ru
d
i
ncc
:
arrays should be
processed in the rev
e
r
sed order
commit
|
commitdiff
|
tree
2010-06-10
Al
i
G
holami Ru
d
i
gen: fix the
order of MOV
S
XD's
o
perands
commit
|
commitdiff
|
tree
2010-06-10
Ali G
h
olami
Ru
d
i
gen: fi
x
freeing regist
e
rs befor
e
call
commit
|
commitdiff
|
tree
next