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: support -o out
2011-05-08
A
l
i Gholami
Rudi
ncc:
su
p
po
r
t
-
o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
la
m
i R
u
di
n
c
c
:
handle extern fu
n
ction de
c
larations insi
d
e
f
unctions
commit
|
commitdiff
|
tree
2011-05-06
Ali Ghola
m
i Rudi
n
cc: han
d
le exter
n
variable declaration
s
ins
i
de fun
c
tions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholam
i
Rudi
ncc: mov
e
macros like __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rud
i
tok: handle //
c
omment
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Ru
d
i
ncc: ignore the keywords
n
eatcc doesn't care
a
bout
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Ru
d
i
gen: reset la
s
t
_
cmp in i_p
r
olog()
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
o
l
ami Rudi
gen: back-port cmp+bcc
o
ptimization again
commit
|
commitdiff
|
tree
2011-04-29
A
li G
h
olami
R
udi
gen: m
o
ve op
c
odes to arch section
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gh
o
lami Rudi
g
en: rename
FORK_REG to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
l
a
mi Rudi
gen:
pas
s
only O_* constants to i_*()
f
unctions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: h
a
ndle sym+off f
u
nction calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen
:
mo
v
e a
r
c
h
itecture-specific
f
unctions
t
o the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Ghola
m
i Rudi
ge
n
: use
i_set(
)
i
n
i_ln
o
t()
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gholami Rudi
g
en:
p
a
s
s
th
e
number of argum
e
nts to
o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
li Gh
o
l
a
mi Rudi
gen: en
c
ode
0
x
f00
0
00
0
0 as an immedia
t
e
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami Ru
d
i
gen: swap the immediate if needed for == a
n
d !=
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
ol
a
mi Rudi
gen
:
encod
e
cmp+immediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
en: put th
e
im
m
ediate in
the op
c
ode if p
o
ssi
b
le
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghola
m
i
Rudi
gen: remove cmp+branch
optimiza
t
ion;
m
oved t
o
opt b
r
a
nch
commit
|
commitdiff
|
tree
2011-03-30
A
li Gholami
Rudi
cpp: handle
f
unct
i
on macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: re
n
ame dat_
b
ss() and
d
at_dat(
)
t
o
b
egin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
gr
o
up functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: reset
l
ast_set a
f
ter cmp+b op
t
imization
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Ghola
m
i
Ru
d
i
gen: fix ~
opera
t
or im
p
lementation
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Ru
d
i
ncc: derefer
e
n
ce
function pointers like
a
n
y
ot
h
er v
a
r
iabl
e
s
commit
|
commitdiff
|
tree
2011-03-27
Ali Gho
l
ami Rud
i
gen: don't remo
v
e the l
a
st re
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't le
t
o_cast
(
) change derefe
r
e
nced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
am
i
Rudi
ncc
:
use tok_jm
p
(
)
instead
of tok_(see|get)(
)
in enum_c
r
eate()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen: handle larg
e
o
f
fsets for str
commit
|
commitdiff
|
tree
2011-03-25
Al
i
G
holami Rudi
gen:
r
eplace
T
M
P
_REG*
macros with reg_fo
r
tmp()
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
Ghol
a
mi Rudi
gen:
ch
a
ng
e
o
_no
g
en()/o_dogen
(
)
to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
gen
:
do
n
'
t gene
r
ate excess
j
um
p
s
for the last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
ami
Rudi
gen: don't add duplicate
d
a
t
a to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
g
e
n: call tmp_
t
o() in f
o
r
loa
d
ing rhs in o_assi
n
g()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
lami Rudi
gen: ignor
e
O_SIGNED
w
he
n
checking the op
c
ode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gh
o
l
ami Rudi
g
e
n: fix signed di
v
i
si
o
n to negate
the remai
n
de
r
commit
|
commitdiff
|
tree
2011-03-16
Ali Gho
l
ami Rudi
gen: merge decr
e
ment and check in i
_
me
m
cpy()
a
nd i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholami
Rudi
gen: don't s
a
ve variable
r
egisters befor
e
calls
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
gen: add
s
oftware div/mod imple
m
entatio
n
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Ghol
a
m
i Rudi
ncc: s
e
t O_SIGN fo
r
most b
i
nary op
e
rati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
R
udi
ncc:
dereference
t
he n
o
t
expr
e
s
s
i
o
n of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
perform signed operation
s
i
f O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp:
defi
n
e __arm_
_
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
ncc: do
n
'
t cas
t
the
return value for v
o
id functi
o
ns
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi
R
udi
gen: more compact version of memcpy() an
d
memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lami Rudi
g
en
:
don't output relocations wh
e
n o_no
g
en() is called
commit
|
commitdiff
|
tree
2011-03-13
A
li
G
holami Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali
G
hola
m
i Rudi
clean up the interfac
e
between ncc
.
c, gen
.
c
and
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rudi
npp: remove c
o
mmen
t
s after prep
r
oc
e
ssing
commit
|
commitdiff
|
tree
2011-02-19
Al
i
G
holami Rudi
cpp: don't
remove non-m
a
cro numb
e
r signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghol
a
mi R
u
di
npp: allow using neatcc'
s
prepro
c
essor a
s
a stan
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali G
h
olami Rudi
cpp: don't ski
p
non
-
eo
l
macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami Rud
i
gen
:
f
i
x op
_
r
s
() optimi
z
a
t
ion f
u
nction
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami Rudi
ge
n
: use bette
r
na
m
es for opcodes
commit
|
commitdiff
|
tree
2010-12-11
A
l
i
Gholami Rudi
cpp
:
define __
i
386__;
__x86_64__ is
no longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghola
m
i Rudi
g
e
n: load the first tmp before calling TMP
_
RE
G
2()
commit
|
commitdiff
|
tree
2010-09-16
Ali G
h
olami
Rudi
add
R
E
ADM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gho
l
ami Rudi
ncc: fix na
m
e->name str
i
n
i
tializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rud
i
allow extern ar
r
ay dec
l
arations witho
u
t size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
c
pp:
i
nclude stddef
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali
G
holami R
u
di
t
o
k: p
a
rse upperc
a
se hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Ru
d
i
ncc: fix setti
n
g F_INIT for each
d
ef
i
ned name
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholami Rudi
cpp: handle nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami Rudi
tok: don't go be
y
ond buf
len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
Rudi
tab
.
h: u
s
e t
h
e standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
ncc: fix calling ts_pop() prematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gh
o
l
a
mi Ru
d
i
gen: ignore the
sign
o
f the se
c
o
n
d ope
r
and i
n
/ and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Ghol
a
mi Ru
d
i
ncc: fix & an
d
* on functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
A
li Ghol
a
mi Ru
d
i
gen:
d
on'
t
overwrite
pushed ebx, esi a
n
d ed
i
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami Rudi
gen: change sta
c
k
a
l
ig
n
ment to 4
commit
|
commitdiff
|
tree
2010-07-09
A
li Gh
o
lam
i
Rudi
ncc: don'
t
change oper
a
nd order for con
s
t o
p
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
e
n: on
l
y p
e
rform const op
for addresses when
a
dding
commit
|
commitdiff
|
tree
2010-07-08
A
li Gholami Rudi
gen: zeroing
e
ax doesn
'
t see
m
necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
ncc:
fix ++s fo
r
pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rud
i
ncc: fix
function pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i
R
u
d
i
gen: r
e
move the
unused c_o
p
()
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
h
o
lami Rud
i
gen: use
tmp->o
f
f fo
r
locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholam
i
Rudi
port neatcc to x8
6
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
ami R
u
di
g
e
n: functions for per
f
o
r
ming optimize
d
ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gh
o
lami Rudi
g
e
n: fix two-byte o
p
co
d
e bit
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gholami Ru
d
i
gen: us
e
an int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali
G
h
o
lami Rudi
replace o_*()
f
u
ncti
o
ns w
i
th
o_
b
op(
)
and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Gho
l
ami
Rudi
add specialized inc/dec
o
p
erations
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Ghola
m
i Rudi
g
e
n: le
t
all grps
b
e u
s
ed a
s
b
yte regist
e
rs
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
holami Ru
d
i
out:
d
o
n't need M
A
XSECS
a
nym
o
re
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
tab:
let table size be H
A
S
HITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
am
i
Rudi
out: merg
e
al
l
sections
i
nt
o
o
n
e tex
t
sec
t
ion
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami Rudi
cpp:
reset arg count
on macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Al
i
G
h
olam
i
R
udi
out
:
m
ake neatcc work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: hand
l
e
char argu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
ncc: align struct
s
base
d
on the first fi
e
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
la
m
i
Rudi
mov macro hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
gen:
h
andle unsigne
d
-> long
cast
commit
|
commitdiff
|
tree
2010-06-18
Ali
Ghola
m
i Rudi
cpp
:
s
a
ve
m
ac
r
o
n
ames in a
hash t
a
ble
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
n
cc:
d
ivide (ptr
- ptr) result on
l
y if si
z
e > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
di
gen: us
e
movsxd only when
src i
s
signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
tok: 0x1 should be unsigne
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ge
n
:
f
ix the condition
s
for mo
v
xx operations
commit
|
commitdiff
|
tree
2010-06-18
A
li Ghola
m
i Rudi
ncc: fix g
e
tting i's ty
p
e in ++i
commit
|
commitdiff
|
tree
next