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: handle sizeof x + 2
2011-05-19
Ali Gh
o
lami Rudi
nc
c
: handle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
A
l
i Gh
o
la
m
i Rudi
ncc: m
a
k
e
sure t->addr =
=
0 b
e
f
o
r
e
calling o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami
R
udi
ncc:
i
gno
r
e
the semicolon af
t
er do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gho
l
ami Rud
i
ncc:
s
witch default lab
e
ls whe
n
not appe
a
ri
n
g at
t
he end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rud
i
ncc: op
a
ssig
n
s
hould us
e
the time
of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc:
m
ove nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
nc
c
:
a
lways initialize outpu
t
filen
a
me
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
README: ign
o
red ke
y
w
o
r
d
s are now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami R
u
di
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami R
u
di
ncc: handle extern
function dec
l
arations i
n
side functions
commit
|
commitdiff
|
tree
2011-05-06
Ali
Gholami Rudi
n
c
c: h
a
nd
l
e extern
v
a
r
iable dec
l
arations insi
d
e func
t
ions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: move ma
c
ros like
__ST
D
C__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghol
a
m
i
Rudi
tok: handl
e
// com
m
ents
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc
:
ig
n
ore th
e
keywords neatcc doesn't care
a
bout
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami
R
udi
gen: re
s
et la
s
t_cmp in
i_
p
rolog
(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
ola
m
i Rudi
gen
:
back-port cmp+bcc optimizatio
n
again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: m
o
ve opcodes to arch
sectio
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
l
ami
R
u
di
gen: rename FOR
K
_REG
to R
E
G_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
gen
:
pass only O_* constants
to
i
_*() fu
n
ctions
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i Rudi
gen: han
d
le sym+off fun
c
tion
c
al
l
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi R
u
di
gen: move architecture-sp
e
cific f
u
nctions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gholami Rudi
gen: use i_set()
in
i_lno
t
()
commit
|
commitdiff
|
tree
2011-04-01
A
li Gh
o
lami Rudi
ge
n
:
p
a
ss the numb
e
r of a
r
gumen
t
s to o
_
func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rud
i
gen: encode 0xf0000000 as an immediat
e
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
m
i Rudi
g
en: swap the immediate if n
e
eded for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: encod
e
cmp+immediate instructio
n
s
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
Rudi
gen: put the
i
mm
e
dia
t
e in the
o
pcode if p
o
s
sibl
e
commit
|
commitdiff
|
tree
2011-03-30
Ali
Ghol
a
m
i
Rudi
gen: remove cmp+br
a
nch optimization; moved
to opt bran
c
h
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
hola
m
i
R
u
di
cpp: handle fun
c
tion ma
c
ros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
gen: rena
m
e dat_bss() and dat_d
a
t() to b
e
gin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
ami Rudi
g
e
n: group function
s
in ge
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
en: reset last_set aft
e
r
cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
e
n: fi
x
~ oper
a
tor im
p
lement
a
tion
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc:
derefer
e
nce func
t
ion
pointers
l
i
ke an
y
oth
e
r variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ge
n
: d
o
n't remove the
l
ast r
e
turn
j
ump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen
:
d
o
n
'
t let o_cast()
c
hange d
e
referenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc:
use tok_jmp() inst
e
ad of t
o
k
_(see|get)(
)
in enum_crea
t
e()
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami Rudi
gen: handle large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen: replace TMP_REG* macros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: change o_nogen()/o_dogen() to
b
e recurs
i
ve
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rudi
gen:
don't generat
e
excess jumps fo
r
the last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
ami R
u
di
ge
n
:
don't add duplicat
e
data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami Ru
d
i
gen: call
tmp
_
t
o(
)
in for
l
oa
d
ing rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghol
a
mi Rudi
gen: ignore O_SIGNED when che
c
king the o
p
c
o
de
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
h
olam
i
Rudi
ge
n
:
fix signed div
i
sion
t
o
negate the r
e
maind
e
r
commit
|
commitdiff
|
tree
2011-03-16
A
l
i G
h
olami Rudi
gen: merge decrement and check in
i
_memcpy
(
) and i_m
e
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
R
u
di
g
e
n
: d
o
n't
sa
v
e variable registers before
c
alls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ge
n
:
a
dd software
d
i
v
/
m
o
d
implemen
t
ation
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi
Rudi
ncc: se
t
O_SI
G
N for most binary operation
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
ncc: dereference the not exp
r
ession o
f
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
pe
r
form signed op
e
ratio
n
s
i
f
O_SIGNED
bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
cpp: define __
a
rm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
ncc: d
o
n't
cas
t
t
h
e
return value for
vo
i
d func
t
ions
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Rudi
ge
n
: more c
o
mpact
v
er
s
ion of me
m
cpy
(
) and mems
e
t()
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holam
i
Rudi
ge
n
: don't o
u
tput relocations when o_
n
ogen() is call
e
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
n
e
atcc arm
p
ort
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami R
u
di
clean
up
t
h
e
interface between ncc
.
c, gen
.
c
and ou
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami
R
udi
n
pp:
r
emove
commen
t
s after pre
p
r
oc
e
ss
i
ng
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
h
o
lami Rud
i
cpp: don't r
e
move non-mac
r
o number si
g
ns
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami
Rudi
npp:
allow using n
e
atcc
'
s preprocess
o
r
as
a
standa
l
on
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gho
l
ami Rud
i
cpp:
don't skip non-eol macro
backslashes
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami Rudi
gen: fix op_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: use
better na
m
e
s
f
or opcode
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: defi
n
e __i386__;
_
_x86_64__ is no lon
g
er supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghol
a
mi Rudi
g
en: load the
fi
r
s
t
tmp before calling
T
M
P_
R
EG2()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gholami
R
u
di
add
README
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gholami Ru
d
i
n
cc: fix name->name str
i
n
i
tializer
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
holami Rudi
allow extern array declara
t
ions
without size
commit
|
commitdiff
|
tree
2010-07-29
Ali G
h
o
l
a
mi Rudi
cpp: includ
e
s
t
d
d
ef
.
h
f
or using offsetof
(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok: parse upperc
a
se hex n
u
m
bers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: fix setti
n
g F_INIT for
each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp: handle nested macro ca
l
l
s
like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Ru
d
i
tok:
d
on't go be
y
ond buf len
f
or
3
-char
t
okens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gho
l
a
m
i Rudi
tab
.
h: use t
h
e
s
tandard offset
o
f()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami R
u
di
ncc: f
i
x cal
l
i
n
g
t
s_pop()
prem
a
t
urely in opass
i
g
n
()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rud
i
gen: ignore
the sign of the secon
d
ope
r
and i
n
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Ghol
a
mi Rudi
n
cc: fix
& and * o
n
f
u
ncti
o
ns
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami
Rudi
gen: don't ove
r
w
r
ite pus
h
ed ebx, esi
a
nd
e
di
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rudi
gen: chang
e
stack
a
l
i
gnment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami R
u
di
nc
c
: don
'
t change opera
n
d orde
r
f
o
r const op
s
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gho
l
ami Ru
d
i
gen
:
only per
f
orm cons
t
op for
a
ddresses
when a
d
din
g
commit
|
commitdiff
|
tree
2010-07-08
Ali Ghol
a
mi Rudi
gen: zeroi
n
g e
a
x does
n
't
seem
n
ecessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rudi
n
cc: fix ++s for po
i
nters
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rudi
ncc:
fix functi
o
n pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi Rudi
g
en:
remove t
h
e u
n
u
s
e
d c_op(
)
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Rudi
gen
:
use tmp
-
>o
f
f
for loca
l
s too
commit
|
commitdiff
|
tree
2010-06-28
Ali Ghol
a
mi Rudi
p
o
rt ne
a
tcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen
:
functions
for
performing
o
pti
m
i
z
ed ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gho
l
ami Rud
i
gen
:
fix two-byte
o
pcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use
an i
n
t for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami R
u
di
replace
o
_
*() functions with
o_bop()
a
nd o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Gholami Rud
i
add spec
i
a
l
ized i
n
c
/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
gen: let a
l
l
g
rps
b
e
used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
out:
don'
t
n
eed MAXSECS
a
n
y
more
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Rudi
tab
:
let table size be H
A
SHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
out: m
e
rge all secti
o
n
s i
n
to on
e
t
e
x
t
section
commit
|
commitdiff
|
tree
2010-06-20
Al
i
G
holam
i
Rudi
cpp: reset arg cou
n
t on macro rede
f
inition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
o
u
t:
m
a
k
e ne
a
tc
c
work wit
h
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: hand
l
e char argum
e
n
t
s
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Ru
d
i
ncc: a
l
i
g
n structs bas
e
d
on the first fi
e
l
d
commit
|
commitdiff
|
tree
next