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
extract architecture independent gen.c
2012-01-06
Ali
G
holami Rudi
ext
r
act archite
c
ture independent gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
A
l
i Gholam
i
R
u
di
experi
m
ental risc
-
like x86_64 port of n
e
atcc
commit
|
commitdiff
|
tree
2011-12-23
Ali Gholami Rudi
ncc: fix handling fun
c
tion
p
ointer ty
p
es without a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Ghol
a
mi
Rudi
gen: complain if
M
AXJMPS is reached
commit
|
commitdiff
|
tree
2011-12-09
A
l
i Gholami Rudi
gen: si
m
plify
b
ranc
h
in
s
tru
c
tions by removing o_fil
l
jmp()
commit
|
commitdiff
|
tree
2011-12-08
Al
i
Gh
o
lami Rudi
ncc: support k
&
r
s
tyle f
u
nctio
n
defin
i
t
i
o
ns
commit
|
commitdiff
|
tree
2011-12-08
Al
i
Gholami
Rudi
out: u
s
e rel
.
* na
m
e for
relocation
s
ections
o
n x
8
6
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali G
h
olami Rud
i
ncc
:
support (expr,
expr) expr
e
ssion
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Ru
d
i
cpp
:
f
i
x evaluatin
g
inte
g
er const
a
nts
commit
|
commitdiff
|
tree
2011-11-10
Ali Gholami Rudi
out: add a wor
k
around for bad linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gh
o
l
ami Rudi
Ma
k
efile: default to x86 buil
d
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholam
i
R
udi
n
c
c: d
e
fine __i386
_
_
f
or x
8
6
b
uilds
commit
|
commitdiff
|
tree
2011-11-08
Ali Ghola
m
i
R
udi
m
e
rge
t
h
e
x86 po
r
t to m
a
ster
bra
n
ch
commit
|
commitdiff
|
tree
2011-10-17
Ali
G
h
olami Rud
i
ncc:
better c
h
ar a
r
ray initial
i
z
a
t
i
on
commit
|
commitdiff
|
tree
2011-10-17
Al
i
Ghol
a
mi
R
u
di
out: assure
8
-byte alignm
e
nt of d
a
ta an
d
bss
s
ection
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami
R
udi
tab: fix
tab
_
d
e
l(
)
; otherwise #undef won't wor
k
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rudi
ncc: call
t
s_de() i
n
t
s
_
pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali G
h
olami Rudi
ncc: handle
s
witch
st
m
t where defa
u
lt label appear
s
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali
G
holami Rudi
n
cc: d
o
n't ov
e
rw
r
i
t
e global
nam
e
s by
stati
c
function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
li Gholami Rudi
c
p
p:
f
ix handlin
g
c
o
mment
s
and strin
g
s insi
d
e m
a
cros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
ami Rudi
n
c
c: handle
empty static ini
t
ializers
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holami
R
u
d
i
cpp: ignor
e
commen
t
s i
n
side str
i
n
g macros
commit
|
commitdiff
|
tree
2011-05-24
A
li Gholami
Rudi
neatcc: ad
d
a
ncc
i
nvo
c
a
tion scri
p
t
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Gholami
R
udi
more verbose e
r
ror messages for miss
i
ng f
i
l
es
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
o
l
a
m
i Rudi
c
p
p: don't searc
h
/
u
s
r
/
i
n
c
l
ude f
o
r headers by de
f
a
ult
commit
|
commitdiff
|
tree
2011-05-22
A
li
G
hol
a
mi Rudi
c
pp:
m
e
rge cur++'s i
n
re
a
darg
(
)
commit
|
commitdiff
|
tree
2011-05-22
A
l
i
G
hol
a
mi Rudi
gen: fix reg_fortmp
(
)
i
ndentation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami R
u
di
nc
c
: h
a
n
dle ov
e
rlapping
co
n
dition
a
l
e
xpressions
commit
|
commitdiff
|
tree
2011-05-19
Al
i
Gholami Ru
d
i
ncc: handle
s
izeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc: ma
k
e
s
ure t-
>
add
r
== 0 before call
i
ng o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali
G
h
olami Rudi
n
c
c: ignore t
h
e semicol
o
n after do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
ncc: switch default label
s
w
h
en not appear
i
ng at the e
n
d
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: opassign shoul
d
use the time of
l
h
s
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rudi
n
cc: move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami
Rudi
ncc: always
i
nitialize output filen
a
me
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rud
i
README: ignore
d
keyw
o
rds
a
r
e now buil
t
into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
holami
Rudi
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
n
c
c
:
handle extern f
u
n
ction declarati
o
n
s
inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali G
h
olami
Rudi
n
cc: handle
extern variable declarations i
n
side functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
R
udi
ncc: mov
e
macros like __STDC__
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gh
o
la
m
i Rudi
tok: handle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
R
udi
ncc:
i
g
nore the keywords ne
a
t
cc doe
s
n'
t
c
a
r
e about
commit
|
commitdiff
|
tree
2011-05-01
A
l
i Gholami R
u
di
g
e
n: reset last_c
m
p in i_prol
o
g()
commit
|
commitdiff
|
tree
2011-04-29
A
li G
h
olami
R
udi
gen: back-port cmp+b
c
c
optim
i
zation again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Rudi
gen: move opc
o
de
s
to
a
rc
h
s
ecti
o
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
m
i Rudi
gen: rename FORK_REG to
REG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: p
a
ss only O_*
constant
s
t
o
i
_
*() funct
i
ons
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: handle sym
+
of
f
function calls
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami R
u
di
gen: move
architectur
e
-specific
funct
i
ons to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghol
a
mi Rudi
gen
:
use
i
_set() in i
_
lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
g
e
n: pass the number of arguments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: enc
o
de 0
x
f0000000 as an
immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
ho
l
ami Rudi
gen
:
swap
t
h
e
immediate if needed for =
=
and !=
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Ru
d
i
gen:
encode cmp+immedia
t
e in
s
tructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
e
n
:
put
the immediate
i
n the opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali
Gholam
i
R
u
di
gen:
r
emov
e
cm
p
+br
a
nch opti
m
ization; moved to
opt b
r
anch
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi R
u
d
i
cpp:
handle function macro
s
with no argu
m
ents
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Ru
d
i
gen: rename da
t
_bss() a
n
d d
a
t_dat()
t
o
b
e
g
in with o_
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami Rudi
gen: group
functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: reset last_set af
t
er cmp+b opt
i
mization
commit
|
commitdiff
|
tree
2011-03-28
A
li
Gholami Rudi
gen: fix
~ oper
a
tor imple
m
en
t
at
i
on
commit
|
commitdiff
|
tree
2011-03-27
A
l
i
Gholami Rudi
ncc: deref
e
rence functi
o
n
p
ointers like any ot
h
er variables
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Ghola
m
i
Rudi
gen: d
o
n't remov
e
the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
l
ami
Rudi
gen: don't le
t
o
_
cast
(
)
c
ha
n
ge dereferenced ty
p
e
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
ncc: use tok_jmp
(
) inst
e
ad
o
f to
k
_(see|g
e
t
)
() i
n
en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
g
e
n: handle
large
of
f
sets for str
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Ghola
m
i Rudi
g
en: rep
l
ace TMP_REG* macro
s
with r
e
g_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gh
o
lami
Rudi
g
en:
c
hange o_nogen()/o_doge
n
() t
o
b
e
r
ecur
s
ive
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami Rudi
gen: don't gen
e
rate excess jumps for the last
r
eturn
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami
R
ud
i
gen: don't add du
p
licate da
t
a
to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami Rudi
ge
n
: call
t
m
p
_
to() in for loading r
h
s
i
n
o
_
assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami Rud
i
g
e
n: ignore O
_
SIGNED when checkin
g
th
e
o
p
code
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen: fix
s
i
gned divi
s
ion
t
o
n
egate
the remain
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali Gh
o
lami Rudi
g
en: merge
d
ecrement and check in i_memcp
y
(
)
and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami R
u
d
i
gen: don'
t
save variable registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ge
n
: add software
div/mod imp
l
eme
n
t
atio
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: s
e
t O_SIGN for most b
i
n
a
ry op
e
ra
t
i
ons
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: dere
f
erence the not expressi
o
n
of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
ho
l
ami Rudi
p
erform signed operations if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Rudi
cpp: de
f
ine
__a
r
m__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
n
cc: d
o
n't
ca
s
t the return val
u
e for void
fu
n
ctions
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholam
i
Rudi
g
e
n: more comp
a
ct version of memcpy(
)
and memset(
)
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Rudi
ge
n
:
don't outpu
t
relocations when o_nogen() is
called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami
R
udi
ne
a
tcc arm
port
commit
|
commitdiff
|
tree
2011-03-08
Al
i
Gho
l
ami
R
udi
clean up the
i
nterface
b
etween ncc
.
c, ge
n
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
Ru
d
i
npp: remov
e
commen
t
s a
f
ter p
r
e
pro
c
essing
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gholami Rudi
c
pp: do
n
'
t remove non-macro n
u
mber sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
h
o
lami Rudi
npp:
a
l
low using neatcc'
s
preprocess
o
r a
s
a
s
ta
n
dalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
G
h
o
lami Rud
i
cpp:
d
o
n't skip
n
o
n
-eo
l
macro
backs
l
ash
e
s
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gholami Rudi
gen
:
fix op_rs() opti
m
ization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghol
a
m
i
Rudi
gen: use
better
n
ames for opcod
e
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghola
m
i Rudi
c
p
p
:
define __i386__; __x86_
6
4
_
_
i
s
no lo
n
ger
su
p
ported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: lo
a
d the
f
irst tmp befo
r
e calling TMP
_
REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali G
h
olam
i
Rudi
add R
E
AD
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc:
fix name
-
>
n
ame str
in
i
tializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gho
l
ami Rudi
allow extern arr
a
y declarations wit
h
out size
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghola
m
i
R
udi
cpp: include stdd
e
f
.
h for using off
s
eto
f
(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok:
p
arse uppercase hex numb
e
rs
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
ho
l
ami Rudi
ncc: fix setting F_INIT for each
d
efine
d
name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp: handle n
e
s
ted macro calls like M(M(1
)
)
commit
|
commitdiff
|
tree
next