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
ncc: always call ts_push_bt() after performing gen.c operations
2014-09-05
Ali Gholami Rudi
ncc: always call ts_push_bt() after perf
o
rming
gen
.
.
.
commit
|
commitdiff
|
tree
2014-08-17
Ali
G
holami
Rudi
out:
e
x
i
t
if there is
n
o room for more
r
elocations
.
.
.
commit
|
commitdiff
|
tree
2014-05-13
A
l
i Gholami Rudi
ncc:
d
e
scrib
e
what ea
c
h fi
l
e
does in i
t
s head
e
r
commit
|
commitdiff
|
tree
2013-11-07
Ali Gh
o
lam
i
Rudi
ncc: use la
b
el identifiers more carefully
commit
|
commitdiff
|
tree
2013-11-02
Ali G
h
olami
R
u
d
i
ncc
.
h: increase arra
y
limits for inex
p
ensive r
e
sources
commit
|
commitdiff
|
tree
2013-10-31
Ali Gholami
R
udi
cp
p
: use a
simple hash table
instead of tab struct
commit
|
commitdiff
|
tree
2013-10-31
Ali
Gh
o
lam
i
Rudi
to
k
: a
l
l
o
w
la
r
ge
ds
s
ecti
o
ns and
string to
k
ens
commit
|
commitdiff
|
tree
2013-10-29
Al
i
Gholami Rudi
gen: move the
management of d
s
[
]
to
g
en
.
c
commit
|
commitdiff
|
tree
2013-09-02
A
l
i Gholam
i
Ru
d
i
ncc
.
h
:
m
o
ve array limits
t
o ncc
.
h
commit
|
commitdiff
|
tree
2013-09-01
Ali Gholami Rudi
gen: move the re
g
i
s
t
e
r al
l
ocation to reg
.
c
commit
|
commitdiff
|
tree
2013-07-30
Ali Gholami Rudi
tok:
r
ead '\08' as {'\0', '8'}
commit
|
commitdiff
|
tree
2013-07-30
Ali
G
hola
m
i Rudi
ncc: call ts_add
o
p()
o
nl
y
for +=
and -=
commit
|
commitdiff
|
tree
2013-07-30
Ali G
h
ola
m
i Rudi
ncc
:
upda
t
e year
commit
|
commitdiff
|
tree
2013-07-30
Ali Ghola
m
i Rudi
g
en
.
h: fix a comment t
y
po
commit
|
commitdiff
|
tree
2012-07-05
Ali Gholami R
u
di
ncc:
ha
n
d
l
e + una
r
y o
p
era
t
or as in
1 + - +
-
1
commit
|
commitdiff
|
tree
2012-06-08
Al
i
Gholami Rudi
ncc: switc
h
to t
h
e modified bsd
license
commit
|
commitdiff
|
tree
2012-03-25
Ali Gholami Rudi
cpp: ignore macros im
m
ediately foll
o
wing num
b
e
r
s
commit
|
commitdiff
|
tree
2012-02-03
A
li Gholam
i
Rudi
tok: ignore "\\\n"
commit
|
commitdiff
|
tree
2012-02-02
Ali Ghol
a
mi
Rudi
ncc:
s
tring
l
i
t
erals are arrays
commit
|
commitdiff
|
tree
2012-01-25
A
li Gholami Rudi
npp:
red
e
fine
e
r
r
() in npp
.
c
commit
|
commitdiff
|
tree
2012-01-25
Al
i
Gh
o
lam
i
Rudi
Makef
i
le: x86_64 should be
x8
6
in the comment
commit
|
commitdiff
|
tree
2012-01-06
Ali Gholami Rudi
e
x
tract architectu
r
e independent
g
e
n
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali Gholami Rudi
experimental risc-like x86_64 port
o
f neatcc
commit
|
commitdiff
|
tree
2011-12-23
Al
i
Gholami Rudi
nc
c
: fix h
a
ndling
f
unction
poi
n
t
e
r types without a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami
R
udi
gen: complain if MAXJMPS is reached
commit
|
commitdiff
|
tree
2011-12-09
A
li Gholami R
u
di
g
en
:
si
m
plify branch instructions by
remo
v
ing o_filljmp()
commit
|
commitdiff
|
tree
2011-12-08
Al
i
G
h
olam
i
Rud
i
n
c
c: supp
o
rt k&r style f
u
n
ct
i
on defin
i
tions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gh
o
lami Rudi
out:
use rel
.
* n
a
me f
o
r r
e
location
s
ections on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rudi
ncc
:
su
p
port (expr, exp
r
) ex
p
ression
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rudi
c
p
p
:
fi
x
evaluating integer
const
a
nts
commit
|
commitdiff
|
tree
2011-11-10
Ali Gh
o
lami Rudi
ou
t
:
a
dd
a workarou
n
d
f
or bad linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Ghola
m
i Rudi
Makefile:
d
e
f
a
u
lt
to x86 build
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rud
i
ncc: de
f
ine
_
_i386__ for
x86 bui
l
d
s
commit
|
commitdiff
|
tree
2011-11-08
Ali G
h
olam
i
Rudi
me
r
ge t
h
e x86 por
t
to master
bran
c
h
commit
|
commitdiff
|
tree
2011-10-17
Ali
G
holami Rudi
ncc: bett
e
r
char arr
a
y
i
nit
i
a
l
i
z
ation
commit
|
commitdiff
|
tree
2011-10-17
A
li Gh
o
lami Rudi
out: assure 8-by
t
e alignment of data a
n
d bss
s
ection
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami Rudi
t
a
b: fix tab_de
l
()
;
o
t
h
erwise
#
u
ndef w
o
n't work
commit
|
commitdiff
|
tree
2011-06-05
Al
i
Gho
l
ami R
u
d
i
ncc: call ts_de(
)
i
n ts_pop
_
d
e()
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholami Rudi
ncc
:
handle switch s
t
mt whe
r
e def
a
ult
l
abel appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Ru
d
i
ncc: don't overwrite g
l
o
b
a
l names by s
t
ati
c
function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
cpp: fix handling comment
s
and str
i
ngs inside mac
r
os
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
h
o
l
ami Rudi
ncc: handle emp
t
y static i
n
itializers
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gh
o
la
m
i
Ru
d
i
cpp: ig
n
ore comments
i
nsi
d
e s
t
ring macros
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gholami Rudi
neatcc: ad
d
a ncc invocation sc
r
ipt
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Gho
l
am
i
Rudi
more verb
o
se error message
s
for m
i
s
s
i
n
g
file
s
commit
|
commitdiff
|
tree
2011-05-24
A
l
i G
h
olam
i
Rudi
cpp: don't search
/usr/include for h
e
aders by default
commit
|
commitdiff
|
tree
2011-05-22
A
l
i Gholami
R
udi
cpp: merge cur++
'
s in
r
eadarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali
Gholami Rudi
gen: fix reg_fo
r
tmp() indentatio
n
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
hola
m
i Rudi
ncc: hand
l
e overlapping conditiona
l
e
x
pre
s
sions
commit
|
commitdiff
|
tree
2011-05-19
A
li Gholami Ru
d
i
n
c
c
: handle sizeof
x
+ 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami R
u
d
i
n
c
c
: make su
r
e t->addr == 0 before
calling o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Al
i
G
h
olami Rudi
ncc: ig
n
o
r
e
the semicol
o
n a
f
ter do
-
while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rud
i
ncc:
swi
t
ch default labels when not app
e
aring a
t
the end
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
h
olami Ru
d
i
n
cc: o
p
assign should use the time of
l
hs
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rudi
ncc: mo
v
e nog
e
n t
o
nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i Rudi
ncc: always initialize output filename
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rudi
README: ignored keywords a
r
e
n
ow
b
uilt into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami Rudi
n
c
c: s
u
pport
-
o
o
ut
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
ncc: handle extern fun
c
tion decla
r
a
tion
s
inside functi
o
ns
commit
|
commitdiff
|
tree
2011-05-06
Al
i
G
holami Rudi
ncc: handl
e
exter
n
v
ariable
declarations inside functi
o
ns
commit
|
commitdiff
|
tree
2011-05-04
Ali
Gholami Rudi
ncc: move macros like __STDC
_
_ to nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali
Gh
o
l
a
mi Rud
i
to
k
: handle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
R
ud
i
n
c
c
:
ignore t
h
e keywords neat
c
c
d
o
e
s
n't care abou
t
commit
|
commitdiff
|
tree
2011-05-01
A
li Gholami Rudi
gen:
reset la
s
t_cmp
in i_prolog(
)
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholam
i
Rudi
gen: back-port cmp+bcc opti
m
izati
o
n again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
udi
gen: mo
v
e
opcode
s
to ar
c
h
sectio
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami
Rudi
g
e
n:
rena
m
e FORK_REG to REG_FO
R
K
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen:
p
a
ss only O_*
co
n
stants t
o
i_
*
() funct
i
o
n
s
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
gen: handle
s
ym+o
f
f function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
g
en: move
a
rchitecture
-
sp
e
cific
functio
n
s
to the en
d
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
li Gholami R
u
di
gen: use i_
s
et() in i
_
l
not
(
)
commit
|
commitdiff
|
tree
2011-04-01
Ali Gho
l
ami
R
udi
gen: p
a
ss
the nu
m
ber of argum
e
nts to
o_f
u
n
c_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen
:
e
n
code 0x
f
0
0
00000 as an i
m
medi
a
te
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: swap the imme
d
iate if needed
f
or
== and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami Rudi
gen:
e
ncode
c
mp+immedia
t
e instru
c
tions
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rudi
gen: put the imme
d
iate in the opcode if p
o
ssib
l
e
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Gho
l
ami Rudi
gen: rem
o
ve cmp+branch optimiza
t
ion;
moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
c
p
p
: hand
l
e functio
n
macros w
i
th
no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
e
n
: rename dat_bss() and dat_dat() to begin
w
i
th
o
_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Ru
d
i
gen: group funct
i
o
n
s
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: r
e
set la
s
t_set after cmp+b
o
ptim
i
za
t
ion
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
e
n: fix ~ operator implem
e
n
t
ation
commit
|
commitdiff
|
tree
2011-03-27
A
li Gholami Rudi
ncc: dereferenc
e
function poin
t
er
s
l
ike any other varia
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami R
u
di
gen: don't remove the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't let o_cast(
)
chan
g
e dere
f
erenced type
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Ghol
a
mi
R
u
di
ncc:
use tok_j
m
p() in
s
tead
o
f
tok
_
(
s
ee
|
g
et)() in enum_c
r
eate(
)
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rud
i
gen: handle large
offsets
f
or str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
Rudi
gen: re
p
la
c
e TMP
_
R
EG*
macros with reg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Ru
d
i
gen: change
o_nogen()/o_dogen(
)
to be recursiv
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholam
i
Rudi
ge
n
:
don't g
e
nerate excess jumps fo
r
the last
return
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami Rudi
gen:
d
on't add dupl
i
cate
data to number p
o
ol
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call tm
p
_t
o
() in for l
o
ading rh
s
in o_assing
(
)
commit
|
commitdiff
|
tree
2011-03-20
A
li
Ghol
a
mi Rudi
gen: ignore O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Ghol
a
m
i Rudi
g
e
n: fix sig
n
ed divisi
o
n
t
o
n
egate the
remai
n
der
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: merge
decrement and
check i
n
i_m
e
m
cpy() and i_memset(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: don'
t
save
v
ariable registers
be
f
ore ca
l
ls
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
g
en: add soft
w
are div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami Rudi
ncc: set O_S
I
GN for most bi
n
ary o
p
erations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: dere
f
erence
t
h
e
n
ot
ex
p
ression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
ud
i
pe
r
f
o
rm signed o
p
erations
i
f O_SIGNED b
i
t is set
commit
|
commitdiff
|
tree
next