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
gen: group functions in gen.h
2011-03-28
A
li Gh
o
lami Ru
d
i
gen: g
r
oup fu
n
c
tions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
r
ese
t
last_set
a
fter cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami
Rudi
gen:
fix ~ op
e
rator imple
m
entati
o
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: dereference
funct
i
on point
e
rs like any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami Rud
i
gen: don't rem
o
v
e the las
t
retu
r
n jump
commit
|
commitdiff
|
tree
2011-03-27
A
li
G
ho
l
ami R
u
di
gen: do
n
't let o_cast()
c
h
a
n
ge de
r
eferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
ho
l
am
i
R
u
di
n
c
c: use tok_
j
mp(
)
instead of tok_
(
se
e
|get)
(
) in en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: handle
large offsets for
s
tr
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
h
olami Rudi
gen: replac
e
TM
P
_REG* macros with reg_for
t
mp()
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holami Rudi
gen: ch
a
nge o_n
o
g
e
n()/o_dogen()
t
o be recursiv
e
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holam
i
Rudi
gen: don't
g
enerate e
x
c
ess jumps for
the las
t
return
commit
|
commitdiff
|
tree
2011-03-23
A
li G
h
o
lami Rudi
gen
:
don't add
dup
l
icat
e
data
t
o number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami
Rudi
g
e
n
:
c
all tmp_to
(
) in
f
o
r loading rhs in o_assing
(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami Rudi
gen: igno
r
e O
_
SIGNED wh
e
n c
h
e
cking the
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
ho
l
ami R
u
di
gen:
fix signed
d
ivision to n
e
gate the r
e
mainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: merge
decrement and check in i_memcpy()
a
nd i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i R
u
di
gen: don't save va
r
ia
b
le reg
i
sters before
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
ge
n
:
add software div/mod
i
mplementat
i
o
n
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami Rudi
ncc: s
e
t O
_
SIG
N
for mo
s
t
binary operatio
n
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
nc
c
: dereferen
c
e
t
he not
e
xpr
e
ssion
of cexp
r
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i R
u
di
pe
r
form signe
d
operations if O_SIG
N
ED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gho
l
ami Rud
i
cpp: define _
_
a
rm__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Ghola
m
i
R
udi
ncc: don't cast t
h
e
return val
u
e for vo
i
d
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lami Rudi
gen:
more
c
ompact version of
m
emcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami
R
udi
gen: don't
output relocations wh
e
n o_nogen() is cal
l
ed
commit
|
commitdiff
|
tree
2011-03-13
Ali
G
holami Rud
i
neatcc arm po
r
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami
R
udi
clea
n
up t
h
e
interface
between ncc
.
c, gen
.
c
and
o
ut
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp:
r
emove c
o
mments afte
r
preproces
s
ing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cp
p
: don
'
t remove non-macro number sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rudi
npp
:
al
l
ow
using neatcc'
s
prep
r
o
c
essor as
a
s
ta
n
dalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp: don't s
k
ip non-eol macro backs
l
ashes
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami Rudi
ge
n
: fix op_rs()
op
t
im
i
z
at
i
on fu
n
ction
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
lami Rudi
ge
n
:
u
se b
e
tter n
a
m
es
f
or opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: define __i386__; _
_
x86_6
4
__ is n
o
longer suppo
r
ted
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghol
a
mi Rudi
ge
n
:
lo
a
d the fir
s
t tm
p
before calling T
M
P_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gho
l
a
m
i Ru
d
i
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
Rudi
n
cc:
f
i
x nam
e
->name str
initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow extern a
r
ray decl
a
r
ations with
o
ut si
z
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gho
l
a
mi
Rudi
c
p
p: include stddef
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
A
li Gho
l
ami Rudi
tok: pa
r
s
e
up
p
ercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
A
li Gholam
i
Ru
d
i
ncc
:
fix setting F_INIT fo
r
each defined na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Rudi
cpp
:
handle nested macro call
s
like M(M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
A
li
G
holami R
u
di
tok: don't go beyon
d
b
uf len for 3-char
t
okens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h
: use the standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
nc
c
: fix call
i
ng
t
s_pop()
prema
t
urely in opa
s
si
g
n(
)
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Gholami Rudi
gen
:
i
gnore the sign of the second o
p
e
r
and in
/
and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Gh
o
lami Ru
d
i
ncc: fix
&
and
*
on
functions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
G
holami Rudi
gen: d
o
n't o
v
erwrite pushed ebx,
es
i
and edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
Ghola
m
i Ru
d
i
gen
:
change stack alignmen
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: don't change operand order
fo
r
co
n
st o
p
s
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholam
i
Rud
i
gen:
o
nly perfo
r
m con
s
t op for address
e
s when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen: zero
i
ng
e
ax doesn't seem nece
s
s
ary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
nc
c
: fix ++s fo
r
poi
n
t
e
r
s
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Ru
d
i
ncc: f
i
x
functio
n
p
o
i
nter
a
r
r
ay
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
g
e
n
: rem
o
ve the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
Rudi
ge
n
:
use tmp->off
fo
r
loca
l
s t
o
o
commit
|
commitdiff
|
tree
2010-06-28
Ali Ghola
m
i R
u
di
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholam
i
Rudi
gen:
f
unction
s
f
or p
e
rformi
n
g optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholam
i
Rudi
g
e
n: fix
t
wo-byte
o
pc
o
d
e
b
it
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami
R
u
di
g
en: use an int for
operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
repla
c
e
o_*()
f
un
c
t
i
ons wi
t
h o_bop(
)
an
d
o_uo
p
()
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghol
a
mi Rudi
a
d
d specialized inc/dec operation
s
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
ho
l
a
mi Rudi
gen: let all grps be
u
s
ed a
s
byte r
e
gis
t
ers
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Rudi
out
:
don't need
MAXSECS
a
nymore
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami R
u
d
i
tab: let tabl
e
size be HASH
I
T
E
MS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out
:
m
e
rge all
sections into one te
x
t section
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami Rudi
cpp:
r
e
set arg
c
ount on macro rede
f
in
i
tion
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Gholami R
u
di
out:
m
a
k
e neatcc work wi
t
h gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: ha
n
dl
e
char
argum
e
nts
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
ncc: al
i
gn structs based on the first fi
e
ld
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
mov
macro hash
t
able to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ge
n
:
h
a
nd
l
e uns
i
gned
-
> long cast
commit
|
commitdiff
|
tree
2010-06-18
A
li Ghol
a
mi Rudi
cp
p
:
save macro names in a hash
table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: divide (ptr - ptr)
result onl
y
i
f size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen
:
use movsxd only when
s
rc is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Ru
d
i
t
ok: 0x1 shoul
d
be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i Rudi
gen: fix the co
n
ditions for movx
x
operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix getting
i
's type in
++i
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
n
c
c
: handle
ptr operations
on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fi
x
calling function
poi
n
ters w
i
th arguments
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
ncc: don'
t
take case ex
p
rs as l
a
bels
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
g
e
n: don't generate code af
t
e
r o_nogen() i
n
oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
all tmps should be
t
he same in conditio
n
al
branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gh
o
lam
i
Ru
d
i
gen: fix lo
a
ding b
a
ck
t
mps
in mem
w
it
h
out deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gh
o
l
ami R
u
di
let to
k
_n
u
m() retu
r
n
the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gholami R
u
d
i
gen:
rel
o
cati
o
n
a
ddress size is always
4 for
n
ow
commit
|
commitdiff
|
tree
2010-06-16
Ali Ghol
a
mi Rudi
gen: fix SYM
_
PTR
(
) macro
commit
|
commitdiff
|
tree
2010-06-16
Ali
G
hol
a
m
i Rudi
gen
:
fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami
Rudi
ncc: let
shift amount be
a
n
unsig
n
ed
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
gen: cleanup
tm
p
handling and fix re
g
s array i
n
o
_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
n
cc
:
align struct
members
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen:
m
a
rk copied register as
t
he owner in o_tmpcopy
(
)
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami Rudi
gen: fix "i
f
(!expr)
"
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gh
o
lami Rud
i
ncc: fix poi
n
t
e
r arithm
e
tic on s
t
ruct
ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
Ru
d
i
show an er
r
or ms
g
if no
input f
i
le
commit
|
commitdiff
|
tree
2010-06-13
A
l
i
Ghola
m
i
Rudi
to
k
: accept uppercas
e
hex digi
t
s
commit
|
commitdiff
|
tree
2010-06-13
Ali
G
h
ol
a
mi Rudi
sho
w
sy
n
tax error location
commit
|
commitdiff
|
tree
2010-06-12
A
l
i
Ghol
a
m
i
Rudi
gen: fix ignoring reg
o
p1(
)
r
e
t
urn value
commit
|
commitdiff
|
tree
2010-06-11
Ali G
h
olami Rudi
gen: don'
t
cha
n
g
e tm
p
-
>
bt when
storing an
l
value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
gen: extend e
a
x to
edx f
o
r
mul/div op
commit
|
commitdiff
|
tree
next