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: don't save variable registers before calls
2011-03-15
A
li Ghol
a
mi Ru
d
i
gen: don't sav
e
v
a
r
iable regis
t
ers before calls
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
gen: add sof
t
ware div/mod
i
m
p
l
ementati
o
n
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Ru
d
i
nc
c
: set O_
S
IG
N
fo
r
mo
s
t b
i
nary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
ncc: de
r
eference
t
he no
t
e
x
pression of
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
perfor
m
signed operat
i
ons if O_SIGNE
D
bi
t
is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
cpp: de
f
ine __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
u
d
i
ncc:
d
on
'
t
c
a
st the re
t
urn
value for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi R
u
di
gen: more co
m
pact version of memcpy() a
n
d me
m
set
(
)
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
gen: d
o
n't output re
l
oca
t
ions w
h
en
o_nogen() i
s
ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
nea
t
cc arm p
o
rt
commit
|
commitdiff
|
tree
2011-03-08
Ali G
h
o
l
ami Rudi
clean u
p
the
in
t
e
r
face between ncc
.
c, gen
.
c
a
n
d
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Rudi
npp: remov
e
c
ommen
t
s aft
e
r preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami
Rudi
c
pp: don't
r
e
move non-
m
acro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
n
p
p: allow using
neatcc's
prepr
o
ces
s
or a
s
a stand
a
lone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholami Rudi
cpp: don't skip non-eol mac
r
o b
a
ck
s
lashe
s
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gholami Rud
i
gen: fix
op_rs() optimiza
t
ion function
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami Rudi
g
en: use better names for opc
o
d
es
commit
|
commitdiff
|
tree
2010-12-11
Ali Gh
o
lami Rudi
cpp: define _
_
i386__; __x86
_
64__ is no
longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali G
h
olami
R
u
di
gen:
load the first t
m
p before call
i
n
g TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add
README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
R
udi
n
c
c: fix n
a
me->name s
t
r
i
nitiali
z
er
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow e
x
tern array decla
r
ations
with
o
ut size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp:
include stddef
.
h for using offseto
f
()
commit
|
commitdiff
|
tree
2010-07-28
A
li Gholami Rudi
tok: p
a
rse upperc
a
s
e hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: f
i
x
setting F_
I
NIT for ea
c
h defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
h
o
l
am
i
Rudi
c
pp:
h
a
ndle nested macro calls like
M(
M
(1
)
)
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
di
tok: do
n
'
t
go beyond
b
uf
len
f
or 3-
c
har token
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
Rudi
tab
.
h: use the stand
a
rd offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
nc
c
: fix ca
l
ling
t
s
_
pop(
)
prematur
e
ly i
n
o
passig
n
()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Gholami Rud
i
g
e
n: i
g
nore the sign of the sec
o
n
d
ope
r
and in / an
d
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Ghol
a
mi Rudi
n
c
c
: fix
&
a
n
d * on fun
c
tions
commit
|
commitdiff
|
tree
2010-07-09
A
li
G
holami Rudi
gen
:
don't ove
r
w
r
ite pushed
e
b
x
, es
i
and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
e
n: change
s
t
ack alig
n
me
n
t to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi Rudi
ncc: don't change
o
peran
d
order for
c
ons
t
op
s
commit
|
commitdiff
|
tree
2010-07-09
Ali
Ghol
a
mi
R
u
d
i
gen: only perfor
m
const
o
p
for addresse
s
whe
n
adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
holami Ru
d
i
g
en: ze
r
oing e
a
x does
n
't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
nc
c
:
f
ix ++
s
for
p
ointers
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Ghola
m
i Rudi
ncc: fix function pointer ar
r
ays
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
holami Rudi
gen: r
e
m
ove the
u
nused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olam
i
Rudi
ge
n
: use tmp->of
f
f
or locals
t
o
o
commit
|
commitdiff
|
tree
2010-06-28
A
l
i
Gholami Rudi
port ne
a
tc
c
to x
8
6
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
lami
R
udi
gen: funct
i
ons f
o
r
performing optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
lami Rud
i
gen
:
fix two-byte o
p
code bit
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gholami Ru
d
i
gen: use
an
int
for op
e
r
a
tors
commit
|
commitdiff
|
tree
2010-06-23
Ali Ghol
a
m
i
Rudi
rep
l
ace o
_
*() functions with o_bop() and
o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
a
d
d specializ
e
d inc
/
dec
o
perations
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami Ru
d
i
g
e
n:
let a
l
l grps be used as byte re
g
ist
e
rs
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gho
l
ami Rudi
out:
don't need
M
AXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami Rudi
tab: let table size be
H
ASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
mi Rudi
out: m
e
rg
e
al
l
s
e
ctions into one t
e
xt sec
t
i
on
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami Rudi
cpp: reset arg c
o
unt
o
n mac
r
o r
e
definition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out: m
a
ke
n
eatc
c
work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
gen: handle char
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami R
u
di
ncc
:
align
struc
t
s based on th
e
first fi
e
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
mov mac
r
o h
a
sh table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
ge
n
: h
a
ndle unsigned -> long
cast
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami
R
u
d
i
c
pp: save macro names in a
hash tab
l
e
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
n
c
c: divide (
p
t
r
- p
t
r) resu
l
t
o
n
ly if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
gen:
u
se movsxd only when src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
tok: 0x1 shoul
d
be un
s
ign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: fix the
c
o
nd
i
tions
for movxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
ncc
:
fix getting i's type i
n
+
+
i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
ncc: hand
l
e pt
r
ope
r
ations o
n
structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc
:
fix calli
n
g
fu
n
ction
p
ointe
r
s with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami
R
u
di
ncc: don't
t
ake case e
x
pr
s
as labels
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
gen: don't gener
a
te code after o
_
nogen() in o
i
()
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Ru
d
i
all
t
mps
should be th
e
same in conditio
n
al br
a
nches
commit
|
commitdiff
|
tree
2010-06-17
A
l
i
Gholami Rudi
gen: fi
x
l
o
ading b
a
ck
t
mps in
m
e
m
without
deref
commit
|
commitdiff
|
tree
2010-06-17
Al
i
G
h
ola
m
i
Rudi
l
et tok_num(
)
r
eturn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami R
u
di
gen: relocat
i
on
address
s
ize is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fi
x
SY
M
_PTR() mac
r
o
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami
R
udi
ge
n
: fix !!e
x
pr
commit
|
commitdiff
|
tree
2010-06-15
Al
i
Gho
l
a
m
i Rudi
n
c
c: let shift amount be an u
n
signed
commit
|
commitdiff
|
tree
2010-06-15
A
li Ghola
m
i Rudi
gen: cleanup tmp handling
and f
i
x re
g
s array in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Rudi
nc
c
: align struct
m
e
mbe
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen: ma
r
k
c
opied register as the owner in o_tmpco
p
y()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen
:
fix "i
f
(!e
x
pr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
Rudi
n
cc: fix p
o
inte
r
ari
t
h
m
e
t
i
c
on
s
truct pt
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gholami Rudi
show
a
n error msg
i
f
no input file
commit
|
commitdiff
|
tree
2010-06-13
A
l
i
G
h
olami Rudi
tok: acc
e
pt
upperca
s
e hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
s
ho
w
syn
t
ax error
lo
c
a
t
ion
commit
|
commitdiff
|
tree
2010-06-12
Ali G
h
ol
a
mi Rudi
g
en:
fix
i
gnoring re
g
op1() ret
u
rn value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami R
u
di
gen: don't
c
han
g
e tmp->bt when storing an
lv
a
lue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
gen: extend
e
ax to
e
dx for mul/d
i
v op
commit
|
commitdiff
|
tree
2010-06-11
A
li Gho
l
ami
Rudi
ncc: arrays should
b
e p
r
oc
e
s
sed
i
n the rev
e
rsed order
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghol
a
mi Rudi
gen: fix the order o
f
MOVSXD'
s
op
e
rands
commit
|
commitdiff
|
tree
2010-06-10
A
li Gholami Rudi
gen: fix f
r
eeing registers before ca
l
l
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghola
m
i Rud
i
invalidate
la
s
t_c
m
p if tmps are changed
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghol
a
mi Rudi
dereferenc
e
b
o
th sid
e
s of a conditional expressio
n
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rud
i
cpp: chec
k
buffer stack i
n
stead of
c
ppeval
variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami
R
udi
cpp:
prevent
r
ecur
s
ive macr
o
s
commit
|
commitdiff
|
tree
2010-06-09
Ali
G
holami Rudi
cpp: multi-argument ma
c
ros
commit
|
commitdiff
|
tree
2010-06-08
Ali
Gholami
R
udi
cpp: sp
a
ce betw
e
en macro and '('
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Ghola
m
i R
u
di
ncc: exit
i
f number of
elements excee
d
s it
s
ma
x
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gholami Rudi
ncc: o
n
ly a
d
d used ex
t
erna
l
s
ymbols
to elf symtab
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
olami Rudi
handle #if an
d
#elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rud
i
handle #ifdef, #i
f
ndef, #e
l
s
e a
n
d #endif
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
holami Rudi
support #un
d
ef
N
AME
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
a
l
l
o
w
-
Dname=val option
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
c
pp: handle function macros
commit
|
commitdiff
|
tree
next