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: encode cmp+immediate instructions
2011-03-31
Al
i
Gho
l
a
m
i
R
udi
ge
n
: encode cmp+imme
d
iate instruc
t
i
ons
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami
R
u
di
g
e
n
:
p
ut the imme
d
iate in t
h
e opcod
e
if possible
commit
|
commitdiff
|
tree
2011-03-30
A
l
i
G
holami Rudi
gen: remove
c
m
p+bra
n
ch optim
i
zation; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
A
li Gholami Rudi
cpp: handle
func
t
i
o
n macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Gholami
R
udi
g
e
n: rename
dat_
b
ss() and da
t
_
d
at()
t
o b
e
gin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rudi
gen: group functio
n
s
i
n
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rud
i
gen:
reset la
s
t
_
set af
t
er cmp+
b
optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
ami Rudi
g
e
n
:
fix ~ op
e
rator
i
mplementatio
n
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
ola
m
i Rud
i
ncc
:
derefere
n
ce funct
i
on pointers like any other variab
l
e
s
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i Rudi
gen: don'
t
remove
the
last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
o
l
a
m
i Rudi
gen: don't let o_ca
s
t() ch
a
n
ge dereferenced ty
p
e
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami Rudi
n
cc: use tok_jmp(
)
instead of tok_(see|g
e
t
)
()
i
n enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami Rudi
g
e
n: handle lar
g
e
o
f
f
s
ets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami Rudi
gen
:
replace TMP_RE
G
* ma
c
ros wit
h
reg_
f
o
r
t
mp()
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
hola
m
i
Rudi
g
en:
c
h
ange o
_
nogen()
/
o_
d
ogen() to b
e
r
e
cur
s
ive
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
o
l
ami
R
udi
gen: don't ge
n
erate excess
j
umps for
t
he last ret
u
r
n
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Ru
d
i
ge
n
: don't add duplicate data to n
u
mber
poo
l
commit
|
commitdiff
|
tree
2011-03-20
A
l
i
Gholami Rudi
g
e
n: c
a
ll tmp_to() in
for
lo
a
din
g
rhs
in o_assing
(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
lami
R
ud
i
gen:
ignore O_SI
G
NED
w
hen checking
the op
c
o
de
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen: fix
s
ig
n
ed divi
s
ion to neg
a
te
the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Ghola
m
i Rudi
gen: m
e
rg
e
de
c
rement and check
i
n i
_
memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
gen: d
o
n't s
a
ve variable reg
i
sters
b
efor
e
cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
g
e
n: add software div/m
o
d i
m
pl
e
menta
t
i
on
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
ncc:
set O_SIGN for mo
s
t
b
inar
y
ope
r
ations
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
ncc:
d
ereferen
c
e the
n
ot
e
xpression of ce
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Ru
d
i
p
e
rform signed
operations if O_
S
IGN
E
D
b
it is se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami R
u
d
i
cpp: define _
_
arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami
R
udi
ncc: don'
t
c
a
st the return
value for
vo
i
d func
t
ions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Ru
d
i
ge
n
: more compac
t
v
ersi
o
n
o
f
memcpy
(
) and memset(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
l
ami Rudi
gen: don't ou
t
put relocati
o
ns when o_nogen() is calle
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rud
i
neatcc arm p
o
rt
commit
|
commitdiff
|
tree
2011-03-08
A
l
i Gholami Rudi
c
lean up the
interfa
c
e betw
e
e
n
nc
c
.
c, gen
.
c a
n
d
o
ut
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
h
olami Rudi
npp: remov
e
comment
s
after
p
repro
c
essing
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami
Rudi
cp
p
:
don'
t
remov
e
non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
npp: allow using neatcc's pre
p
roce
s
so
r
a
s a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp:
d
o
n't s
k
ip non-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gholam
i
R
udi
gen: fix o
p
_rs() optimiz
a
tion f
u
n
ct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghola
m
i R
u
di
gen: use better names for
o
p
c
odes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp:
d
efine __i3
8
6__; __x86
_
6
4
__ is no longer s
u
pported
commit
|
commitdiff
|
tree
2010-11-20
A
l
i
Gholami Rudi
gen: load
the first tm
p
befor
e
ca
l
li
n
g TMP_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali
G
holami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
A
li
Gholami Rudi
ncc:
f
ix name
-
>name str initi
a
li
z
er
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
lami R
u
di
allow extern array declarations
w
ithout size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cp
p
: in
c
lude stdde
f
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholam
i
Ru
d
i
t
o
k: parse uppercase
hex nu
m
be
r
s
commit
|
commitdiff
|
tree
2010-07-25
A
l
i Gholami Rudi
ncc: fi
x
setting F_INIT for
each define
d
nam
e
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami
R
ud
i
cpp: handle neste
d
macro calls li
k
e
M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholam
i
Rudi
tok:
do
n
'
t
go be
y
ond
buf len
f
o
r 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h
:
u
se the standard of
f
setof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholam
i
Rudi
nc
c
: fix calling ts_pop() p
r
ematurely in opass
i
g
n
()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gho
l
am
i
Rudi
gen
:
ignor
e
the sign o
f
th
e
secon
d
operan
d
in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gh
o
lami
Rudi
ncc:
fix & an
d
* on fun
c
tions
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami
Rudi
gen: d
o
n't overwrite
pushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami R
u
di
gen: change stack
a
li
g
nmen
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami Rudi
ncc: don't cha
n
ge op
e
rand or
d
er f
o
r con
s
t ops
commit
|
commitdiff
|
tree
2010-07-09
A
li G
h
olami Rudi
gen:
on
l
y per
f
orm const op fo
r
ad
d
r
e
sses
w
hen addi
n
g
commit
|
commitdiff
|
tree
2010-07-08
Ali G
h
olami Rudi
gen:
zeroing eax doesn
'
t seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rudi
n
c
c: fix ++s for
p
o
inters
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi
Rudi
ncc: fix function
p
ointer
a
rrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: remove the unu
s
ed c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: use tmp-
>
off
for locals too
commit
|
commitdiff
|
tree
2010-06-28
Al
i
Gholami R
u
di
por
t
n
eatc
c
to x
8
6
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
gen: functions
for performing op
t
imiz
e
d ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen:
fix t
w
o-byt
e
opcode
b
i
t
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rudi
gen: use
an int
for op
e
rators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gh
o
lami Rudi
r
e
place o_*(
)
func
t
ions w
i
th o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add specialized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
hola
m
i Rudi
gen: let all
grps be used as byte re
g
is
t
e
rs
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gh
o
lami Rudi
o
ut: don't need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami
R
udi
t
a
b: l
e
t tab
l
e
size be
HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami Ru
d
i
o
ut: merge all secti
o
ns i
n
to on
e
text se
c
t
i
on
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami Rudi
cpp: reset
arg
c
ount
o
n m
a
cro
r
e
d
e
f
i
nition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out: mak
e
neatcc wo
r
k with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
gen: handle char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami
R
u
di
ncc: align structs based on the
f
irst
f
ield
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
m
o
v macro hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
g
en: handle unsigned -> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
ud
i
cpp: sa
v
e macro
names i
n
a hash table
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Ghol
a
mi R
u
d
i
ncc: d
i
vid
e
(
ptr - ptr) result onl
y
if size >
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
d
i
gen: use movsxd only
w
he
n
src is
sign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ola
m
i Ru
d
i
tok: 0x1
s
ho
u
ld be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
h
o
lami Rudi
gen:
f
ix the co
n
d
i
tions for movxx oper
a
tions
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
n
cc
:
fix
g
e
tting i's t
y
pe in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi R
u
di
ncc: handle
p
tr operations
o
n structs pt
r
s
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ola
m
i Rudi
ncc
:
fix calling
function poi
n
t
ers with
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Ghola
m
i Rudi
ncc: don't
t
ake case expr
s
as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
g
en:
d
on
'
t
ge
n
erate code
a
f
t
er o_
n
o
g
en() in oi
(
)
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i
Rudi
a
ll
tmps should b
e
t
h
e same in
c
onditional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali G
h
o
lami
Rudi
g
en:
fix l
o
ading back
tmp
s
in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
let tok
_
num() return the
bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gh
o
lami
R
udi
g
e
n: r
e
location address size is always
4 for now
commit
|
commitdiff
|
tree
2010-06-16
A
l
i
Gholami Rudi
gen: fix SYM_P
T
R(
)
macro
commit
|
commitdiff
|
tree
2010-06-16
Ali
Gholami Rudi
gen: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
A
l
i Gholami R
u
di
ncc: let
shift amou
n
t be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
gen:
c
leanup tmp
h
a
ndl
i
ng and fix regs arr
a
y in o_
s
wap()
commit
|
commitdiff
|
tree
2010-06-14
Ali
Ghol
a
mi Ru
d
i
ncc: align struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghola
m
i Rudi
gen: mark co
p
ied register as
t
he
o
wner in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gh
o
lami R
u
di
ge
n
: fix "if (
!
expr)
"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Rudi
nc
c
: fi
x
pointer arithmeti
c
on struct
ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
show an error msg if n
o
input fil
e
commit
|
commitdiff
|
tree
next