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: better char array initialization
2011-10-17
Ali Gholami Rudi
nc
c
: bett
e
r char a
r
r
ay in
i
tializatio
n
commit
|
commitdiff
|
tree
2011-10-17
Ali G
h
olami R
u
d
i
out
:
assure 8
-
byte ali
g
nment of data
a
nd
b
ss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Ghol
a
mi Rudi
tab: fix tab_del(); ot
h
e
r
wise #undef won't
work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami
R
u
di
ncc: call ts_de() in ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Al
i
Gholami Rudi
ncc:
h
an
d
le switch stmt where
default label a
p
pears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
li
G
h
olam
i
Rudi
ncc: do
n
't ov
e
rwrite
g
l
o
bal n
a
mes by st
a
t
i
c
func
t
ion
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Ghola
m
i Rud
i
c
pp:
fi
x
handling
c
omm
e
nts
and strings ins
i
de ma
c
ros
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gholami Rud
i
nc
c
:
hand
l
e e
m
pty s
t
atic
i
n
itialize
r
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghola
m
i Rudi
c
pp: ignore comments inside stri
n
g
m
acros
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Rudi
neatcc: add a ncc invocation
s
cri
p
t
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
mor
e
verbose error
messages f
o
r
missing file
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
l
a
mi
R
udi
cpp: do
n
't search /usr/include f
o
r header
s
by default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami
R
ud
i
cpp: merg
e
cur++'s in readar
g
()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami
R
udi
g
en: fix reg_
f
ort
m
p() inde
n
tatio
n
commit
|
commitdiff
|
tree
2011-05-19
A
li
Gholami
Rudi
ncc: han
d
le overlappi
n
g conditional
expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami
R
u
d
i
ncc: handle s
i
zeof
x + 2
commit
|
commitdiff
|
tree
2011-05-11
A
li Gholami Rudi
ncc: make
s
u
r
e t->addr == 0 before calling
o
_
p
opnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gh
o
lami Rud
i
ncc: igno
r
e the s
e
micolon after do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Ghola
m
i Rudi
nc
c
:
switch default labels when not app
e
aring at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
ncc: op
a
ssign should use
t
he time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rud
i
ncc: move nogen
t
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: always init
i
a
lize outp
u
t filename
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami
R
udi
R
E
ADME: ignore
d
ke
y
word
s
are now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
ho
l
ami Rudi
nc
c
:
s
upport -
o
ou
t
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
ncc:
h
and
l
e
ext
e
rn function d
e
cl
a
rations inside functio
n
s
commit
|
commitdiff
|
tree
2011-05-06
Ali Gho
l
a
m
i Rudi
ncc: ha
n
d
l
e extern
v
ariable decl
a
rations inside functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghola
m
i Rudi
ncc: move macro
s
lik
e
__
S
T
D
C
__ to
n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gh
o
l
a
mi Rudi
tok: han
d
le
/
/
c
omm
e
nts
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
h
ol
a
mi Rud
i
ncc: ignore the keywords neatcc
doesn't care abo
u
t
commit
|
commitdiff
|
tree
2011-05-01
Al
i
Gholami Rudi
gen: r
e
set last_cmp
i
n i_prol
o
g()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: bac
k
-port cm
p
+
b
c
c
optimization again
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami Rudi
g
en: m
o
ve opcod
e
s to
a
rch s
e
ction
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
u
di
gen: rename FORK_R
E
G to REG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami
R
u
di
gen:
p
a
ss only O_* co
n
stants
to i_*() fu
n
ctions
commit
|
commitdiff
|
tree
2011-04-29
A
l
i G
h
olami Rudi
gen
:
handle sym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
la
m
i Rudi
gen: m
o
ve
architecture-specific fun
c
ti
o
ns to the en
d
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghol
a
m
i
Rudi
g
e
n
: use i_
s
et(
)
in i_lnot(
)
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Ghol
a
mi Rudi
gen: pas
s
the number of a
r
gu
m
ents to o_func_
b
e
g
(
)
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
encode 0xf00000
0
0
a
s
an immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
e
n:
s
wap the immediate i
f
needed for == an
d
!
=
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
m
i
R
udi
gen: enc
o
de cmp+im
m
ediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: put the immediate i
n
th
e
o
p
code
if
p
os
s
ible
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Gholami Ru
d
i
gen: re
m
o
v
e cm
p
+branch op
t
imiz
a
tion; moved to opt
b
ra
n
ch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
ami Rudi
cpp: handle
function mac
r
os with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen: rename dat_bss() and dat_dat() to begin wit
h
o_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Gholami Rudi
ge
n
: group functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen
:
res
e
t last_set after cmp+b opti
m
ization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
ami Rudi
gen:
fix ~
operator implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
n
cc: dereference functi
o
n pointer
s
like any other
variables
commit
|
commitdiff
|
tree
2011-03-27
Ali
Ghola
m
i
R
udi
gen:
don't remove the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghol
a
m
i R
u
di
gen:
d
o
n'
t
let o_cast() c
h
ange dereferenced typ
e
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami
Ru
d
i
n
cc: use tok_jmp() ins
t
ead of
t
ok_(see
|
g
e
t)()
i
n
enum_c
r
eate()
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami Rudi
gen: han
d
le large
offsets
f
or str
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholam
i
Rudi
gen: replace TMP_REG* macros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rud
i
gen:
change o_
n
o
gen()/o_dogen(
)
to be recursi
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olami
Rudi
gen
:
don't gene
r
a
t
e exc
e
ss
jumps f
o
r the last re
t
u
r
n
commit
|
commitdiff
|
tree
2011-03-23
Al
i
G
holami Rudi
gen: don't
add
d
uplicate data
t
o numbe
r
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghol
a
mi
Rud
i
gen: call tmp_to() in
fo
r
loading rh
s
in
o
_
a
ssing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
g
en: ignore O_SIG
N
ED whe
n
ch
e
cking the op
c
ode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i Ghol
a
mi Rudi
gen: fix si
g
ned division to
n
egat
e
the remain
d
e
r
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: merge decrement and check in i
_
memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen:
don't save v
a
r
i
a
ble regi
s
t
e
rs before
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami
R
udi
gen: add s
o
ftwa
r
e div
/
mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: se
t
O_
S
IGN
fo
r
mos
t
binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
u
d
i
nc
c
: dereference the not expression
of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
perfo
r
m si
g
ned operation
s
if
O_SIGNE
D
b
it is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
cpp:
d
efine _
_
a
r
m__
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami Ru
d
i
ncc: d
o
n
'
t cast the retur
n
v
a
lue for void func
t
i
ons
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rud
i
gen: more
c
ompact vers
i
on o
f
memcpy
(
) and memse
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Rudi
gen: don'
t
output r
e
locations wh
e
n o_
n
ogen() is called
commit
|
commitdiff
|
tree
2011-03-13
A
li Ghol
a
mi R
u
di
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
A
li Gholami Rudi
clean up t
h
e interface b
e
t
ween n
c
c
.
c, g
e
n
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Rud
i
npp: remove comments a
f
ter pre
p
r
o
cessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
Rudi
cpp: don't
remo
v
e
non-
m
ac
r
o
n
umber signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
n
p
p: allow using neat
c
c'
s
preprocessor as a standa
l
o
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li Gholami Rudi
c
pp: don't ski
p
non-eol macr
o
b
acks
l
ashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rud
i
gen: fix o
p
_rs(
)
optim
i
zatio
n
fun
c
tion
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gho
l
am
i
Rudi
gen: use b
e
tter names
f
or opco
d
es
commit
|
commitdiff
|
tree
2010-12-11
Ali Gh
o
la
m
i
Rudi
cpp: d
e
fi
n
e __i386__
;
__x86_64__ i
s
no lo
n
ger suppor
t
ed
commit
|
commitdiff
|
tree
2010-11-20
A
l
i Gholami
R
u
d
i
ge
n
: load the
f
i
rst tmp before callin
g
TMP_R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add READM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc
:
fix name->n
a
me str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow
extern array
d
e
clarations without size
commit
|
commitdiff
|
tree
2010-07-29
A
li Gholami
R
udi
cpp
:
include stddef
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Gholami Rudi
t
ok: pars
e
uppe
r
case hex num
b
ers
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
holami Rudi
ncc: fix s
e
tting F_INIT
f
or
e
a
ch defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp:
h
andle n
e
sted macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami
Rudi
tok: do
n
't go
b
eyond
b
uf len for 3-c
h
a
r tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
udi
tab
.
h: use the standa
r
d offsetof(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholami Ru
d
i
ncc: f
i
x
calling t
s
_pop() prematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gholam
i
Rudi
g
en: ignore the sign
of
t
h
e secon
d
o
p
e
r
and
in /
a
nd
%
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Gholami
R
u
d
i
ncc: fix
&
a
n
d
*
on
f
unctions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rudi
gen: don't overwrite pushed e
b
x,
es
i
an
d
edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Ru
d
i
gen: change
s
t
ack alig
n
ment to 4
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami Ru
d
i
n
c
c:
d
on't chang
e
operand
order for const ops
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rud
i
ge
n
: on
l
y per
f
o
rm const op for ad
d
resses when adding
commit
|
commitdiff
|
tree
2010-07-08
A
l
i
G
ho
l
am
i
Rudi
gen: zer
o
ing e
a
x d
o
esn
'
t seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami
R
ud
i
nc
c
: fix ++s for poin
t
ers
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
Gho
l
ami
Ru
d
i
ncc
:
fi
x
f
unction pointer
arrays
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Rudi
g
en: rem
o
ve the
unused c_op()
commit
|
commitdiff
|
tree
next