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: switch to the modified bsd license
2012-06-08
Ali
Ghola
m
i
Rudi
ncc: switch to
t
he mod
i
fied bsd l
i
cense
commit
|
commitdiff
|
tree
2012-03-25
Ali Gholami Rudi
cpp
:
ignore
m
acro
s
immedi
a
tely following n
u
mbers
commit
|
commitdiff
|
tree
2012-02-03
Ali Gholami Rudi
tok:
i
gnore "\\\
n
"
commit
|
commitdiff
|
tree
2012-02-02
Ali Gho
l
ami
R
u
d
i
ncc: str
i
ng
liter
a
ls ar
e
arrays
commit
|
commitdiff
|
tree
2012-01-25
Al
i
Gholami Rudi
np
p
: redefine
err()
i
n npp
.
c
commit
|
commitdiff
|
tree
2012-01-25
A
li Gh
o
la
m
i Ru
d
i
Makefile: x86_
6
4 s
h
oul
d
be x86 in the
comment
commit
|
commitdiff
|
tree
2012-01-06
Ali G
h
olami Rudi
extr
a
ct a
r
chit
e
cture i
n
depe
n
dent gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali Gholami Rud
i
experimental ri
s
c
-like
x
86_64 port
o
f
neatcc
commit
|
commitdiff
|
tree
2011-12-23
Ali Ghol
a
mi Rudi
ncc: fix
h
an
d
ling function pointer types witho
u
t a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Ru
d
i
gen: complain
i
f MA
X
J
MPS is rea
c
hed
commit
|
commitdiff
|
tree
2011-12-09
Ali Ghola
m
i Ru
d
i
gen:
simplify
b
ranch
instructions
b
y remov
i
n
g o_filljmp()
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
ncc:
support
k&r sty
l
e function definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali
G
hol
a
mi R
u
di
o
ut: us
e
rel
.
* n
a
m
e
f
o
r
relocation se
c
tio
n
s on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rudi
ncc: suppo
r
t (expr, ex
p
r) e
x
pre
s
sion
commit
|
commitdiff
|
tree
2011-12-07
Ali
G
hola
m
i Rudi
cpp: fi
x
e
valuating integer
c
o
n
stants
commit
|
commitdiff
|
tree
2011-11-10
Ali
Ghol
a
mi Rud
i
out: add a workaround for bad linke
r
s
commit
|
commitdiff
|
tree
2011-11-08
Ali G
h
olami Rudi
Makefi
l
e
:
default
to x86 build
commit
|
commitdiff
|
tree
2011-11-08
Ali Gho
l
a
mi
Rudi
ncc
:
defin
e
__i386__ for x86 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rud
i
merge
t
he x86 por
t
t
o
maste
r
branch
commit
|
commitdiff
|
tree
2011-10-17
Ali
Gholami Rudi
ncc
:
better char array
i
nitialization
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami
R
udi
out
:
assure
8
-
byte ali
g
nm
e
nt of dat
a
and bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali G
h
olami
Ru
d
i
tab:
fix ta
b
_del(); other
w
is
e
#undef won't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Ghola
m
i R
u
di
n
c
c
: call ts_de() in
t
s_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholami
R
udi
ncc
:
handle switc
h
stmt where def
a
ult
label
a
ppears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
ncc: don't ove
r
write g
l
o
b
al names by static
function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
cpp: fix handling comments
a
nd strings
i
n
si
d
e macros
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
hol
a
m
i
Rudi
ncc: hand
l
e empty sta
t
ic initiali
z
ers
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gholam
i
Rudi
cp
p
: ig
n
o
r
e
c
o
m
ments inside s
t
ring m
a
c
r
os
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
Rudi
neatcc: a
d
d
a
ncc invo
c
a
tion script
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
o
l
ami Rudi
more
ve
r
bose
e
rror messages for
mi
s
si
n
g
f
iles
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holami Rudi
cpp:
don't searc
h
/usr/include for headers
by
default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rud
i
cpp: mer
g
e cur++'s
i
n readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
g
e
n: fix reg_fortmp() indentati
o
n
commit
|
commitdiff
|
tree
2011-05-19
Ali Ghola
m
i Rudi
ncc: hand
l
e
overlapping cond
i
tional expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
n
c
c:
handle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
n
c
c
: m
a
ke su
r
e t
-
>addr
== 0 before cal
l
ing o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc: igno
r
e
the semicolon after do-whil
e
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
nc
c
: switch default labels when not ap
p
ea
r
ing at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami R
u
di
n
cc:
o
passign shoul
d
use the
t
ime of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc
:
move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
ncc: always
initiali
z
e output f
i
l
ename
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Ghola
m
i Rudi
R
E
ADME:
ignored keyw
o
rds
are now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc:
support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc
:
handle extern functi
o
n d
e
claratio
n
s ins
i
de functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami
Rudi
ncc:
h
andle extern varia
b
l
e decla
r
ations
i
ns
i
d
e
f
u
nc
t
i
o
ns
commit
|
commitdiff
|
tree
2011-05-04
Ali
Gh
o
lami Rudi
ncc: move macros
li
k
e __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholami Rudi
tok:
handle /
/
comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc:
ignore
the keywords neat
c
c doesn't care about
commit
|
commitdiff
|
tree
2011-05-01
Al
i
Gholami Rudi
g
en
:
r
e
set last_cm
p
in i_prolo
g
()
commit
|
commitdiff
|
tree
2011-04-29
A
li Ghol
a
mi
Rudi
gen: back-port cmp+bcc
o
ptimiz
a
tion aga
i
n
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
gen:
m
ove opcodes to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
ge
n
: rename FOR
K
_REG to REG
_
FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: pass only
O_*
con
s
ta
n
ts t
o
i_*()
f
unctions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
R
udi
ge
n
: handle
sym+off functio
n
calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move architecture-specif
i
c
functio
n
s to t
h
e end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: use i
_
s
et
(
) in i_l
n
ot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: pa
s
s t
h
e number o
f
arguments t
o
o_func
_
b
e
g(
)
commit
|
commitdiff
|
tree
2011-03-31
A
li
Gho
l
ami Rudi
gen: enc
o
de 0xf00
0
00
0
0 as an i
m
mediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: swap the immediate
if needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
en: encod
e
c
mp+
i
mmediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
gen
:
p
u
t th
e
im
m
edia
t
e in the opcode if po
s
sible
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi Rudi
gen: remo
v
e cmp+bran
c
h optimization; mo
v
e
d to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi Rudi
c
p
p: handl
e
f
u
nction
m
a
cros w
i
t
h no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i Rudi
gen: rename dat_bss() and dat_dat() to b
e
gin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen: g
r
oup
fun
c
tions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen
:
reset last_se
t
after
c
m
p+b optimizati
o
n
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholam
i
Rudi
g
e
n
:
fix ~ operat
o
r implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
n
c
c: dereferenc
e
function pointers
l
ike any other
v
aria
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali Gho
l
ami
Rudi
gen
:
don'
t
remove
t
he last retur
n
jum
p
commit
|
commitdiff
|
tree
2011-03-27
A
li Gho
l
ami Rudi
gen:
d
on't let
o
_cast(
)
change
der
e
ferenced type
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami R
u
di
n
cc: us
e
tok_jmp() instead
o
f
tok_(s
e
e|g
e
t)() in e
n
u
m_crea
t
e()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
m
i
Rudi
g
en: handle large
o
ffse
t
s for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghola
m
i
R
u
d
i
gen:
rep
l
ace TMP
_
REG* macros with reg
_
fort
m
p()
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholam
i
Rudi
ge
n
: change o_n
o
gen()/o_dogen()
t
o be recursive
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami Rudi
gen: don't generate exc
e
ss jumps for th
e
last return
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami Ru
d
i
g
e
n: don't
a
dd duplicate data to number po
o
l
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
ola
m
i Ru
d
i
gen: call tmp_to() in fo
r
load
i
ng r
h
s in
o_ass
i
ng()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rud
i
g
en
:
ignor
e
O_SIGNED when checking
t
he
o
pcode
commit
|
commitdiff
|
tree
2011-03-17
Al
i
Gholami Rudi
gen
:
fix signed division to n
e
gate
t
he rem
a
inder
commit
|
commitdiff
|
tree
2011-03-16
Al
i
Gholami Ru
d
i
g
e
n: merge dec
r
ement and
c
heck in i_memcpy
(
)
and i_me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen
:
do
n
't
sav
e
variable registers
b
efore ca
l
l
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lam
i
Ru
d
i
gen: add softwa
r
e div/mod
i
m
pleme
n
tation
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
n
c
c: set O_SIGN
for most binary operatio
n
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: d
e
r
e
ference the not
e
xpression of ce
x
p
r
s
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
G
holami
R
ud
i
perform
signed ope
r
ations i
f
O
_
SI
G
N
E
D b
i
t is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
cpp: define
__arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
ncc: don'
t
cast the return value for void
f
unction
s
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
G
hola
m
i Rudi
ge
n
:
m
ore compact version
of memcpy() and memse
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rud
i
g
en:
don't output relocations when o_noge
n
()
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali G
h
olami Ru
d
i
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Ru
d
i
clean up the
i
n
t
e
rface betw
e
en
ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami R
u
di
npp
:
remove
c
ommen
t
s af
t
er preproc
e
ssing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
c
p
p: don't remove n
o
n
-
macro
n
u
m
ber
s
igns
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami Rudi
npp:
allow using neatcc's preproce
s
sor
as a
s
tandalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li
Ghol
a
mi Rudi
cpp:
d
o
n't skip no
n
-eol macr
o
backslas
h
es
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gholami R
u
di
gen:
fix o
p
_rs
(
)
o
pt
i
miz
a
t
i
o
n
funct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
ge
n
: use bette
r
names for opco
d
es
commit
|
commitdiff
|
tree
2010-12-11
Al
i
Gholam
i
Rudi
cpp: d
e
fine __i386__; __x8
6
_6
4
__ is
n
o
l
onger sup
p
ort
e
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghola
m
i Rudi
g
en: load the first tmp
be
f
o
r
e
c
alling
T
M
P_RE
G
2()
commit
|
commitdiff
|
tree
2010-09-16
A
li Gh
o
lami Rud
i
ad
d
README
commit
|
commitdiff
|
tree
next