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
out: add a workaround for bad linkers
2011-11-10
Ali Gholami Rudi
out: add a workaround for
b
ad linkers
commit
|
commitdiff
|
tree
2011-11-08
Al
i
Gholami Rudi
Makefile
:
default
to x86
b
uild
commit
|
commitdiff
|
tree
2011-11-08
Ali
G
holami Rud
i
ncc
:
de
f
ine __i386
_
_ for x86 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
R
u
di
m
e
rge
t
he x86 port to maste
r
branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
n
c
c:
b
ette
r
char array
init
i
alization
commit
|
commitdiff
|
tree
2011-10-17
Ali Ghola
m
i Rudi
out: assure 8-byte alignment of
d
at
a
and bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami
Rudi
tab: fix
t
ab_del(); otherwise #undef won
'
t work
commit
|
commitdiff
|
tree
2011-06-05
Al
i
Gholami
R
udi
ncc: ca
l
l ts_de() in ts_
p
op_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali G
h
olami Ru
d
i
n
c
c
: handle switc
h
s
t
mt where default lab
e
l
a
pp
e
ars
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Al
i
Gholami
Rud
i
ncc: don't overwrite gl
o
bal names b
y
static function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Al
i
Gh
o
la
m
i Rudi
cpp: fix
handling com
m
ents and strings inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
n
cc: han
d
le em
p
ty stat
i
c
init
i
alizers
commit
|
commitdiff
|
tree
2011-05-24
A
li Ghola
m
i Rudi
cpp: ignore comments inside string mac
r
os
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gholami Rudi
neat
c
c: add a ncc in
v
o
cation script
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
h
olami
R
u
d
i
more verbose error m
e
ss
a
g
e
s for missing files
commit
|
commitdiff
|
tree
2011-05-24
A
l
i G
h
ola
m
i R
u
d
i
cpp:
do
n
't search /
u
sr
/
include
for
head
e
rs by
d
efault
commit
|
commitdiff
|
tree
2011-05-22
Al
i
Gholami Ru
d
i
cpp: merge
c
u
r
+
+'s
in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami
Rudi
ge
n
: fix reg_
f
o
rtmp() inden
t
ation
commit
|
commitdiff
|
tree
2011-05-19
Ali
Gholami Rudi
n
c
c: ha
n
dle ove
r
lapping
conditional expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gh
o
lami
Rudi
ncc: handle
s
izeof
x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
Gholami Rudi
ncc: make sure t->addr == 0 before callin
g
o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami R
u
di
ncc: ignore the semicolon after do-whi
l
e
commit
|
commitdiff
|
tree
2011-05-09
Ali G
h
o
lami Rudi
ncc:
switch
d
efault labels when no
t
a
p
pea
r
ing at
t
he
e
nd
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
G
h
olami Rudi
ncc: opassign s
h
o
u
ld use the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rud
i
ncc: move nogen
t
o n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc:
a
l
w
ays initialize output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
README: ign
o
red
ke
y
words are now
b
uilt
into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gh
o
l
a
mi Rudi
ncc: support
-
o
out
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholam
i
R
u
di
ncc: h
a
n
d
l
e exter
n
funct
i
o
n
declarations inside fu
n
c
tions
commit
|
commitdiff
|
tree
2011-05-06
Ali
G
holami Rudi
ncc: hand
l
e extern
v
ari
a
ble declaration
s
inside functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami
R
udi
ncc: move macros
like __STD
C
__ to
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
tok: handle
// comments
commit
|
commitdiff
|
tree
2011-05-04
A
l
i
Gholami Rudi
ncc:
igno
r
e the
k
eywords
n
ea
t
cc
doesn't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rudi
gen
:
reset l
a
st_c
m
p
i
n i_prol
o
g()
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gh
o
lami Rudi
gen: back
-
port cmp+b
c
c optimiza
t
ion again
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Ghol
a
m
i
Rudi
gen:
move opcodes to arch secti
o
n
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
ola
m
i Rudi
gen: re
n
ame FORK_REG to R
E
G_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gh
o
lami Rudi
gen: pass only O_
*
co
n
sta
n
ts to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
ge
n
: handle sym+off function ca
l
ls
commit
|
commitdiff
|
tree
2011-04-29
A
li Gh
o
lami Rudi
g
e
n: move
ar
c
hitect
u
re-specif
i
c f
u
nctions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: use i_se
t
(
) in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
A
l
i
Gho
l
ami Ru
d
i
gen: pass the num
b
er o
f
arguments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami Rudi
ge
n
: en
c
o
de 0xf0
0
00000 as an imme
d
iat
e
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami
R
udi
g
en: swap the immediate if needed for == an
d
!=
commit
|
commitdiff
|
tree
2011-03-31
A
li
G
holami Rudi
ge
n
: encod
e
cmp+immed
i
at
e
instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holami Rudi
gen
:
put
the immediate in the opcode
if possib
l
e
commit
|
commitdiff
|
tree
2011-03-30
A
l
i
G
holami Rudi
gen:
remove cmp+branch
opt
i
mizati
o
n;
moved
to opt
b
ranch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
c
p
p
:
handle
func
t
i
o
n macros wi
t
h
no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
ho
l
ami Rud
i
gen: rename dat_bss() and d
a
t_da
t
() to begin
w
it
h
o_
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholami Rudi
gen:
gr
o
up
functions i
n
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholami Rudi
gen: reset
l
ast_set after cm
p
+b opti
m
ization
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami Rudi
gen: fix ~ operato
r
im
p
lement
a
tio
n
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gho
l
ami Rudi
ncc:
dereference funct
i
on pointers like any other
variab
l
es
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Ru
d
i
gen: don'
t
r
em
o
ve
the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami Rudi
gen: don't let o_cast() change
dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami
R
ud
i
nc
c
: use to
k
_jm
p
() instead of tok_(see|
g
et)() in enum_
c
reate()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghola
m
i Rudi
g
e
n: handle lar
g
e o
f
fsets for str
commit
|
commitdiff
|
tree
2011-03-25
A
li G
h
olami Ru
d
i
g
e
n: replace TMP_REG* ma
c
ros
w
i
t
h
r
e
g_fortmp
(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali Gh
o
lami Rud
i
gen:
ch
a
nge o_
n
ogen(
)
/o_dogen() to be
recur
s
ive
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami Rudi
gen: don't generate excess
jumps for the last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't add duplicate data
to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
Ghola
m
i R
u
di
ge
n
: call tmp_t
o
() in for
l
oading rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami
Rudi
gen: ign
o
re O
_
S
I
GNED when checking
t
he opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gho
l
am
i
Rudi
g
e
n
: fix signed divisio
n
to
negate the remaind
e
r
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: merge decrement
and che
c
k
in i_memcpy() and i_memse
t
()
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
gen: don't
s
ave variable
r
e
gisters before ca
l
ls
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
gen:
add software
div/mod
i
mplem
e
n
t
ati
o
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami Rud
i
ncc:
s
et O_SIGN for mo
s
t binary operations
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
n
c
c: dereferen
c
e t
h
e not ex
p
ression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
am
i
Rudi
p
e
rfor
m
signed operations
if O_SIGNED bi
t
is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rud
i
c
pp:
defi
n
e __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
la
m
i
Ru
d
i
ncc: don't c
a
st the return value for voi
d
func
t
ions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rudi
g
en: more compact versi
o
n of
memcp
y
() and mems
e
t()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
g
e
n: don't output relocation
s
w
h
en o
_
nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali G
h
ola
m
i Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Ru
d
i
clean up
the interface between
n
cc
.
c, gen
.
c and o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami
R
u
d
i
npp
:
remove c
o
mments
a
f
t
er
preproce
s
sing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cpp: don't
re
m
ove non-macro numb
e
r
s
igns
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghol
a
m
i
Rudi
n
p
p: al
l
ow us
i
n
g neatcc's preprocesso
r
as
a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp: don't skip non-eol
m
acro backslash
e
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
f
ix op_rs() o
p
timi
z
atio
n
functi
o
n
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami Rudi
gen:
u
se better na
m
es for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Ghol
a
mi Rudi
cpp:
d
efine __i386__; _
_
x86_
6
4
_
_
is no l
o
n
g
er
s
uppor
t
ed
commit
|
commitdiff
|
tree
2010-11-20
A
li
Gholami Rudi
gen: load the first
tmp b
e
fore callin
g
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
R
udi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
o
lami Rudi
ncc:
f
i
x
name->name str ini
t
ia
l
izer
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gholami
Ru
d
i
allow exter
n
arr
a
y
d
eclar
a
tions wi
t
hout siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
c
p
p: inclu
d
e stddef
.
h
for using of
f
setof(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali G
h
ol
a
mi Rudi
tok
:
parse upp
e
rcase hex number
s
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami
Rud
i
ncc: fix
setting F_INIT f
o
r ea
c
h defined
name
commit
|
commitdiff
|
tree
2010-07-14
A
l
i G
h
olami
R
udi
cpp: ha
n
dle n
e
s
t
ed macro
calls
like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gho
l
ami Rudi
t
o
k: do
n
't go beyond buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami
R
udi
tab
.
h
: use the standa
r
d offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
nc
c
: fix calling ts_pop() pr
e
maturel
y
in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
u
di
gen:
ignore the
s
ign of the second ope
r
and
i
n / and
%
commit
|
commitdiff
|
tree
2010-07-10
A
li Gh
o
lami Rudi
ncc:
f
ix
&
an
d
* on functions
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gh
o
lami Rudi
ge
n
: d
o
n't overwrite pushed ebx
,
esi
a
nd edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
u
d
i
g
e
n:
c
h
an
g
e st
a
ck
a
lignment
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
o
l
ami Rudi
ncc: d
o
n't change opera
n
d ord
e
r for const
op
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
l
a
mi Rudi
gen: onl
y
perform c
o
n
s
t op for addresses when a
d
ding
commit
|
commitdiff
|
tree
next