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: fix handling function pointer types without a name
2011-12-23
Ali Gholami
Rudi
n
c
c
: fix handl
i
ng fu
n
ct
i
on pointer types
w
ithout a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
gen:
c
omplai
n
if
M
AX
J
MPS
is reached
commit
|
commitdiff
|
tree
2011-12-09
A
li
Gholami Rudi
gen: simplify branch instr
u
c
tions by removing o_filljmp()
commit
|
commitdiff
|
tree
2011-12-08
Ali G
h
olami Rudi
ncc: support k&r style f
u
ncti
o
n
definit
i
on
s
commit
|
commitdiff
|
tree
2011-12-08
Ali Ghol
a
mi Rudi
out: use rel
.
*
n
a
m
e for relocation
s
ections
o
n
x
8
6
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholam
i
Rudi
nc
c
: su
p
port
(
ex
p
r,
expr)
e
xpression
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rud
i
cpp:
fix evaluatin
g
integer
constant
s
commit
|
commitdiff
|
tree
2011-11-10
A
l
i Ghol
a
mi Rudi
out: add a workar
o
und for b
a
d linkers
commit
|
commitdiff
|
tree
2011-11-08
Al
i
Ghol
a
mi Rudi
Mak
e
file: default to x86 bu
i
ld
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
Rud
i
ncc
:
de
f
in
e
__i386__ for x86 build
s
commit
|
commitdiff
|
tree
2011-11-08
Ali G
h
ola
m
i Rudi
merge
t
he x86 port
t
o m
a
ste
r
br
a
nch
commit
|
commitdiff
|
tree
2011-10-17
A
li
G
holami Ru
d
i
n
c
c: better char array
i
nitia
l
i
z
a
tion
commit
|
commitdiff
|
tree
2011-10-17
Al
i
Ghol
a
mi Rud
i
out:
a
ssure 8-byte alignm
e
nt of
d
a
t
a and bss sectio
n
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali
Gholami Rudi
tab: fix tab_del();
o
therwise
#
undef won't
w
ork
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami R
u
di
ncc
:
c
a
ll ts_de() in ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholami
Ru
d
i
n
c
c:
h
andle swi
t
ch stmt where default label appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali G
h
ola
m
i Rudi
ncc: don't ov
e
rwrite gl
o
ba
l
names
b
y
s
ta
t
i
c
f
u
n
ct
i
on
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i
Gho
l
ami Rudi
cpp: fi
x
ha
n
dli
n
g comm
e
nts an
d
strings
inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
n
c
c
: hand
l
e empty static in
i
tializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
am
i
Rudi
cpp: ignore comm
e
nts inside
s
tring mac
r
os
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
ami Rudi
neat
c
c
: a
d
d a ncc i
n
v
oc
a
tion sc
r
ipt
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
Rudi
more verbos
e
er
r
o
r
messa
g
e
s f
o
r missing files
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Ghola
m
i Rudi
cpp: don't
search
/
usr/i
n
clude for header
s
b
y
de
f
a
ult
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
holami Rudi
cpp:
m
erge cur++
'
s
in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
gen: f
i
x reg_fortmp(
)
indentatio
n
commit
|
commitdiff
|
tree
2011-05-19
Ali
Gholami Rudi
n
cc: ha
n
dle overlap
p
ing cond
i
tion
a
l
e
xp
r
essions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami
R
udi
nc
c
: h
a
ndle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali G
h
o
l
ami Rudi
n
c
c: m
a
ke sure t->addr ==
0
bef
o
re calling o
_
popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Ghol
a
m
i Rudi
ncc: ign
o
re t
h
e semicolon after do-whi
l
e
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
n
c
c: switch def
a
ult labels w
h
en not
a
p
pearing
a
t the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
la
m
i Rudi
ncc: opassi
g
n
sho
u
l
d
use the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
holami
R
ud
i
ncc
:
move
nog
e
n
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami Rudi
ncc: always
i
nitial
i
z
e
output filena
m
e
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
R
EADME:
i
gnore
d
keyw
o
rds are now b
u
ilt int
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi Ru
d
i
nc
c
:
support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
n
cc: ha
n
d
le extern function de
c
larat
i
ons i
n
side functions
commit
|
commitdiff
|
tree
2011-05-06
Ali G
h
olami Rudi
ncc: ha
n
d
l
e extern variable
d
eclarat
i
o
ns inside
funct
i
ons
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami
Ru
d
i
ncc: move macros l
i
ke __ST
D
C
_
_
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
olami Rudi
tok:
h
a
n
dle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: ig
n
o
r
e
t
he keywo
r
ds neatcc doesn't c
a
re about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami
R
u
di
g
e
n
:
reset la
s
t_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami Rudi
gen:
b
ack-port
cmp+bcc optimization again
commit
|
commitdiff
|
tree
2011-04-29
A
li Gho
l
ami Rudi
gen: move opcode
s
to arch sect
i
on
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: rename FOR
K
_REG to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
udi
ge
n
:
pass
on
l
y O_* constants to
i_*() fu
n
ctio
n
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
g
en: handle
s
ym+off
funct
i
on cal
l
s
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gholami Rudi
gen: move a
r
c
h
it
e
ctur
e
-specif
i
c
fun
c
tion
s
to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali
Gholami
R
u
di
gen: use i_set() in
i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Al
i
G
ho
l
ami
R
u
di
gen: pass the nu
m
ber
o
f arguments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami Rudi
g
e
n: e
n
code 0xf0000000 as an immedia
t
e
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
h
ol
a
mi
Rudi
g
en: swap the immediate if nee
d
e
d
for == and
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
a
m
i Rudi
gen: en
c
ode cmp+immedia
t
e ins
t
ruc
t
ions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
p
ut
t
he imme
d
iate in
the
o
p
co
d
e
if possi
b
le
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Ru
d
i
gen: re
m
ove cmp+branch optimization; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cp
p
: handle fun
c
tion m
a
cros with no ar
g
umen
t
s
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
holami Ru
d
i
gen:
rename da
t
_bs
s
(
)
and dat_d
a
t() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
G
h
olam
i
R
ud
i
gen: group
functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Ghola
m
i R
u
di
g
e
n: r
e
set last_
s
e
t after cmp+b optim
i
zation
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
e
n
: fix ~ operator implemen
t
a
t
ion
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: d
e
refe
r
ence function po
i
nters l
i
ke any other varia
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
hol
a
mi R
u
di
gen: don't
remove the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i Rudi
g
en: don't l
e
t
o_cast() change derefe
r
enced type
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Ghola
m
i Rudi
ncc:
us
e
tok_jmp(
)
instead of tok_(s
e
e
|
get)
(
) in en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
Rudi
gen: handle larg
e
offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen: replace TMP_
R
EG* mac
r
os with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holam
i
Rudi
gen
:
cha
n
g
e o_nogen()/o_
d
ogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't generate
exces
s
jumps for
th
e
l
a
st ret
u
rn
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Ghola
m
i Rudi
gen: don't add duplica
t
e
d
a
t
a to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholam
i
R
udi
gen: call tmp_to() i
n
for loading r
h
s
i
n o_ass
i
ng()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: i
g
nore O_SIGN
E
D
w
hen checking
t
h
e
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gho
l
ami Ru
d
i
gen: fi
x
signed
d
ivision to ne
g
at
e
the r
e
mai
n
der
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
g
e
n: merg
e
dec
r
ement and check i
n
i
_
memcpy() and i_memse
t
()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
g
en:
don't
s
ave
var
i
able registers be
f
o
r
e calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen:
add
s
oftware div/mod
i
mplem
e
ntati
o
n
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
G
ho
l
ami Rud
i
ncc: s
e
t O_S
I
GN for most binary operat
i
ons
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
ncc:
der
e
ference the no
t
expression of cex
p
rs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
perfor
m
si
g
ned
ope
r
a
t
ions i
f
O
_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
R
udi
cpp
:
def
i
ne __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
ncc: do
n
'
t
cast the retur
n
value for vo
i
d funct
i
ons
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
ge
n
: mor
e
compact versio
n
o
f
memcpy
(
)
and me
m
set()
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami
R
ud
i
gen:
d
o
n
'
t output relocati
o
ns
w
h
en o_nogen()
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghol
a
mi Rudi
n
e
atcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami
Ru
d
i
clean up the interface between ncc
.
c,
g
e
n
.
c
a
nd
o
ut
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
h
olami Rudi
n
p
p: remove com
m
e
n
t
s
after p
r
eprocessing
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami
Rudi
cpp: don't remove no
n
-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rudi
np
p
:
a
llow us
i
ng neatcc's preprocessor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
G
holami
Rudi
cpp
:
do
n
't skip
non-eol ma
c
ro
backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami Ru
d
i
gen: fi
x
op_rs()
optimiza
t
io
n
fun
c
tion
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gholami Rudi
gen: use be
t
ter
names for opco
d
es
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
h
olami Rudi
cpp: define __i386__
;
__x86_64__ is no longer su
p
ported
commit
|
commitdiff
|
tree
2010-11-20
A
l
i Gholami Rudi
gen: load the fir
s
t tmp before cal
l
i
ng TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rud
i
add README
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami
Rud
i
ncc:
fix name->name str initiali
z
er
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
R
udi
allow ex
t
ern ar
r
ay
decla
r
ations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami
R
udi
c
p
p: include s
t
ddef
.
h for
u
sing offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
t
ok: parse uppercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Ghola
m
i Rudi
ncc:
f
ix setti
n
g F_I
N
IT for ea
c
h defined na
m
e
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholam
i
Rudi
cpp: handle nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
udi
t
ok:
d
on't
g
o b
e
yond
b
u
f
len for
3
-
c
h
a
r
to
k
e
n
s
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Ghol
a
mi R
u
d
i
tab
.
h: use the standard offsetof()
commit
|
commitdiff
|
tree
next