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
neatcc: add a ncc invocation script
2011-05-24
A
l
i
Gholami Rudi
neatcc: add a ncc invocati
o
n s
c
rip
t
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
more verb
o
se er
r
or messag
e
s for m
i
ssing fil
e
s
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gh
o
lami Ru
d
i
cpp: do
n
't search
/usr/inclu
d
e for headers by defa
u
lt
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Ru
d
i
cpp: me
r
ge cur
+
+'s in
readarg()
commit
|
commitdiff
|
tree
2011-05-22
A
l
i
Gholami Rudi
gen
:
f
i
x re
g
_
f
ortmp() indentation
commit
|
commitdiff
|
tree
2011-05-19
A
li Gh
o
lami
R
udi
ncc: handle
o
v
erlapping c
o
nditional expressi
o
ns
commit
|
commitdiff
|
tree
2011-05-19
A
l
i Gholami Rudi
ncc: handle sizeof
x + 2
commit
|
commitdiff
|
tree
2011-05-11
Al
i
G
h
o
lami Rudi
nc
c
: make sure t->addr == 0 b
e
fore calling o_
p
opnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Ru
d
i
n
c
c: igno
r
e the
s
emic
o
lon after do-while
commit
|
commitdiff
|
tree
2011-05-09
A
li Gho
l
a
mi Rudi
nc
c
: switc
h
d
efaul
t
l
a
bels w
h
en not ap
p
e
aring at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: opassign should use the
time of lhs
commit
|
commitdiff
|
tree
2011-05-08
A
li G
h
o
lami Rudi
ncc: move
no
g
en
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
ncc:
always initialize
output filename
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rudi
README: ignor
e
d keywords are now
built
i
nto ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami Rudi
n
c
c: suppor
t
-o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
a
mi Rudi
ncc:
h
andle exte
r
n funct
i
on declarations inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali G
h
olami Rudi
n
c
c
: handle exter
n
variable d
e
clar
a
ti
o
ns i
n
side funct
i
ons
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
olam
i
Rudi
ncc: move macros like
__STD
C
__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghol
a
mi Rudi
to
k
:
handle // commen
t
s
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
olam
i
R
udi
ncc: ignore the keywords neatcc do
e
sn
'
t
c
are about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rudi
gen: re
s
et last_
c
mp in i_
p
r
olog()
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami
R
udi
g
e
n
: back-port cmp+b
c
c optimiz
a
tio
n
again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami Ru
d
i
gen: move opcodes to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i
Rudi
g
e
n: rename FORK_REG to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holam
i
Ru
d
i
gen: pass only O_* constants to
i
_*() func
t
io
n
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
g
e
n: handle
s
ym+o
f
f functio
n
calls
commit
|
commitdiff
|
tree
2011-04-29
A
li
G
h
olami Rudi
g
e
n
:
move arch
i
t
e
cture-speci
f
ic functions to
th
e
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen:
u
se i_set()
in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali G
h
olami Ru
d
i
gen: pass the
numb
e
r
of argu
m
ents to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami R
u
di
g
e
n: encode 0x
f
0
0
0
0
000
a
s an immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gh
o
lami
R
u
d
i
gen
:
swap th
e
i
m
mediate if needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami Rudi
gen: e
n
code cmp+immediate inst
r
uctions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
e
n:
put
t
he immediate
in the opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
am
i
Rudi
g
e
n: r
e
move
c
mp+branch optimiz
a
ti
o
n; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
A
li Gh
o
la
m
i Rudi
cpp: handl
e
function
m
a
c
r
os
with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
gen:
r
ename d
a
t_bss() and
d
at
_
da
t
()
to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
gen: group functions
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
r
e
s
et last_se
t
aft
e
r
cmp
+
b
o
p
t
imizatio
n
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: fix ~ operator
implementa
t
ion
commit
|
commitdiff
|
tree
2011-03-27
Ali
Ghol
a
mi Rudi
ncc: d
e
refer
e
nc
e
fun
c
t
ion pointers
l
ike any
oth
e
r v
a
ria
b
l
e
s
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gh
o
l
ami Rudi
ge
n
: don't remove
t
he last re
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
gen:
d
o
n
'
t
let
o
_cast() change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olam
i
Ru
d
i
nc
c
: use tok_jm
p
() instead of to
k
_(see|get
)
()
in
enu
m
_crea
t
e()
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami
R
udi
gen
:
ha
n
dle
large offsets fo
r
str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
l
a
mi Rudi
gen
:
re
p
lace TMP_
R
E
G
* ma
c
ro
s
wit
h
re
g
_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olami Rudi
gen: change o_noge
n
()/o_dogen() to be r
e
cu
r
s
ive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don
'
t
generate excess jumps
for the las
t
r
eturn
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gh
o
lami Rudi
g
en: don'
t
add duplicate data
t
o number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami Ru
d
i
g
en: call tmp_to() i
n
for l
o
ading rhs in o_assin
g
()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen:
igno
r
e O_SIGNED when chec
k
ing
t
he
o
pcode
commit
|
commitdiff
|
tree
2011-03-17
A
li Gholami Rudi
gen: fix
signed
division to
n
e
g
ate the re
m
ainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholam
i
Ru
d
i
gen: merge decreme
n
t and ch
e
c
k
in
i_m
e
mc
p
y()
and i_
m
emse
t
()
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gh
o
la
m
i Rudi
gen: don't save varia
b
le re
g
i
s
t
e
r
s
before ca
l
ls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
g
e
n:
a
dd software div/m
o
d implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc:
set O_SIGN
f
or m
o
st bi
n
ary o
p
erati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholam
i
Rudi
ncc: dereference the n
o
t expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholam
i
R
udi
perf
o
r
m signed op
e
r
a
t
i
ons if O_SIGNED bit
is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
ho
l
ami Rudi
c
p
p
: define
_
_arm__
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
h
olami
Rudi
nc
c
: do
n
't cast the r
e
turn value
for void fu
n
c
t
i
ons
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
g
e
n:
m
ore
comp
a
ct v
e
rsion of memcpy()
and
m
emset()
commit
|
commitdiff
|
tree
2011-03-14
A
li Gh
o
lami Rudi
gen: don't output relo
c
a
t
i
ons wh
e
n o_nog
e
n() i
s
c
alled
commit
|
commitdiff
|
tree
2011-03-13
A
li Gholami
R
udi
ne
a
tcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gho
l
am
i
R
udi
cl
e
an up the
interface between ncc
.
c, gen
.
c and o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Rudi
npp:
r
emov
e
comments afte
r
pr
e
processin
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
Rudi
cpp:
d
on't r
e
move no
n
-macro number s
i
gns
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Rudi
npp:
a
l
l
o
w
u
sing neat
c
c'
s
prep
r
ocessor
as a st
a
ndalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami R
u
di
cpp: don't skip non-eo
l
macro bac
k
s
l
a
shes
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gholami Rudi
g
e
n
:
f
i
x
o
p
_
r
s
() optimiza
t
ion function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami
Rudi
gen: use better
n
ames for o
p
codes
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghola
m
i Rud
i
c
p
p
: define __
i
386
_
_; __
x
8
6
_64__ is no long
e
r support
e
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami
Rudi
gen: load
t
h
e
first tmp
b
e
fore calling TMP_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
R
udi
ad
d
R
EADM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc
:
fix
n
ame->name
s
tr initi
a
l
i
zer
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
ola
m
i
R
udi
allow extern array declarations
w
ith
o
ut s
i
ze
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: include st
d
def
.
h
for using of
f
se
t
of()
commit
|
commitdiff
|
tree
2010-07-28
Ali G
h
olami
R
udi
t
o
k
: parse upp
e
r
case hex
n
umber
s
commit
|
commitdiff
|
tree
2010-07-25
Ali Ghol
a
mi Rudi
ncc: fix setting F_I
N
IT for
e
a
ch
defin
e
d
name
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gh
o
lami Rudi
c
p
p: handle nested macro cal
l
s
like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
to
k
:
d
on't go beyond buf le
n
for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h: use the standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gholami Rudi
n
c
c: fix cal
l
ing ts_p
o
p() p
r
ematurely in opa
s
sign()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
G
holami Rud
i
gen: ignore the sign of the secon
d
operand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: fix &
a
nd *
o
n functions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Ghola
m
i Rudi
ge
n
:
don't overwrit
e
pushed ebx, esi an
d
edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: ch
a
nge stack a
l
ignment
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
hola
m
i
Rudi
ncc: don't change operand o
r
der for
c
onst ops
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
ol
a
mi
Rudi
gen: only per
f
o
rm const
op for
a
d
d
resses w
h
en adding
commit
|
commitdiff
|
tree
2010-07-08
A
li G
h
olami Rudi
g
e
n: zeroing e
a
x doesn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
h
olami Rudi
ncc:
f
ix +
+
s for poi
n
ters
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i
Rudi
ncc:
f
i
x
fun
c
tio
n
pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
g
en: remove
t
he unu
s
ed c_
o
p()
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
g
en: u
s
e tmp->off for l
o
ca
l
s
too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Ru
d
i
por
t
ne
a
tcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen:
f
unct
i
ons for
performing optimized ops
commit
|
commitdiff
|
tree
2010-06-24
A
li Gh
o
l
a
mi Rudi
g
en: fix two-byte opco
d
e bit
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
gen: use an int for
ope
r
ators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
rep
l
ace o_*() func
t
ions with o_bop() an
d
o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add speciali
z
ed
inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghol
a
mi
Rudi
gen: let a
l
l grps be used as
b
yte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
l
a
mi Rudi
out: don't need MAXS
E
CS anymore
commit
|
commitdiff
|
tree
next