repo.or.cz
/
neatcc.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
Ali Ghol
a
mi Rud
i
neatcc:
a
dd a ncc invocation scri
p
t
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gholami Rudi
more ver
b
ose
e
rror messages for missing files
commit
|
commitdiff
|
tree
2011-05-24
A
li Gholami Rudi
cpp
:
d
on't search /usr/in
c
l
u
de for
he
a
der
s
by de
f
ault
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
cpp: merge c
u
r++'s in
r
e
adarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
gen: fix reg_fortmp() inden
t
ation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: ha
n
dle overlapping c
o
nditional
e
xpress
i
ons
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami R
u
d
i
ncc: handle
sizeof x
+
2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gh
o
lami Rudi
nc
c
: make sure t->
a
d
d
r == 0
b
efore cal
l
ing o_
p
op
n
um(
)
commit
|
commitdiff
|
tree
2011-05-11
Ali Gh
o
lami R
u
di
ncc:
ig
n
ore the semi
c
olon after do-while
commit
|
commitdiff
|
tree
2011-05-09
Al
i
Ghola
m
i Rudi
ncc: swi
t
ch default label
s
w
h
en not
a
ppearing at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: opassign s
h
ould use the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc
:
move n
o
gen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i Rudi
n
cc:
a
lways i
n
itial
i
ze output filename
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gh
o
lami R
u
d
i
README: ignore
d
keywo
r
ds are now
b
uilt into nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami
R
udi
ncc
:
sup
p
ort -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: handl
e
extern
function
d
ecl
a
rati
o
n
s
inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali
Gholami R
u
d
i
nc
c
:
handle extern variab
l
e
d
eclar
a
tions inside
functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
nc
c
:
mo
v
e macros like __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Ghol
a
m
i
Rudi
t
ok: handle
/
/ co
m
ments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rud
i
ncc: ignor
e
th
e
keywords neatcc doe
s
n
't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali G
h
olami Rudi
gen: re
s
et last_
c
mp
in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen: b
a
ck-po
r
t cmp+bcc
opt
i
m
i
zation again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move opcodes
t
o
arch secti
o
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: rename
F
ORK_REG
t
o
RE
G
_F
O
RK
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami
R
udi
gen: pass only O_* constants to i_*() func
t
ions
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami Rudi
gen:
h
andle sym+off fun
c
t
ion c
a
lls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
gen:
mo
v
e architecture-spe
c
ific f
u
nctions to
t
he 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
A
l
i
Gholami Rud
i
gen: pass the number of argum
e
nts to o_fun
c
_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami Rudi
gen: encode 0xf0000000 as a
n
immedia
t
e
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
gen: swap
th
e
i
m
m
e
diate if
needed f
o
r == a
n
d
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
e
ncod
e
cmp
+
i
m
med
i
a
t
e
i
nstruct
i
ons
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
gen: p
u
t
t
he immedia
t
e
i
n
the opcode i
f
pos
s
ible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen: remove cmp
+
branch optimization; m
o
v
e
d
t
o
opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali
Gholami Rudi
cpp: ha
n
dle func
t
i
o
n macros
w
it
h
no
arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rudi
gen:
r
e
name dat_bss() and dat_da
t
(
)
to
beg
i
n wit
h
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
group functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
gen: re
s
et last_set after cmp+b op
t
imization
commit
|
commitdiff
|
tree
2011-03-28
Ali
Ghola
m
i Rud
i
ge
n
: f
i
x ~ o
p
erator impl
e
m
e
n
tat
i
on
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Rudi
nc
c
: derefer
e
nc
e
f
unc
t
ion pointe
r
s l
i
ke any other varia
b
les
commit
|
commitdiff
|
tree
2011-03-27
A
l
i
G
ho
l
ami
R
udi
g
e
n: don't
r
emove the last return jump
commit
|
commitdiff
|
tree
2011-03-27
A
li Ghola
m
i Rudi
gen
:
don'
t
let o_cast() change dereferenced
t
y
p
e
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami Rudi
n
cc: use
t
ok_jm
p
() instead
o
f t
o
k_(see|
g
et)() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami Ru
d
i
gen: ha
n
dl
e
large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami Rudi
g
e
n: repla
c
e
T
MP_REG* m
a
cros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n
: change
o
_no
g
en()/o_dogen() to be
r
ecursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: d
o
n't generate excess jumps for t
h
e
last return
commit
|
commitdiff
|
tree
2011-03-23
A
li
G
holami Rudi
gen:
d
o
n
't a
d
d
d
uplic
a
te dat
a
to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholam
i
Rudi
gen: call tmp_
t
o
()
in for
l
oa
d
ing rhs in o
_
ass
i
ng()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami
Rudi
g
en
:
ignore O_SIGNED when
ch
e
c
k
i
ng the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami R
u
di
g
e
n
: fix signed division to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali
Ghola
m
i Rudi
gen: merge decreme
n
t a
n
d
c
heck in i_memcpy() and i
_
me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
g
e
n
: don
'
t save variable re
g
i
s
ters before ca
l
l
s
commit
|
commitdiff
|
tree
2011-03-15
A
li Gh
o
lami R
u
di
gen:
a
dd software div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
ncc: set O_SIGN for most bin
a
ry operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
ncc: dereference
t
h
e
n
ot expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform si
g
ned oper
a
tions if O_SIGNED bit is s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: d
e
fine
__arm__
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
ncc: don't
c
a
st the
return value fo
r
v
oid functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi Rudi
g
en: more compact version of mem
c
p
y()
and
m
ems
e
t()
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rud
i
gen:
d
on't
o
u
t
p
ut rel
o
c
atio
n
s wh
e
n
o
_no
g
en()
is called
commit
|
commitdiff
|
tree
2011-03-13
Al
i
Ghol
a
mi Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rud
i
c
l
ean up the interface
b
etween ncc
.
c
,
gen
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
R
udi
npp:
remove com
m
e
n
ts after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gh
o
lam
i
Rudi
cpp: don't
remove n
o
n-macr
o
number sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami Rudi
npp: allow
u
si
n
g
ne
a
tcc's pr
e
processor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gho
l
ami Rudi
cpp: do
n
'
t
s
kip non-e
o
l
macro
back
s
lashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gho
l
am
i
Rudi
gen:
fix op_
r
s
(
) optimization function
commit
|
commitdiff
|
tree
2010-12-18
A
li G
h
olami Rudi
ge
n
:
use
b
ett
e
r na
m
e
s
for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: d
e
fin
e
__i386__; __x86
_
6
4__ is no longer
suppor
t
ed
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
ge
n
: load the first tmp
b
e
fore c
a
l
ling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
l
i Ghol
a
mi
R
u
di
add
README
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghol
a
mi Rudi
ncc: fix n
a
m
e
->na
m
e
str initia
l
i
z
er
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
lami Rud
i
allow extern
a
rray declarations without size
commit
|
commitdiff
|
tree
2010-07-29
A
l
i Gholami Rudi
c
pp: include std
d
ef
.
h for
u
sin
g
offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Al
i
Gh
o
lami R
u
di
tok: pa
r
se
u
p
perc
a
se hex nu
m
ber
s
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami R
u
di
n
c
c: fix setting
F_INIT f
o
r each d
e
f
ined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
m
i
Rudi
cpp: handle nested macro cal
l
s like
M
(
M
(
1))
commit
|
commitdiff
|
tree
2010-07-14
A
li Ghol
a
mi Rudi
to
k
: do
n
't go b
e
yond buf le
n
for 3-ch
a
r tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
o
l
ami
R
udi
tab
.
h
:
u
se t
h
e
stan
d
a
r
d offsetof(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
Rudi
ncc:
f
i
x callin
g
ts_
p
op() prematurely in opa
s
sign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
ge
n
: ignor
e
the sign of the sec
o
nd operand in / and
%
commit
|
commitdiff
|
tree
2010-07-10
A
li G
h
ol
a
mi Rudi
n
c
c:
f
i
x
& a
n
d * on f
u
nctions
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami
Rudi
gen: don't overwrite
p
ushed ebx,
e
si
a
nd edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i Rudi
gen: chan
g
e stack alignm
e
nt
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
Ghol
a
mi Rudi
ncc: do
n
't
change
o
peran
d
order
for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
hola
m
i
Rudi
ge
n
: on
l
y perform const
op
for addresses wh
e
n add
i
ng
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen: zeroing ea
x
doesn't
s
eem n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Rudi
ncc: f
i
x ++s fo
r
point
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Ali
Ghol
a
mi R
u
di
n
c
c
: fix function
p
ointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
o
lami R
u
di
gen:
r
emov
e
the
unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami R
u
di
ge
n
: use
t
m
p->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Ghola
m
i
Rud
i
port neatcc to x8
6
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Ru
d
i
gen: functions f
o
r performing
op
t
imi
z
ed
o
p
s
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Ru
d
i
gen: f
i
x
two-byte opcode
bi
t
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
gen:
u
se an int for operator
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholam
i
Rud
i
r
e
place o_*(
)
f
u
nctions
with o_bop() a
n
d
o_uop(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add specialize
d
inc/
d
ec
operati
o
ns
commit
|
commitdiff
|
tree
2010-06-21
A
l
i G
h
olami R
u
di
g
e
n:
let al
l
grps
b
e used
a
s
byte
r
egisters
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
out:
d
on't need
M
A
XSECS a
n
ymo
r
e
commit
|
commitdiff
|
tree
next