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 evaluating integer constants
2011-12-07
Ali Gholami R
u
d
i
cpp
:
fix evaluating in
t
eger constants
commit
|
commitdiff
|
tree
2011-11-10
Ali Gh
o
lami Rudi
out: add
a workaro
u
nd for
bad l
i
nkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
R
udi
Makefile: default to x86
b
uild
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
n
c
c
: def
i
ne __i3
8
6__ f
o
r
x8
6
builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
merge the
x
86 port
to maste
r
b
r
a
nc
h
commit
|
commitdiff
|
tree
2011-10-17
Al
i
G
h
o
lami Rudi
ncc:
better char
a
r
ray initialization
commit
|
commitdiff
|
tree
2011-10-17
Ali G
h
olami Rudi
out: assur
e
8-b
y
te alig
n
ment of
d
a
ta and bss sectio
n
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami R
u
di
tab: fix tab_de
l
()
;
otherwise #undef won't w
o
rk
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rudi
ncc
:
call
t
s
_de(
)
i
n
ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali G
h
olam
i
Rudi
ncc: handl
e
switch
s
tm
t
w
here
d
efaul
t
l
abel appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
ncc: do
n
't o
v
erwri
t
e globa
l
names
b
y static fu
n
ction
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Al
i
Ghol
a
m
i
Rudi
cpp:
fix h
a
ndl
i
ng comments and strings
i
n
side macros
commit
|
commitdiff
|
tree
2011-05-24
A
li Gholami Rudi
ncc:
hand
l
e empty static initializers
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gho
l
ami
R
udi
c
pp: ignore c
o
mm
e
nts inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
neatcc: add a ncc
i
nvocation s
c
ript
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gholami
Ru
d
i
more
verbose error messages for missing
fi
l
es
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
R
udi
cpp: don't sear
c
h /
u
s
r
/
i
n
c
lude
for
h
eaders by defau
l
t
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
cpp: m
e
rge cur++'s
i
n readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
gen: fix
re
g
_fortmp()
i
ndenta
t
ion
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc
:
han
d
l
e
o
v
e
r
lappin
g
cond
i
t
i
o
n
al expr
e
ssions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rud
i
n
c
c: hand
l
e
sizeof
x
+ 2
commit
|
commitdiff
|
tree
2011-05-11
Ali G
h
olami
Rudi
ncc
:
ma
k
e sur
e
t
-
>a
d
dr == 0 before calli
n
g o_po
p
num()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami
R
udi
ncc: ig
n
or
e
the se
m
icolon after do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
n
cc: sw
i
tc
h
defa
u
lt labels when not
app
e
aring at
the
e
n
d
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami Ru
d
i
ncc: opa
s
sign s
h
ould use the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
am
i
Rudi
ncc: move no
g
en to nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
h
o
l
a
mi
R
udi
n
cc: always
initiali
z
e outp
u
t filen
a
m
e
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami R
u
di
README: ignored keywords are now bu
i
lt
i
nto ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami Rudi
ncc: sup
p
ort -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami Rud
i
ncc: handle
extern
f
unct
i
o
n
declarat
i
ons in
s
ide functions
commit
|
commitdiff
|
tree
2011-05-06
A
li Gholami
Rudi
ncc
:
handle ex
t
ern va
r
i
able declarations inside functions
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Ghol
a
mi Rudi
ncc: move macr
o
s
like __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
li Gholami Rud
i
to
k
:
h
andle
/
/
comm
e
nts
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
n
c
c: ig
n
ore the keywords neat
c
c doesn't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rudi
gen: reset last_cmp in
i_
p
rolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholam
i
Rudi
ge
n
: back-port cmp+bcc optimization again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen
:
move opco
d
es
t
o arch se
c
t
i
on
commit
|
commitdiff
|
tree
2011-04-29
A
li Gho
l
a
m
i R
u
di
gen:
re
n
ame FO
R
K_REG to RE
G
_FORK
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami Rudi
gen:
p
ass only O_* const
a
nts t
o
i_*(
)
functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami
Rudi
g
en: handle sym+off
f
unctio
n
calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rudi
gen:
move
a
rch
i
te
c
ture-
s
pecif
i
c functions to the
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami
Ru
d
i
gen: use
i_set()
i
n i_lnot(
)
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Gholami Rudi
gen: p
a
ss the nu
m
ber
of arguments to o_func_b
e
g()
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami Rudi
g
e
n: encode 0xf0000000
a
s
an
immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami Rudi
gen
:
swap the
i
m
m
ediate if neede
d
for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
Rudi
gen:
e
ncode cmp+
i
mmediate
i
nstru
c
tio
n
s
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Ghol
a
mi Rudi
gen: pu
t
the
immedi
a
te in the
o
pcode if p
o
ss
i
ble
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholam
i
R
udi
g
en: remove c
m
p+branch optimizati
o
n; mo
v
e
d
to opt br
a
nch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami R
u
di
cpp:
h
and
l
e functi
o
n macro
s
w
it
h
no arg
u
men
t
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
r
ename d
a
t
_bs
s
() an
d
dat_dat() to b
e
gin w
i
th o_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rudi
g
e
n
: group func
t
ions
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i G
h
olami Ru
d
i
gen: res
e
t last_set after cmp+
b
optimizat
i
on
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
holami Rudi
gen:
f
ix
~
operator
i
mplement
a
tion
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Rudi
ncc:
dereferen
c
e func
t
ion pointer
s
l
i
ke an
y
othe
r
variables
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami
R
udi
g
e
n: don'
t
remove th
e
last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami R
u
di
gen: don't let o_cast()
change derefe
r
enced
type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc: use tok_jmp() instead of tok_(se
e
|g
e
t)() i
n
enu
m
_create()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
G
hol
a
mi
R
udi
gen: handle
la
r
ge o
f
fsets
f
or
st
r
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Gholam
i
Rud
i
gen: replace TMP_R
E
G* macr
o
s with reg_fort
m
p()
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
G
h
o
lami Rudi
gen:
c
hange o_nog
e
n(
)
/o_dogen(
)
to be rec
u
rsi
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
a
m
i Rudi
gen: do
n
'
t gene
r
ate e
x
c
e
ss jum
p
s
for
t
he las
t
return
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gh
o
lami Rudi
gen: don't add
d
uplicate data to n
u
mber poo
l
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Ghola
m
i
Rudi
gen: call tm
p
_to() i
n
for loading rhs in o_assin
g
()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami
R
u
d
i
g
e
n: ignore O_SIGNE
D
wh
e
n checking
the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
g
e
n
:
fix signed division to nega
t
e th
e
remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali
Gholami Rudi
gen: merge decrement a
n
d
c
heck in i_memc
p
y() and
i
_
me
m
se
t
()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
gen: don't save variable registers be
f
ore call
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add software div/mod implementa
t
ion
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
ncc: set O_
S
IGN
f
or most binary oper
a
tions
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi
Rudi
ncc: deref
e
rence
the not expre
s
sion of
cex
p
rs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami Ru
d
i
perfor
m
s
i
gned operatio
n
s if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rud
i
c
pp: d
e
fine __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami Rudi
ncc:
d
on't ca
s
t the ret
u
rn val
u
e
for
v
oid f
u
nct
i
o
n
s
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gholami R
u
di
gen: more co
m
p
a
ct versio
n
o
f memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami Ru
d
i
gen
:
don't
o
utput
r
eloca
t
ions when o_nogen
(
) is called
commit
|
commitdiff
|
tree
2011-03-13
A
l
i
Ghol
a
mi Rudi
neatcc
arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean
up the interface between ncc
.
c, gen
.
c and
o
ut
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i Rudi
npp: remov
e
c
o
mments afte
r
p
r
e
proces
s
ing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
c
p
p
:
don't remove
n
on-macro nu
m
b
e
r
s
igns
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: allow using neatcc's
p
repr
o
ce
s
sor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali G
h
olami Rudi
c
pp
:
don't
s
kip non-eol macro back
s
lashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rud
i
gen:
f
ix
o
p_r
s
() opt
i
mization function
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholam
i
Rudi
g
en: use
b
etter names f
o
r o
p
codes
commit
|
commitdiff
|
tree
2010-12-11
Ali G
h
olami Rudi
c
pp:
define __i386__; __x86_64__ i
s
no longer
s
uppo
r
ted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: load the fir
s
t t
m
p b
e
f
o
r
e
calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Ghol
a
mi
R
u
d
i
add REA
D
ME
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
holami
R
udi
ncc: fix name->name str
i
n
i
t
iali
z
er
commit
|
commitdiff
|
tree
2010-08-13
Ali
Ghola
m
i Rudi
a
l
lo
w
extern array decl
a
ra
t
ions
without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
c
pp: include stddef
.
h for us
i
ng offseto
f
()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Ru
d
i
tok: parse uppercase hex
numb
e
rs
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Gholami R
u
di
ncc:
fix set
t
ing F_INIT
for each defined nam
e
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Rudi
cpp
:
handle nested macro c
a
lls l
i
ke M(M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
Rud
i
t
ok: don't g
o
beyond
b
uf
l
en for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
di
tab
.
h: use the
s
tanda
r
d
offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
o
l
ami Rudi
n
cc: fi
x
calling
t
s
_
pop()
p
rem
a
t
u
re
l
y
i
n opassig
n
(
)
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gh
o
lami Rudi
gen: ign
o
r
e the sign of the
s
e
c
o
n
d operand
i
n / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami
Rudi
ncc: fix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami
R
udi
gen: don't overwrite pushed ebx, e
s
i a
n
d edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Ghola
m
i
R
udi
gen: change
stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
G
holami Rud
i
ncc: don't change op
e
r
and order fo
r
c
ons
t
ops
commit
|
commitdiff
|
tree
next