repo.or.cz
/
neatcc
/
cc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
gen.h: fix a comment typo
2013-07-30
Ali
Ghola
m
i
R
ud
i
g
en
.
h
:
f
ix a comment
t
y
p
o
commit
|
commitdiff
|
tree
2012-07-05
Ali
G
h
o
lami Rudi
ncc
:
handle + una
r
y
o
perator as in 1
+ - + - 1
commit
|
commitdiff
|
tree
2012-06-08
Ali Gholami Rudi
ncc: s
w
itch t
o
the modified b
s
d lice
n
se
commit
|
commitdiff
|
tree
2012-03-25
Ali G
h
olami
R
u
di
cpp: ignore macros imme
d
iately follo
w
ing
n
um
b
er
s
commit
|
commitdiff
|
tree
2012-02-03
Ali Ghola
m
i
R
udi
tok: ignore "
\
\
\
n
"
commit
|
commitdiff
|
tree
2012-02-02
Ali Gho
l
a
mi Rudi
ncc:
s
t
r
i
ng litera
l
s
are arrays
commit
|
commitdiff
|
tree
2012-01-25
A
l
i
G
h
olami Rudi
n
p
p
: re
d
ef
i
ne err() in npp
.
c
commit
|
commitdiff
|
tree
2012-01-25
Ali Gholami Rudi
Makefile: x86_64
shou
l
d be x86 in the commen
t
commit
|
commitdiff
|
tree
2012-01-06
Ali Gholami Rudi
extract archite
c
ture
i
ndepende
n
t gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali Gholami Rudi
expe
r
imen
t
al r
i
s
c
-like x86_64 por
t
o
f neatcc
commit
|
commitdiff
|
tree
2011-12-23
Ali Ghol
a
mi R
u
d
i
ncc: fix ha
n
dling fun
c
t
i
on pointer types with
o
ut
a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Al
i
Gholami Rudi
g
e
n: co
m
plain if MAXJMP
S
is rea
c
hed
commit
|
commitdiff
|
tree
2011-12-09
A
li Gholami
R
udi
gen: simpli
f
y
b
r
a
n
ch instructions by removing
o_filljmp()
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami R
u
di
ncc: support k
&
r
st
y
le
function defini
t
ions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
out: us
e
rel
.
* na
m
e for relo
c
ation sections on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rudi
ncc: support (expr, expr) express
i
o
n
commit
|
commitdiff
|
tree
2011-12-07
Ali
G
holami Rudi
cpp: fix e
v
al
u
ating integer
c
o
n
st
a
nts
commit
|
commitdiff
|
tree
2011-11-10
Al
i
Gh
o
l
ami Rudi
out: ad
d
a work
a
ro
u
n
d
for
bad li
n
ker
s
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makefile: def
a
ult t
o
x86 b
u
ild
commit
|
commitdiff
|
tree
2011-11-08
A
l
i
Gho
l
a
m
i Ru
d
i
n
cc:
d
e
fine __
i
3
8
6__ for x8
6
builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
m
erge the x
8
6 port to m
a
ster b
r
anch
commit
|
commitdiff
|
tree
2011-10-17
Ali
Gholami Ru
d
i
ncc
:
better char array
initi
a
li
z
at
i
on
commit
|
commitdiff
|
tree
2011-10-17
Ali Gho
l
ami Ru
d
i
out: assure 8-byte a
l
ignment of data and bss sec
t
i
o
n
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
A
l
i Gholami Rudi
tab: fix tab
_
d
el(); otherwise #undef won't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rudi
ncc:
c
a
ll ts_de()
in ts_pop_
d
e
(
)
commit
|
commitdiff
|
tree
2011-06-04
A
li Gholami Rudi
ncc: handle switch stmt where default label appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Ghola
m
i Rudi
n
cc: d
o
n't o
v
erwr
i
te global
names
b
y static fun
c
tion
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i Gholami
Rudi
c
pp: fix han
d
ling
c
o
m
ment
s
and
strings
i
n
s
ide macr
o
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
ncc: handle empt
y
st
a
tic
i
nitializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholam
i
Rudi
c
p
p: ignore c
o
mments
in
s
ide string ma
c
ros
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gholami
R
udi
neatcc:
ad
d
a ncc i
n
vocation
sc
r
ipt
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholam
i
Rudi
more v
e
rbose er
r
or messages
f
or m
i
ssing files
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rud
i
c
p
p: don't se
a
r
c
h /u
s
r/
i
n
c
l
u
de for
h
eaders by default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami
R
u
di
cpp: merge cur+
+
's in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Ghol
a
mi
Rudi
gen: fix reg_f
o
rt
m
p() inde
n
tation
commit
|
commitdiff
|
tree
2011-05-19
Ali G
h
olam
i
Rudi
ncc:
h
andle
overla
p
ping conditional expressions
commit
|
commitdiff
|
tree
2011-05-19
A
l
i
Gholami Rudi
n
c
c:
handle siz
e
of x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc:
ma
k
e s
u
re t->addr == 0 before calling
o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rud
i
ncc:
i
gnor
e
th
e
semicolon a
f
ter do-whi
l
e
commit
|
commitdiff
|
tree
2011-05-09
Ali Gho
l
ami
R
udi
ncc: switch default labels when
not appearing at
the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i Rudi
ncc: o
p
as
s
ign should use
the tim
e
of lhs
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Ghola
m
i Rudi
n
c
c:
m
ove nogen
to
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc:
always ini
t
ialize output
f
ilena
m
e
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholam
i
R
u
d
i
READ
M
E: igno
r
ed
k
eyw
o
rds are n
o
w built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
nc
c
:
support -o out
commit
|
commitdiff
|
tree
2011-05-08
Al
i
G
holami Rudi
n
c
c
:
handle ext
e
rn functi
o
n
declarations in
s
id
e
f
u
nc
t
i
o
n
s
commit
|
commitdiff
|
tree
2011-05-06
A
li Gho
l
ami Rudi
ncc: h
a
ndle extern var
i
able declarations inside
fun
c
tions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
R
ud
i
ncc: mo
v
e macr
o
s like __STDC__ to
n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
li Gholami Rudi
t
ok: handle /
/
c
o
mme
n
ts
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rud
i
ncc: ignore
t
he
k
eywo
r
ds neatcc d
o
esn't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Ghol
a
mi Ru
d
i
g
en: reset last_c
m
p
i
n
i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gho
l
am
i
Ru
d
i
g
en: back-port cmp+bcc optimization
aga
i
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
gen:
m
o
v
e
o
pcodes t
o
ar
c
h s
e
ctio
n
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
hola
m
i Rudi
gen
:
rename FORK_REG to REG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami
R
udi
gen: pass o
n
ly
O
_*
c
onsta
n
ts to i_*()
funct
i
o
ns
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami Rudi
gen: handle
s
ym+of
f
f
u
ncti
o
n c
a
lls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami Rudi
gen: move
ar
c
hite
c
ture-s
p
ecific f
u
nctions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gh
o
lami Rudi
gen:
u
se i_set()
i
n i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghol
a
mi Rudi
g
en: pas
s
th
e
n
umber of ar
g
uments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
m
i
Rudi
g
e
n: encode 0xf0000000 as a
n
immedi
a
te
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: s
w
ap the immediate if neede
d
for == and !=
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami Rudi
gen
:
encode cmp+immedi
a
t
e instructions
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami Rudi
g
e
n
: p
u
t the immediate in the op
c
ode i
f
pos
s
ibl
e
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
a
mi Rud
i
gen: remove cmp+branch optim
i
za
t
ion; mov
e
d to
o
pt branch
commit
|
commitdiff
|
tree
2011-03-30
A
l
i
Gholami Rudi
cpp: handle
function m
a
cros wi
t
h no arg
u
ments
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gh
o
lami Rudi
gen: re
n
ame d
a
t_bss()
a
n
d
dat_da
t
(
) to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
e
n
: group functions in
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Ghol
a
mi Rudi
gen: reset la
s
t_set after cmp+b optimizat
i
o
n
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
gen: fix ~ operato
r
implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
n
c
c: de
r
efe
r
ence functi
o
n poin
t
e
r
s like
a
n
y other
v
a
riables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rud
i
ge
n
: don't rem
o
ve
t
he last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen:
don'
t
l
e
t
o_
c
ast() c
h
ange
d
e
refere
n
ced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi
Rudi
n
cc: use
tok_
j
mp() instead of to
k
_
(see|ge
t
)() in enum_cr
e
ate()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghola
m
i Rudi
ge
n
: handle lar
g
e offse
t
s for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen:
r
eplace TMP_REG* macr
o
s w
i
th
r
eg_for
t
mp
(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olami Rudi
ge
n
: change
o_n
o
gen(
)
/o_dogen()
t
o b
e
recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
h
o
lami
Ru
d
i
g
en: don't generate exce
s
s jumps for th
e
last r
e
turn
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
G
holami Rudi
ge
n
: don't a
d
d
d
upli
c
ate d
a
ta
to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
ol
a
mi
Rud
i
gen: call tmp_to() i
n
for l
o
ading rhs
in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Gholami Rudi
g
en: ignor
e
O_
S
IGNED when chec
k
ing th
e
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
ge
n
: fix s
i
g
n
ed division to neg
a
te the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali
G
h
o
lami
Rudi
gen:
merge decrement an
d
check in
i_memcpy() an
d
i_me
m
set(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
m
i
Rudi
gen
:
don't sav
e
variable
regis
t
e
rs
befo
r
e
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
gen:
a
dd so
f
twar
e
div/mod
i
m
pleme
n
tatio
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
am
i
Rudi
ncc: set O_SIGN for most b
i
na
r
y operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
n
cc: dereference th
e
not exp
r
essio
n
of ce
x
prs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gho
l
ami
R
udi
perform s
i
gne
d
oper
a
tions if O_
S
IGNED bit is
s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rud
i
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Ru
d
i
ncc: d
o
n
't cast
t
h
e ret
u
r
n value for vo
i
d
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lami Rudi
ge
n
:
m
ore
c
o
m
p
a
ct version of mem
c
py() and mem
s
et()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
gen: don
'
t out
p
ut
relocation
s
w
h
en o_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali G
h
o
l
ami Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
A
l
i Gholami Rudi
clean up t
h
e i
n
terface between ncc
.
c, gen
.
c
a
nd out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Rudi
n
p
p
:
remove c
o
mments af
t
er prep
r
ocessin
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cp
p
: don't rem
o
ve non-macro n
u
mb
e
r signs
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rudi
n
p
p: allow using neatcc's
p
r
eproce
s
sor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
Gh
o
l
ami
Rudi
cp
p
: do
n
't skip non
-
eol macro
backsla
s
h
e
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
ge
n
: fix op_rs() o
p
timization funct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
use better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami R
u
di
cpp:
def
i
ne __i386_
_
; __x86_64_
_
is no longer supp
o
r
te
d
commit
|
commitdiff
|
tree
next