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: define __i386__ for x86 builds
2011-11-08
Ali Gholami Rudi
ncc: define __i386__ for x86
b
u
i
lds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rud
i
merge
the
x86 port to m
a
s
ter branc
h
commit
|
commitdiff
|
tree
2011-10-17
Ali Gho
l
ami Rudi
nc
c
:
be
t
te
r
char array initial
i
zation
commit
|
commitdiff
|
tree
2011-10-17
Ali Ghol
a
mi Rud
i
out: assure 8-byte al
i
gnment of
data a
n
d bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gh
o
l
ami Rudi
tab: fi
x
tab_del
(
);
o
therwis
e
#undef won'
t
work
commit
|
commitdiff
|
tree
2011-06-05
Ali
Ghol
a
mi Rudi
ncc: call ts_de()
in ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
A
l
i Gholami R
u
d
i
ncc
:
handle switch stmt where
d
e
f
ault label appe
a
rs
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami
R
udi
ncc:
d
on't over
w
rite glob
a
l names by sta
t
ic functio
n
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i
Gholami Rudi
cpp: fix hand
l
ing comment
s
a
nd strings inside macros
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gh
o
lami
Rudi
ncc: handle empty sta
t
i
c initializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
ami
R
u
di
cpp: ignore comments i
n
side string
m
acros
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Gholami Rudi
neatcc: add
a
ncc invocati
o
n
script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
more ve
r
b
o
se error messages
for m
i
s
s
in
g
file
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
cpp: don't searc
h
/u
s
r/inc
l
ude f
o
r
h
e
ade
r
s by default
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
ho
l
ami Rud
i
cpp: merge cur+
+
's in rea
d
arg()
commit
|
commitdiff
|
tree
2011-05-22
A
l
i Gholami
Rudi
gen: fix reg_fortmp() inden
t
atio
n
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami
Rudi
n
cc: handle overlapping
c
ond
i
tional expr
e
ssions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rud
i
ncc: handle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
nc
c
: m
a
ke
sure t->addr == 0 be
f
ore calli
n
g
o
_
popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali
Gholami Rudi
ncc: ignore
the
s
emicol
o
n aft
e
r do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
ncc: swit
c
h default labels when not app
e
aring at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
h
olami Rudi
ncc: opassign
should use the
tim
e
o
f l
h
s
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami R
u
di
ncc:
move no
g
en
to nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
ncc
:
always initializ
e
o
u
t
p
u
t
filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
R
E
A
D
ME: ignored
keywords are now
b
u
i
l
t
i
n
to
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
Gh
o
lami Rudi
ncc: sup
p
ort -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami R
u
di
ncc: handle
extern funct
i
on declarations i
n
side fu
n
ctions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami R
u
d
i
nc
c
: handl
e
extern variable
declarations
inside funct
i
ons
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc
:
move macros like __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholam
i
Rudi
tok: handle // c
o
mments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami R
u
d
i
ncc: ignore the ke
y
words
n
eatcc
doesn'
t
care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Ru
d
i
gen: reset last_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: ba
c
k-port cmp+bcc optimization
a
gain
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen: move opcode
s
to arc
h
section
commit
|
commitdiff
|
tree
2011-04-29
A
li
Ghol
a
mi
R
udi
gen: rename FORK_REG to R
E
G_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami Rudi
gen: p
a
s
s only O_* constants to i_*()
fu
n
ctions
commit
|
commitdiff
|
tree
2011-04-29
A
li Ghol
a
m
i Rudi
gen: h
a
n
dl
e
sym
+
off function c
a
lls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
en
:
move architecture-specif
i
c functions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Gholami Rudi
gen:
u
s
e
i_set
(
) i
n
i_ln
o
t()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami
R
udi
gen: pass the number
o
f arguments to
o
_fun
c
_beg(
)
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Ghola
m
i
Rudi
ge
n
:
e
ncode 0
x
f0000000 as an immedia
t
e
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
gen: swap the immed
i
ate if needed for == and
!
=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
ud
i
gen: encode cm
p
+i
m
mediate
instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
o
lami Rudi
ge
n
:
pu
t
the immediate
i
n th
e
opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali
Gholami Ru
d
i
g
e
n: remove
c
mp+branch optimi
z
ation; move
d
to opt b
r
anch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rud
i
cpp: hand
l
e functio
n
ma
c
ros with no
a
rgumen
t
s
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
g
e
n:
r
ename d
a
t_bss(
)
a
nd dat_
d
at() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
gen: group fu
n
ctions
i
n
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
u
d
i
gen
:
reset
l
ast_set after cmp
+
b optimization
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholami Rudi
gen: fix ~ o
p
erator im
p
lem
e
ntation
commit
|
commitdiff
|
tree
2011-03-27
A
li
G
holami R
u
di
ncc: dereference
f
u
nction
pointers like any other vari
a
bles
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't remove the las
t
return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i Rudi
gen
:
don't le
t
o_cast() cha
n
ge derefe
r
enced
ty
p
e
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
ami R
u
di
ncc: u
s
e tok_jmp
(
) instead of
to
k
_(see|get)() in enu
m
_create()
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
gen: h
a
n
d
le lar
g
e offsets for
s
t
r
commit
|
commitdiff
|
tree
2011-03-25
Ali
Ghola
m
i Rudi
gen: repla
c
e
TMP_REG* macro
s
with reg_fo
r
tmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen:
c
h
a
nge o
_
nogen()/o_d
o
gen() to be
recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't g
e
nerate excess jumps f
o
r the la
s
t return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
a
m
i Ru
d
i
g
en: don't
a
dd duplicate d
a
ta to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Ru
d
i
gen: call tmp_to()
i
n for loading
rhs
i
n o_a
s
s
i
ng()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen:
i
gnore
O_SIGNED when
c
hec
k
ing
t
he opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali G
h
olami Rudi
g
e
n: fix signed division to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gh
o
lami Rudi
gen:
merge decrement an
d
che
c
k in i_memcpy() and i_mem
s
et()
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholami Rudi
g
en:
d
o
n
'
t
s
ave va
r
iabl
e
re
g
is
t
ers befo
r
e
calls
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
gen: add softwar
e
div/mo
d
implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami
R
udi
ncc: set O_SIG
N
for most binary
o
perations
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gho
l
ami Rudi
ncc: d
e
reference
the not expression o
f
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami
Rudi
perform signed operat
i
ons
i
f O
_
SIGNED
bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
cpp: define __arm
_
_
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholam
i
Rudi
nc
c
: don't ca
s
t the return va
l
ue f
o
r v
o
id function
s
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ge
n
: mor
e
compact ve
r
sion of memcpy()
and
memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: don't output re
l
ocations when o_nogen()
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali
Gholami Rudi
neatcc a
r
m port
commit
|
commitdiff
|
tree
2011-03-08
A
l
i
Gholami Rudi
c
l
ean u
p
the inte
r
fa
c
e b
e
twee
n
ncc
.
c, ge
n
.
c
and
o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami
Rudi
npp: remove comments after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gho
l
a
m
i
R
udi
cpp
:
d
on't
remove non-m
a
cr
o
number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: allo
w
u
s
ing neatcc's
prep
r
oce
s
sor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami
Rudi
cpp:
don't skip non-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holam
i
R
u
di
g
e
n
:
fi
x
op_r
s
(
)
opt
i
mization fu
n
ctio
n
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: us
e
bett
e
r na
m
es for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
c
p
p: define __i
3
86
_
_; __x86
_
64__ is no
longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami
R
u
d
i
gen: load the fi
r
st tmp befor
e
calling TMP_R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
Ali
Gholami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali
Gh
o
l
ami Rudi
ncc:
f
i
x
name
-
>
name s
t
r initialize
r
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rud
i
allo
w
e
x
tern array dec
l
arati
o
n
s
withou
t
size
commit
|
commitdiff
|
tree
2010-07-29
Ali
G
hola
m
i Rudi
c
p
p: incl
u
de
std
d
ef
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Gholami Rudi
tok: parse
u
pp
e
r
c
ase he
x
num
b
ers
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Gholami R
u
di
ncc:
fix setting F_INIT for each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami R
u
di
cpp: handle neste
d
macro calls like M
(
M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami
Rudi
tok: don't go beyond b
u
f len for 3
-
char to
k
e
n
s
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holam
i
Rudi
t
ab
.
h: use the standard offseto
f
()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olami
R
udi
ncc:
fix calling
t
s_p
o
p() p
r
ematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
Rudi
gen: ignor
e
the s
i
g
n
o
f
the sec
o
nd operand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali G
h
olami Rudi
n
c
c: fix & and * on function
s
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gh
o
lami Rudi
gen:
don't
o
verwrite pushed ebx,
e
si and
e
di
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
gen:
c
hange stack a
l
ignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rudi
n
cc:
don't
c
hange operand o
r
d
er for
con
s
t ops
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami Rudi
gen
:
only
p
erform const
op for a
d
dresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
Gholami
Rud
i
gen:
z
e
r
o
ing eax doesn't
s
eem
n
ecessar
y
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
G
h
o
lami R
u
d
i
n
c
c: fi
x
++
s
f
o
r poin
t
ers
commit
|
commitdiff
|
tree
next