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
merge the x86 port to master branch
2011-11-08
Al
i
Gholami
R
udi
me
r
ge the x86 port to master branch
commit
|
commitdiff
|
tree
2011-10-17
A
l
i Ghol
a
mi
R
udi
ncc: b
e
tter char ar
r
a
y i
n
itializa
t
ion
commit
|
commitdiff
|
tree
2011-10-17
Ali
Gh
o
lam
i
R
udi
out:
assure 8-byte a
l
ig
n
m
e
nt of dat
a
an
d
bss se
c
tion
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
A
li
Gholami Rudi
tab: fix tab_del(); otherwise #un
d
ef won't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rudi
ncc: call t
s
_de(
)
in
t
s_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Ghol
a
mi Rudi
ncc: handl
e
sw
i
t
c
h stmt where default label appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i Gholami Rudi
ncc: don't overwrite
global names
by static function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Ghol
a
mi Ru
d
i
cpp: fix handling comments
a
nd
s
trings insid
e
macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
n
cc:
handle empty static initializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghol
a
mi Ru
d
i
cpp: ignore co
m
men
t
s
inside
s
tring macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghola
m
i
R
u
di
neatcc: ad
d
a nc
c
invocation script
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Gh
o
lam
i
Rudi
more
v
er
b
ose error
m
e
ss
a
g
es fo
r
miss
i
ng f
i
les
commit
|
commitdiff
|
tree
2011-05-24
Ali
Ghol
a
mi Rudi
cpp: don't
sear
c
h /
u
sr/include for head
e
rs
b
y default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
cpp: merge cur++'s in rea
d
arg()
commit
|
commitdiff
|
tree
2011-05-22
Ali
Gho
l
ami Rudi
g
e
n
: fix reg_for
t
mp() indenta
t
i
o
n
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
hola
m
i Rudi
n
c
c
: handle overlapp
i
ng conditional expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami
R
udi
ncc:
h
a
n
d
le sizeof
x
+
2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gho
l
ami Rudi
nc
c
: m
a
ke
s
ure t->addr
=
=
0
bef
o
re calling o
_
popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Ru
d
i
ncc: ignore the semi
c
o
l
on after do-whi
l
e
commit
|
commitdiff
|
tree
2011-05-09
A
l
i Ghola
m
i Rudi
ncc: switch defaul
t
l
a
b
e
l
s
when
n
o
t appe
a
ring at th
e
end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
R
udi
ncc: opas
s
ign
should use the
t
ime of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
ncc: move nog
e
n to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: always in
i
t
ialize
o
utput f
i
len
a
me
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
README: ig
n
o
r
ed
k
eywords are now
b
uilt
i
nto ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami Rudi
ncc: suppo
r
t -o out
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gho
l
ami
R
u
di
ncc: handle
e
x
tern function
d
e
clarat
i
on
s
i
n
side fun
c
tions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gh
o
lami Rudi
ncc: handle
e
xtern variable dec
l
aratio
n
s
i
nsi
d
e
functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
Rud
i
n
c
c
: move macros l
i
ke __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
tok: hand
l
e
// comments
commit
|
commitdiff
|
tree
2011-05-04
Al
i
G
h
olami Rudi
ncc: ignore th
e
k
e
ywords neatcc doesn't c
a
re
a
bout
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Ru
d
i
gen
:
r
e
s
e
t last
_
cmp in i_p
r
o
l
og()
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gholami Rudi
gen:
ba
c
k
-p
o
rt cm
p
+bcc
o
ptimi
z
ati
o
n
again
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami R
u
di
gen:
m
o
v
e opc
o
des to arch
section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
u
di
gen: rename F
O
RK_REG to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Rud
i
gen
:
pas
s
o
n
ly O_* con
s
t
a
nts to i_*(
)
functions
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami
Rudi
g
e
n: h
a
ndle sym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami Rudi
g
e
n: mo
v
e a
r
ch
i
tecture-specific
funct
i
ons to the
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
holami
R
ud
i
gen
:
use i
_
set() in i_
l
not()
commit
|
commitdiff
|
tree
2011-04-01
A
li Gholami Rudi
gen
:
pass the n
u
mber of argume
n
ts to o_func_be
g
()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
Gholami Rud
i
gen: encode 0
x
f0
0
00000 as an
immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holami R
u
di
gen: swap the immediate if needed f
o
r ==
a
nd !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami R
u
di
gen
:
encode cmp+immedi
a
te
i
nstructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
u
di
gen: put th
e
immed
i
ate
in the
opcode if possi
b
le
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
holami Rudi
gen: rem
o
v
e
cmp+branch optimization; moved t
o
o
p
t
branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp:
handle func
t
ion macros
with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
m
i R
u
d
i
gen
:
rena
m
e dat_bss()
a
nd d
a
t_dat()
t
o
begin
w
i
th
o
_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
udi
gen: group functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gho
l
am
i
Rud
i
gen: reset last
_
set after
cmp+b
o
ptimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
ge
n
:
f
i
x ~ operator
i
mplemen
t
atio
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i Rudi
ncc: d
e
referen
c
e function pointers like an
y
other
variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
Ru
d
i
gen
:
don't
rem
o
ve the last retur
n
jump
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Rudi
g
e
n: don
'
t let o
_
c
ast() chan
g
e dereference
d
type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
n
c
c: use tok
_
jmp() inst
e
ad
o
f tok_(see|get)
(
) in
e
num_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
Rudi
gen:
handle l
a
rg
e
offsets for
st
r
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olam
i
Rudi
gen: replace TMP_REG* macr
o
s with reg_f
o
r
t
m
p
(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: c
h
an
g
e o_nogen()/o_dogen(
)
to be recur
s
ive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: d
o
n
't generate excess jum
p
s for
t
he last ret
u
rn
commit
|
commitdiff
|
tree
2011-03-23
A
li Ghol
a
mi Rudi
gen
:
don't add duplicate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholam
i
Rudi
gen
:
cal
l
tmp_to()
i
n for loading
r
h
s
in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami Rudi
ge
n
:
ignore O_SIGNED when check
i
ng the opcod
e
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami R
u
di
gen
:
fix sign
e
d
division t
o
neg
a
t
e
the remainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i G
h
olami Rud
i
ge
n
: merg
e
decrement and
check in i_mem
c
py()
a
nd i_memset(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
g
e
n
: don't s
a
ve v
a
riable registers before
c
al
l
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add software div/mod implementatio
n
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholami Rudi
ncc: set O_SIGN for m
o
st binary operati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
n
c
c: dereference the not expression
of
ce
x
p
rs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
l
a
mi Rudi
perform s
i
gne
d
ope
r
a
t
i
ons
i
f
O_
S
IGN
E
D bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i
Rudi
cpp: defin
e
__a
r
m__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gho
l
ami R
u
di
n
cc: don't ca
s
t
t
h
e
r
eturn value for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Ru
d
i
gen: mo
r
e compact version of mem
c
py()
and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rud
i
gen:
d
o
n
'
t output reloca
t
ions when o_nog
e
n()
is c
a
lled
commit
|
commitdiff
|
tree
2011-03-13
Al
i
G
h
o
l
ami Rudi
nea
t
cc a
r
m
port
commit
|
commitdiff
|
tree
2011-03-08
A
li Gholami Ru
d
i
c
lean up the interface betwee
n
n
cc
.
c
,
gen
.
c a
n
d out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i Rudi
npp: remove
comment
s
af
t
e
r
preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rudi
cpp: don't remove non-macro n
u
mber sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Rudi
npp:
a
ll
o
w usi
n
g neatcc's pre
p
roc
e
ssor a
s
a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
Ghol
a
m
i
Rudi
cpp: don't
sk
i
p
n
o
n
-eol m
a
cro
b
ac
k
slashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghol
a
mi Rudi
gen: fix op_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gho
l
ami Rudi
gen:
u
se
b
etter
n
ames for opco
d
es
commit
|
commitdiff
|
tree
2010-12-11
A
l
i Gholami
R
udi
cpp: define
__i3
8
6
_
_; __x8
6
_64__ is no l
o
nger supported
commit
|
commitdiff
|
tree
2010-11-20
Ali
Gholami Rudi
g
en: load
t
he first
t
m
p
b
e
fore calling
T
MP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gholami Rud
i
a
dd
READM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rud
i
n
cc: fix name->nam
e
str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
o
l
ami
Rudi
allow extern array declarations with
o
u
t
s
ize
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
cpp: include stddef
.
h for using o
f
fset
o
f(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Gho
l
ami
R
u
di
tok: pa
r
se upp
e
rcas
e
hex numbers
commit
|
commitdiff
|
tree
2010-07-25
A
li Ghol
a
mi Rudi
ncc: fix s
e
t
t
ing F_INIT f
o
r each defi
n
ed name
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Rudi
cp
p
: hand
l
e
n
e
sted mac
r
o calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
o
lami
R
ud
i
tok: don't
g
o beyond buf
l
en for 3-
c
har
t
okens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gho
l
a
m
i Rud
i
tab
.
h
: use the standard off
s
etof(
)
commit
|
commitdiff
|
tree
2010-07-12
A
li
Gholami Rud
i
ncc: fix calling
t
s
_
p
o
p(
)
prematurel
y
i
n opas
s
ign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
hola
m
i
R
udi
gen: ignore t
h
e sign
o
f th
e
secon
d
operand in /
a
nd %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Ru
d
i
ncc: fix & and * on function
s
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Ru
d
i
gen: don't overwrite pu
s
h
e
d ebx, e
s
i and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
udi
gen: change stack
alignmen
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: don't chan
g
e operand
o
rder for con
s
t ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: only perform const op for addresses when addin
g
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen: zeroing eax
doesn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
Gholami Rudi
ncc: fix ++s
f
or pointers
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami
R
udi
ncc: fix func
t
ion po
i
nter arrays
commit
|
commitdiff
|
tree
next