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 Ghol
a
mi R
u
di
ncc
:
fix han
d
ling function
p
ointer
t
yp
e
s witho
u
t a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
gen: complain
i
f M
A
XJ
M
PS is reached
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami
R
udi
g
en
:
simpli
f
y
branch instru
c
tio
n
s by remo
v
ing o
_
f
i
l
l
jmp()
commit
|
commitdiff
|
tree
2011-12-08
A
l
i G
h
ol
a
mi Ru
d
i
ncc: support k&r s
t
yle fun
c
tion de
f
inition
s
commit
|
commitdiff
|
tree
2011-12-08
A
li
Ghol
a
mi Ru
d
i
ou
t
:
use
r
el
.
*
n
ame
fo
r
relocation
sections on
x
86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Al
i
G
h
olam
i
Rudi
n
cc: support (exp
r
, e
x
pr)
e
x
pression
commit
|
commitdiff
|
tree
2011-12-07
Ali Ghola
m
i R
u
di
cpp: fix ev
a
lu
a
ting
integer co
n
s
tants
commit
|
commitdiff
|
tree
2011-11-10
Ali Gholami Ru
d
i
o
ut:
add a workaroun
d
for bad l
i
nkers
commit
|
commitdiff
|
tree
2011-11-08
Ali
G
hol
a
m
i
Rudi
Make
f
ile: default
t
o
x
86
build
commit
|
commitdiff
|
tree
2011-11-08
A
li
Ghol
a
mi Rudi
ncc: de
f
ine __i386__ for x86 bu
i
lds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
R
udi
merg
e
t
h
e x86 p
o
rt to master branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
ncc: better cha
r
array initialization
commit
|
commitdiff
|
tree
2011-10-17
Al
i
Gholam
i
Rudi
out: assure 8-byte align
m
ent of d
a
ta
a
n
d
bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
A
l
i Ghol
a
mi R
u
d
i
tab
:
fix tab_
d
e
l(); other
w
ise
#
undef wo
n
't wo
r
k
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami R
u
di
n
c
c: call ts_
d
e() in ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Ghola
m
i Rudi
n
cc:
h
andle
s
witch
s
tmt
w
here default l
a
bel appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
ncc: don
'
t
o
ver
w
rite global names by static function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Ghol
a
mi Rud
i
cpp: fix handling comme
n
ts and
str
i
ng
s
inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
l
ami R
u
di
ncc: handle em
p
ty st
a
t
ic initi
a
l
i
zers
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Rudi
cpp
:
ignore com
m
e
n
ts i
n
s
ide st
r
ing m
a
c
ro
s
commit
|
commitdiff
|
tree
2011-05-24
A
li Gho
l
ami Rudi
neatcc: add a ncc i
n
voca
t
ion s
c
ript
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
m
o
re
verbose error mess
a
ges f
o
r
mis
s
i
ng files
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghol
a
mi Rud
i
cpp: d
o
n't sea
r
c
h
/
usr/incl
u
d
e
f
o
r heade
r
s by
defa
u
lt
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
cpp: merge cur
+
+
'
s in r
e
adarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Ghol
a
mi Rudi
gen: fi
x
reg_for
t
m
p(
)
inde
n
tation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Ru
d
i
ncc: handle
o
verlap
p
ing conditional exp
r
e
s
s
i
ons
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami R
u
di
ncc: handle
s
ize
o
f
x
+ 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
Gholami Rudi
ncc: make sure t->addr == 0 befo
r
e calling o_popnu
m
()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
n
c
c: ignore
the sem
i
c
o
lon after do-wh
i
l
e
commit
|
commitdiff
|
tree
2011-05-09
Ali
Gho
l
ami Rudi
ncc: switch
d
e
fault
l
abels w
h
en not appearing at the e
n
d
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
m
i
Rud
i
ncc: o
p
assign shou
l
d use the
t
ime o
f
lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami Rudi
ncc: move nogen
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Rudi
ncc: a
l
ways initi
a
liz
e
outp
u
t f
i
lename
commit
|
commitdiff
|
tree
2011-05-08
A
li Gh
o
lami Rudi
README: ignored key
w
ords are now
built i
n
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc:
s
upport -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: handle extern function
d
e
clarat
i
on
s
inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Ghola
m
i Rudi
ncc: handle extern varia
b
le declarations
i
nside
f
unc
t
i
o
ns
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rud
i
ncc: move
m
a
cros l
i
ke __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami R
u
di
t
o
k: handle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholam
i
Rudi
ncc: ignore the
ke
y
words neatcc doesn't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gh
o
lami Rudi
gen
:
reset
last_c
m
p in i_pro
l
og
(
)
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami R
u
di
gen: bac
k
-port c
m
p+bcc opti
m
izati
o
n aga
i
n
commit
|
commitdiff
|
tree
2011-04-29
A
li
G
holami Rudi
g
e
n:
m
ove opcode
s
to arch section
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholam
i
R
u
di
gen:
r
ena
m
e FORK_R
E
G to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i Rudi
g
e
n: pass onl
y
O_* c
o
nstants
t
o i_*() function
s
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
h
o
l
a
m
i
Rudi
g
e
n:
handle sy
m
+
o
f
f
f
unction calls
commit
|
commitdiff
|
tree
2011-04-29
Al
i
G
ho
l
ami Rud
i
gen: move architect
u
r
e-specific functions to
the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen
:
use i_set()
i
n i_lnot
(
)
commit
|
commitdiff
|
tree
2011-04-01
Ali
Gholami Rudi
gen: pass the number
o
f argument
s
to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali
Ghola
m
i Rudi
gen
:
enco
d
e
0
xf0
0
00
0
00 a
s
an immediate
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami
R
udi
gen: swap the im
m
ediate
i
f needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holami Rudi
g
e
n: e
n
code
c
m
p
+
i
mm
e
diate instruc
t
ions
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
ho
l
ami Rud
i
gen: put the i
m
mediate in
t
he opcode if
possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rud
i
gen: remov
e
c
m
p+b
r
a
n
ch optim
i
zati
o
n
;
m
oved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
a
m
i Rudi
cpp:
handle function
m
acros w
i
th no argument
s
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami Rudi
gen: rename dat_bss(
)
and dat_d
a
t() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
ol
a
m
i Rudi
gen: group functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
gen: reset
last_se
t
af
t
er cmp+b optimizati
o
n
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: fix ~ operator implementation
commit
|
commitdiff
|
tree
2011-03-27
A
li
Gh
o
lami Rudi
ncc:
d
e
r
e
feren
c
e function pointers l
i
k
e
a
n
y other variabl
e
s
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Rudi
gen: don't
remove
the last re
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gho
l
ami Rudi
g
e
n
:
don'
t
le
t
o_ca
s
t() change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
Rudi
ncc: use
tok_jmp()
i
nstea
d
of t
o
k_(see
|
get)() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi Rudi
gen: han
d
le large
offsets for str
commit
|
commitdiff
|
tree
2011-03-25
A
li
G
ho
l
ami Rudi
gen: r
e
place T
M
P_REG* macros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami Rudi
gen: change o
_
nogen()/o_d
o
g
e
n
(
)
t
o be recursive
commit
|
commitdiff
|
tree
2011-03-23
Al
i
G
h
olami Rudi
gen: don't
gener
a
te exce
s
s jumps for th
e
last r
e
tur
n
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
gen
:
don't add duplicate dat
a
t
o number pool
commit
|
commitdiff
|
tree
2011-03-20
A
li Gholami Rudi
gen: call tmp_to(
)
i
n for l
o
a
ding rhs
in o_assin
g
()
commit
|
commitdiff
|
tree
2011-03-20
A
li G
h
olami Rudi
gen: ignore O_S
I
GNED wh
e
n
checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholam
i
R
udi
gen: fix signed
d
ivision to ne
g
ate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen:
m
e
r
ge
de
c
rement
a
nd
c
heck in i_m
e
mcpy() an
d
i_me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
A
li
G
hola
m
i Rudi
gen: don't save variable registers before cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add software
d
iv
/
mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
ncc
:
s
e
t O_SIGN f
o
r most
b
inary operations
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
n
cc: d
e
reference the not expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
a
mi Rudi
perfor
m
signed oper
a
tions if
O
_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
cpp: defi
n
e __arm__
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
ncc: don't cast th
e
r
e
t
urn value for vo
i
d functions
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
olami Rud
i
gen: more compact version of m
e
m
cpy(
)
and memset()
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Ghol
a
mi
Rudi
gen
:
don
'
t o
u
tp
u
t reloc
a
t
i
ons whe
n
o
_no
g
en() i
s
c
a
lle
d
commit
|
commitdiff
|
tree
2011-03-13
A
l
i Gholami Rudi
neatcc
arm
p
o
r
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
cl
e
an up the interfa
c
e b
e
tween ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Gh
o
l
a
m
i Rudi
npp: re
m
ove com
m
ents afte
r
pre
p
roce
s
sing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cpp
:
don'
t
remove non-macr
o
number signs
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gh
o
l
ami
Rudi
npp:
a
llow usi
n
g neatcc's preprocessor as a sta
n
dalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami
R
udi
c
p
p
: d
o
n't skip no
n
-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
Rudi
gen:
fix op_r
s
() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghola
m
i Rudi
gen: use bette
r
names
f
or o
p
codes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gho
l
ami Rudi
cpp: define
__i386
_
_;
__x86_64__ is
no long
e
r suppor
t
ed
commit
|
commitdiff
|
tree
2010-11-20
Ali Gho
l
ami Rudi
g
e
n
:
l
oad
the first tmp bef
o
re calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gh
o
lami
Rudi
ad
d
README
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
h
o
la
m
i R
u
di
n
c
c: fix name->name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghol
a
mi Ru
d
i
allow ext
e
rn array declaratio
n
s without s
i
z
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: in
c
lude
stddef
.
h for using offs
e
t
of()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gho
l
a
m
i Rudi
tok: parse uppercase
hex numbe
r
s
commit
|
commitdiff
|
tree
2010-07-25
Ali
Gholami Rudi
nc
c
: fix setti
n
g F_INIT
for
e
ach defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i
Ru
d
i
cpp: handle n
e
st
e
d
m
acro calls
l
ike M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
t
ok: don't go beyond buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami Rudi
ta
b
.
h
:
us
e
the
s
t
anda
r
d offsetof()
commit
|
commitdiff
|
tree
next