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
cpp: fix handling comments and strings inside macros
2011-05-26
Ali Gholami
R
udi
c
p
p: fi
x
handling commen
t
s and strings inside macr
o
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
ncc: handle emp
t
y
s
tatic in
i
tializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholam
i
R
u
di
cpp: ignore comments
i
nside string m
a
cros
commit
|
commitdiff
|
tree
2011-05-24
A
l
i
Gholami Rudi
n
e
atcc: ad
d
a
n
cc
invoc
a
tion script
commit
|
commitdiff
|
tree
2011-05-24
A
l
i
Gholami Rudi
more verbose er
r
or m
e
ssages for missing files
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gholami Rud
i
cpp
:
don't
s
earch /usr/inc
l
ude for
h
eader
s
by default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gh
o
la
m
i
R
u
d
i
c
p
p
: merge
c
ur
+
+'s in readarg()
commit
|
commitdiff
|
tree
2011-05-22
A
l
i Gholam
i
Rudi
gen:
fix
r
eg_f
o
rtmp()
indentation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: ha
n
dle o
v
erlapping c
o
nditi
o
nal expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami
R
udi
ncc: handle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Al
i
Gho
l
a
m
i
Rudi
ncc: make s
u
r
e
t->
a
ddr == 0
befor
e
calling o_popn
u
m()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gh
o
la
m
i Rudi
ncc: ignor
e
the
semic
o
lon afte
r
d
o
-whi
l
e
commit
|
commitdiff
|
tree
2011-05-09
Ali Ghol
a
mi Rudi
ncc
:
swi
t
ch default labels when not
a
p
p
e
aring at the
e
nd
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: opassign s
h
ould use the time
of lh
s
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami Rudi
ncc:
mo
v
e n
o
gen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Rudi
n
cc
:
always in
i
tial
i
ze output filename
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rud
i
README
:
ignored key
w
ords are now bu
i
lt
i
nto ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
m
i Rudi
ncc: su
p
p
o
rt -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
R
u
di
ncc: handle exte
r
n
f
unction decl
a
ratio
n
s insid
e
functions
commit
|
commitdiff
|
tree
2011-05-06
Ali
G
holami Rudi
ncc: hand
l
e
ex
t
er
n
var
i
able declarations insid
e
functions
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholami R
u
di
ncc
:
move macros like _
_
S
T
D
C
__ t
o
nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
holami Ru
d
i
tok
:
handle
/
/ c
o
mments
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholami Rudi
ncc: ignore th
e
keywords neatcc d
o
e
s
n't care about
commit
|
commitdiff
|
tree
2011-05-01
A
li G
h
o
lami R
u
di
gen: reset last_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
l
ami Rudi
gen: back-port
c
m
p+bc
c
optim
i
z
a
tion a
g
ain
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen:
m
ove opcodes to
a
rch
section
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Rud
i
gen: rename FORK
_
REG to
RE
G
_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: pa
s
s o
n
ly O_* constants to i_*() f
u
nctions
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
hola
m
i
R
udi
gen:
handle sym+
o
f
f
function
c
all
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami Rudi
gen
:
move architect
u
re-specif
i
c functions
t
o the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: u
s
e i_set(
)
in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami
R
udi
gen: p
a
ss t
h
e
numb
e
r of ar
g
uments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
e
n
:
e
ncode
0
xf0000000 as
a
n imme
d
i
ate
commit
|
commitdiff
|
tree
2011-03-31
A
li Ghol
a
mi Rudi
gen: swap the immediate
if needed
for
== an
d
!
=
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gh
o
lami Ru
d
i
gen: encode c
m
p+immediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami
Rudi
ge
n
: put
t
he immediate in the opcode if pos
s
ible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen: remove c
m
p+branch optimizat
i
on;
m
oved t
o
o
pt
branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp: handl
e
fu
n
c
t
i
on macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
gen: re
n
ame dat_bss() and da
t
_
d
at(
)
to
b
egin with
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
ola
m
i Rudi
gen:
g
r
oup functions in
g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
holam
i
R
u
di
gen
:
re
s
et last_set aft
e
r cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
m
i
R
u
d
i
gen: fix ~ op
e
ra
t
or impleme
n
t
a
tion
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami
R
udi
ncc: der
e
f
e
rence fu
n
ction point
e
r
s
like any
other
va
r
iables
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
ho
l
ami Ru
d
i
gen: don't remove the last re
t
urn ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
A
li Gholami Rudi
gen: d
o
n
'
t let o_
c
a
s
t
() chang
e
dereferenced
type
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Gholam
i
R
ud
i
ncc: use tok_jmp() in
s
tead of tok_(see|get)() in
enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
g
e
n: h
a
n
dle l
a
rge offsets for
s
tr
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi Rudi
gen: replace
TMP
_
REG
*
mac
r
o
s
w
ith reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholam
i
Rud
i
gen: ch
a
nge o_nogen()/o
_
dogen() to be recur
s
iv
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholam
i
Rudi
gen
:
d
on't generate excess j
u
mps for t
h
e las
t
return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Ru
d
i
gen: don't ad
d
dupl
i
cate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call t
m
p_to(
)
in
for loading
r
hs in o_assing
(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami
Rudi
gen: ignore O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gh
o
lam
i
Rudi
gen: fix signed div
i
sion to
negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i G
h
olami Rudi
gen: merge dec
r
em
e
nt and check in i_memcpy() and i_me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami Rudi
gen: don't save variab
l
e reg
i
sters before
c
alls
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Ru
d
i
gen: add software div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
ncc: set
O_SI
G
N for
m
ost binary op
e
ration
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
ncc: dereference the n
o
t expressi
o
n of
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform
signed operations if O_SIGNED b
i
t is
s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
ho
l
ami Rudi
cpp:
d
ef
i
ne __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc: don't
c
ast the return value for void fun
c
ti
o
n
s
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rudi
ge
n
: more com
p
act
v
ersi
o
n of
memcpy() and me
m
set()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
gen: don't output rel
o
cations whe
n
o_nogen
(
)
i
s called
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghol
a
mi
Rudi
nea
t
cc a
r
m
port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean up the interface bet
w
een nc
c
.
c,
g
e
n
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i
Ru
d
i
npp: remove com
m
ents after pre
p
roce
s
sing
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gh
o
lami Rudi
cp
p
: don
'
t remove
n
on-macro
n
u
m
ber signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i Rudi
n
p
p: allow using
neatcc's
prep
r
ocessor as a
s
tandalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Ghola
m
i Rudi
cpp: don't skip
n
on-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami Rud
i
gen: f
i
x
o
p_rs
(
) op
t
i
mi
z
ation functio
n
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
hola
m
i
R
udi
ge
n
: use better names for opc
o
des
commit
|
commitdiff
|
tree
2010-12-11
Ali Gho
l
am
i
Rudi
cpp: define __i3
8
6
_
_; __x86_64__ i
s
no lon
g
er supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: load the
f
irs
t
tmp before cal
l
ing TMP_RE
G
2()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Ghol
a
mi
R
udi
add README
commit
|
commitdiff
|
tree
2010-08-13
Al
i
G
h
ol
a
mi Rudi
ncc:
f
i
x name->name str initializ
e
r
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow
exter
n
array declarations without siz
e
commit
|
commitdiff
|
tree
2010-07-29
Al
i
G
hol
a
mi Rud
i
cpp:
in
c
lude std
d
ef
.
h for u
s
in
g
offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Ghol
a
mi Ru
d
i
tok
:
parse upperca
s
e hex numbers
commit
|
commitdiff
|
tree
2010-07-25
A
l
i
G
h
olami Rudi
ncc: fix setting F_INI
T
for
e
a
c
h de
f
ined name
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gh
o
lami Rudi
cpp: handle n
e
sted macro
calls like M
(
M(1)
)
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i
R
u
di
tok
:
don't
go beyond buf le
n
f
o
r
3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholam
i
Rudi
tab
.
h: use the standard offset
o
f()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gholami Rudi
ncc: fix calling ts_
p
op
(
) prem
a
t
urely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olami
R
udi
gen: ig
n
ore th
e
sign of the second o
p
erand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
Gholami Ru
d
i
n
cc:
f
ix
&
and * on
functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: don't
o
verwrite p
u
sh
e
d ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i G
h
olami Rud
i
gen: change stack alignment
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
nc
c
: don't
change operand order for con
s
t ops
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Ru
d
i
g
e
n: only perform
const op for addr
e
sses wh
e
n
ad
d
ing
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
h
o
lami Rudi
g
e
n: zer
o
ing eax d
o
esn't
s
eem necessary
commit
|
commitdiff
|
tree
2010-06-30
A
li Gh
o
lam
i
R
udi
ncc: fix ++s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami
R
udi
nc
c
: f
i
x function po
i
nt
e
r arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
Rudi
gen: remove th
e
unused
c
_op()
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholam
i
Rud
i
gen: us
e
tm
p
->off for
l
ocals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
g
en:
functions for performing optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Ru
d
i
gen: fix tw
o
-by
t
e
opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
h
o
lami Rudi
gen: us
e
an int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali
G
holam
i
Rudi
re
p
lace o_*() functions with o_bo
p
()
and
o_uop(
)
commit
|
commitdiff
|
tree
next