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
tab: fix tab_del(); otherwise #undef won't work
2011-06-16
Ali Gholami
Ru
d
i
tab:
fix ta
b
_d
e
l(); otherwise #undef won't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Ghola
m
i Rudi
ncc
:
cal
l
ts_de() in t
s
_pop_
d
e(
)
commit
|
commitdiff
|
tree
2011-06-04
A
l
i Gho
l
ami Rudi
ncc: handle swi
t
ch
s
tm
t
whe
r
e
d
efault label appe
a
r
s
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholam
i
Rudi
nc
c
: don't overwrite
g
lob
a
l names by
s
tat
i
c functio
n
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
cpp
:
fi
x
handl
i
ng
c
omment
s
and
s
trin
g
s inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
ola
m
i Rudi
ncc: handle emp
t
y static ini
t
ializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
Rudi
cpp:
ignore c
o
mment
s
i
nside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
nea
t
c
c: add a ncc
i
nvoc
a
tio
n
script
commit
|
commitdiff
|
tree
2011-05-24
A
l
i
G
hol
a
mi Rudi
m
o
re ver
b
ose error mes
s
ag
e
s for mis
s
ing files
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gholami Rudi
cpp
:
d
o
n't sear
c
h /usr/
i
nclude for headers by default
commit
|
commitdiff
|
tree
2011-05-22
A
l
i
Gholami Rudi
cpp: merge cu
r
++'s in readar
g
()
commit
|
commitdiff
|
tree
2011-05-22
Ali G
h
o
lami R
u
di
gen:
fix re
g
_fort
m
p() inden
t
ation
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
holami Rudi
ncc: handle ove
r
lapp
i
ng c
o
nditio
n
al e
x
pressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Ghola
m
i R
u
di
n
cc: hand
l
e sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
A
l
i
Gholami
Rudi
n
c
c: make sure t->addr ==
0
befo
r
e cal
l
ing o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali
G
holami
R
udi
ncc: i
g
nore
the semic
o
lon after do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gh
o
lami Rudi
ncc: s
w
itch defaul
t
labels w
h
e
n
not ap
p
e
a
r
i
ng at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami Rud
i
n
cc
:
opassign
s
houl
d
use the t
i
me
of
l
hs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
n
cc:
move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami R
u
d
i
n
cc: always in
i
t
i
a
lize output filen
a
m
e
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Ru
d
i
RE
A
DME: ignored keywords are now
b
u
ilt
i
nto ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li Gho
l
ami Rudi
ncc: support -o
ou
t
commit
|
commitdiff
|
tree
2011-05-08
A
li Gho
l
a
mi Rud
i
ncc: handle extern function
d
e
clarations
i
n
s
ide function
s
commit
|
commitdiff
|
tree
2011-05-06
A
l
i Gho
l
ami Rudi
ncc:
handle exter
n
varia
b
le
d
eclarations inside functi
o
ns
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
ho
l
ami
Rud
i
ncc
:
m
ove macros l
i
ke __STDC
_
_ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
olami Rudi
tok: handle //
comments
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami Rudi
ncc: ign
o
re the keywords nea
t
c
c
doesn
'
t care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholam
i
Rud
i
gen: r
e
set last_cmp
i
n i
_
prolog(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: back-
p
ort cm
p
+bcc optimization agai
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
udi
gen: mo
v
e op
c
od
e
s
t
o arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: rename FORK_REG to
REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Rudi
gen: pass only O
_
*
constants
t
o i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Ru
d
i
g
en: handle sym
+
o
f
f
function c
a
lls
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gh
o
lami Rud
i
ge
n
: move archi
t
ecture
-
spe
c
ific
f
unctions to
t
h
e end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali G
h
olami
Rudi
g
en: use
i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali
Gholam
i
Ru
d
i
gen:
p
ass the number
of
a
rguments t
o
o
_func_
b
eg()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gh
o
lami Rudi
ge
n
: e
n
c
ode 0xf000
0
000 as an
immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
mi Rudi
gen: s
w
ap
t
he
i
mmedi
a
te if
n
eeded for == a
n
d !=
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
ol
a
mi
Rudi
gen:
encode cmp+immediate i
n
structions
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holami Rudi
gen:
p
ut
t
he
i
mm
e
diate
in the
opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
A
li Gho
l
ami Rudi
gen: remove cmp+branch o
p
t
imization; moved to opt bran
c
h
commit
|
commitdiff
|
tree
2011-03-30
A
li
G
hol
a
mi Rudi
cpp: handle func
t
ion macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Al
i
G
h
o
l
ami Rudi
ge
n
:
r
ename dat_bss
(
)
a
nd
dat_dat() to be
g
in wit
h
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
ge
n
: g
r
oup
functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: reset last_set after c
m
p+b optimization
commit
|
commitdiff
|
tree
2011-03-28
A
li
G
holami
R
udi
ge
n
: fix ~
o
perator implementa
t
ion
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami Rudi
ncc:
dereference fun
c
tio
n
pointers
l
ike any other
varia
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen
:
d
o
n't r
e
move t
h
e last re
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholam
i
Rudi
gen
:
don
'
t let o_cast() chang
e
dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc
:
use tok_jmp() instead of tok_(see|get)() in enu
m
_
create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: han
d
l
e large off
s
ets for str
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami R
u
di
gen:
replace TMP_REG*
macros wi
t
h reg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rudi
g
en: c
h
a
nge o_
n
ogen()/o_dogen() to
be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
ge
n
: d
o
n't ge
n
erate excess j
u
mps for the
l
as
t
return
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
ol
a
mi
R
udi
gen:
d
o
n't add duplicate
data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call tmp_to(
)
in for loading
r
hs in o_assin
g
(
)
commit
|
commitdiff
|
tree
2011-03-20
Al
i
Gholami Ru
d
i
gen: ignore
O
_
S
IG
N
ED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
holam
i
Rudi
gen:
fix si
g
ned divisio
n
to negate the re
m
ain
d
e
r
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: merg
e
d
ecr
e
m
e
nt and c
h
e
c
k in i_
m
emcpy()
a
n
d i
_
memset
(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
gen: don't save
variable
reg
i
ste
r
s
b
e
fore cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gho
l
ami Rudi
gen
:
add soft
w
are d
i
v/m
o
d
i
m
plem
e
n
t
a
t
ion
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gh
o
lami Rudi
ncc
:
set O_SIGN for mo
s
t b
i
nary
o
per
a
tions
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
la
m
i
Rudi
ncc: der
e
f
e
re
n
ce the
n
ot expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
perform signe
d
operations if O_SIGNED bit
is se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rudi
cpp
:
define _
_
arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holam
i
Ru
d
i
ncc: do
n
't cast
t
he
r
et
u
rn value
f
or voi
d
functions
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gh
o
la
m
i Rudi
gen: more compact
v
ersio
n
of memcpy() a
n
d memset()
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
h
ola
m
i Ru
d
i
g
e
n:
d
o
n
't outpu
t
relo
c
ation
s
w
hen o_nogen(
)
is cal
l
ed
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami
Rudi
n
eatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami R
u
di
clean up the i
n
terface betwe
e
n nc
c
.
c
,
gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gho
l
a
m
i Rudi
npp: remov
e
comm
e
nts
aft
e
r prepro
c
essing
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
cpp:
d
on't remove non-macro numbe
r
signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
np
p
: all
o
w usin
g
ne
a
tcc's
preprocesso
r
as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li Gholami Rud
i
cpp: don
'
t
skip
n
o
n
-
eol
macro backslas
h
es
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holam
i
Rudi
gen: fix
o
p
_
r
s
(
)
o
p
t
imi
z
ation function
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami Rudi
gen
:
u
s
e be
t
t
er names for op
c
od
e
s
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
h
o
lami R
u
d
i
cp
p
: define __i386_
_
;
_
_
x
8
6_64_
_
is no lon
g
er supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: lo
a
d the f
i
r
s
t
tmp before calling
TMP_REG2
(
)
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
holam
i
Rudi
ncc: fix name->name s
t
r
in
i
tializer
commit
|
commitdiff
|
tree
2010-08-13
A
li Gholami Rud
i
allow
e
xter
n
array declarations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: inc
l
ude stdd
e
f
.
h for using offsetof
(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali
Gholami Rudi
tok
:
parse uppercase hex num
b
e
r
s
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Ghola
m
i Rudi
ncc: fix se
t
ting F_INIT for each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
Rudi
cpp: handle nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami Rudi
t
ok: don't go beyond buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h
: use the
s
t
andard
o
f
f
s
etof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
nc
c
:
fi
x
calling ts_pop() pr
e
mature
l
y i
n
o
passign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gholami Rud
i
gen
:
ignore t
h
e sign of the second
o
p
e
ra
n
d in
/
and %
commit
|
commitdiff
|
tree
2010-07-10
A
l
i Gholami Rudi
n
c
c
: fix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i Ru
d
i
g
en: d
o
n
't overwrite pushed ebx, es
i
and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami
R
udi
gen: change stack alignm
e
nt to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: do
n
't change
operand or
d
e
r
f
or const o
p
s
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gho
l
ami Rudi
gen: o
n
ly perfo
r
m
const op f
o
r
address
e
s whe
n
a
dd
i
ng
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
ho
l
ami
Ru
d
i
gen: zeroing
e
a
x doesn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali
Ghol
a
mi Rudi
ncc: f
i
x ++s for pointe
r
s
commit
|
commitdiff
|
tree
2010-06-30
Al
i
G
h
o
l
ami
R
udi
n
c
c: fix fu
n
ction pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
R
ud
i
gen: remov
e
the
u
nused
c
_
o
p
(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
Rudi
gen: use tmp-
>
off for l
o
cals too
commit
|
commitdiff
|
tree
2010-06-28
A
li Gholami Rudi
p
ort neatc
c
to
x86
commit
|
commitdiff
|
tree
next