repo.or.cz
/
neatcc.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
Gholam
i
Rud
i
out: a
d
d
a
wor
k
around for
bad linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gho
l
ami Rudi
Ma
k
e
fil
e
: default to x86
b
u
i
l
d
commit
|
commitdiff
|
tree
2011-11-08
Ali
Gholami Rudi
ncc: define __i386__
for x86 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
Rudi
merge the x86 port t
o
m
a
ste
r
b
r
a
n
c
h
commit
|
commitdiff
|
tree
2011-10-17
A
l
i
Gholami Ru
d
i
ncc: better
char
array initialization
commit
|
commitdiff
|
tree
2011-10-17
A
l
i Gholam
i
Rud
i
o
ut: assur
e
8
-byte a
l
ign
m
ent of dat
a
a
nd bs
s
se
c
tion
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gho
l
ami
Ru
d
i
tab: fix t
a
b_del()
;
o
therwise #u
n
de
f
won't wo
r
k
commit
|
commitdiff
|
tree
2011-06-05
Ali Ghola
m
i Rudi
ncc:
c
all ts_de() in ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
A
li Gh
o
lam
i
R
u
di
nc
c
: handle switch stmt
w
here default label
a
ppears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
ncc: do
n
'
t overwrite global n
a
m
es b
y
static f
u
nction
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
li Gh
o
lami Rudi
cpp: fix ha
n
dling comme
n
t
s
and strings inside macr
o
s
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holami Rudi
nc
c
: handle empty static initializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghola
m
i R
u
di
cpp: ig
n
ore comments inside str
i
ng macro
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Ru
d
i
n
e
a
tcc: add a ncc
invocation
scri
p
t
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
more verb
o
se erro
r
m
e
ssages fo
r
mi
s
s
i
n
g files
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
l
a
mi Rudi
cp
p
: don't search /u
s
r/includ
e
fo
r
head
e
rs by default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
cpp: merge cur++'s i
n
readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali
Gho
l
ami
R
udi
gen:
fi
x
reg_for
t
mp(
)
indentation
commit
|
commitdiff
|
tree
2011-05-19
Ali G
h
ola
m
i
Rudi
ncc: han
d
le overlapping conditional expressi
o
n
s
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: han
d
l
e
s
i
zeof x +
2
commit
|
commitdiff
|
tree
2011-05-11
Ali G
h
olami Rudi
n
c
c: make
su
r
e
t->a
d
dr == 0 befo
r
e calling
o_
p
opnum()
commit
|
commitdiff
|
tree
2011-05-11
A
li Gholami Rudi
ncc: ignore th
e
semicolon after do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
ncc: sw
i
tch defa
u
lt labels
w
h
en not appearing at the e
n
d
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami Rudi
ncc: opassign should
u
se the
t
ime of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami Ru
d
i
n
c
c: m
o
v
e nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
o
l
a
mi Rudi
ncc: alw
a
ys
i
ni
t
ia
l
ize out
p
u
t filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i Rudi
README: i
g
nored keywor
d
s are
n
o
w built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
hol
a
mi
Rudi
n
c
c: su
p
por
t
-
o
out
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
o
l
a
m
i Rudi
n
c
c:
handle e
x
tern fun
c
t
i
on declarations inside fu
n
c
tio
n
s
commit
|
commitdiff
|
tree
2011-05-06
Ali
G
holami Rudi
ncc: h
a
ndle e
x
tern v
a
riable declarations i
n
side func
t
ions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc:
m
ov
e
macros
l
ike __STDC__
to
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gh
o
lami Rudi
tok:
h
andle
/
/ co
m
ments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
R
u
di
ncc: ignore the k
e
ywor
d
s neatcc doesn't care a
b
out
commit
|
commitdiff
|
tree
2011-05-01
A
l
i Gholam
i
Rudi
gen: r
e
set last_cmp in i
_
prol
o
g()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen
:
back-port cmp+bcc optimization ag
a
in
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move
o
p
codes
t
o
arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen: re
n
ame FOR
K
_REG to
R
E
G_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
e
n
:
pa
s
s
o
n
l
y O_* constants to i_
*
() func
t
ions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Ru
d
i
gen: handle sym+off fun
c
tion calls
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Ghola
m
i Rudi
gen
:
m
ove archi
t
ecture-spe
c
ific func
t
ions to
t
he end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen
:
use i_set() i
n
i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rud
i
g
en: pa
s
s the number of arguments to o_
f
unc_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
a
m
i Rudi
gen: en
c
ode 0xf00
0
00
0
0 as an immediat
e
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
h
olami Rudi
gen:
s
wap
the immediate if needed for
=
= and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
ge
n
: encode
c
m
p
+im
m
ediate instr
u
ctions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
Rudi
gen
:
put the immediate in the
o
pcode if possible
commit
|
commitdiff
|
tree
2011-03-30
A
li Gholami Rud
i
g
e
n: rem
o
ve c
m
p+
b
ranch optimization
;
moved to opt b
r
a
nc
h
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghola
m
i Rudi
cpp: hand
l
e
f
u
ncti
o
n ma
c
r
o
s with no argume
n
t
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: ren
a
me
dat_bss() and dat_dat() to beg
i
n w
i
th o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen: group functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Gh
o
l
ami R
u
d
i
gen:
r
e
s
et
l
ast_s
e
t after c
m
p+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
f
i
x ~
o
pe
r
ator
i
mplem
e
nta
t
ion
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghol
a
mi Ru
d
i
ncc: derefer
e
nce funct
i
on point
e
rs like any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: d
o
n't remo
v
e
t
he
l
a
s
t retur
n
j
ump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen
:
don't let o_cast() c
h
ange derefere
n
c
e
d
type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
ami Rudi
nc
c
: use tok_j
m
p
() i
n
stea
d
of tok_(
s
e
e
|
get)() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
gen: han
d
le large offsets for
str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen: replace TMP_
R
EG* ma
c
ros wi
t
h reg_fo
r
tmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi
R
u
d
i
gen: cha
n
ge o_nogen()/o
_
dogen() to be recur
s
ive
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
g
e
n:
d
on't generate excess ju
m
p
s
for
the last retu
r
n
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen:
d
o
n
't add duplicate data
to
n
umber p
o
ol
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rud
i
g
en: call tmp_to() in for
loadin
g
rhs
i
n
o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
lami Rudi
g
e
n: ignore O_S
I
GNED
w
h
en checki
n
g
the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rud
i
gen: fix s
i
gned divi
s
ion to negate the re
m
ainder
commit
|
commitdiff
|
tree
2011-03-16
A
li Gholami Rudi
gen: merge decr
e
ment a
n
d chec
k
i
n
i_memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
gen:
d
o
n
't save variable regist
e
rs before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add software div/mod im
p
lementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
ncc: set
O_SIGN for most binary operations
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami
Rudi
ncc: dereference the not expres
s
ion of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform signed operatio
n
s if O_SIG
N
ED bit
i
s
set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rudi
cpp: de
f
i
n
e __a
r
m
_
_
commit
|
commitdiff
|
tree
2011-03-14
A
li
Gho
l
a
mi R
u
di
n
c
c: don'
t
cast the return val
u
e for vo
i
d func
t
io
n
s
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
g
e
n: mo
r
e comp
a
ct version of memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami
Rudi
gen: don't output relocat
i
ons when
o
_nogen(
)
is
called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neatcc arm
port
commit
|
commitdiff
|
tree
2011-03-08
Ali
G
holami Rudi
c
l
ea
n
up t
h
e interfa
c
e b
e
t
ween n
c
c
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Ru
d
i
npp: remove
c
om
m
ent
s
after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rudi
c
pp: don't remove
n
on-ma
c
ro number s
i
gn
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp
:
allow u
s
ing neatcc's
preproce
s
sor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami R
u
di
c
p
p: don't skip
n
on-
e
ol
m
a
cro bac
k
sla
s
hes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: fix op_rs(
)
opt
i
miz
a
tion
funct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
lami Rudi
gen: use be
t
ter names for
opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gho
l
ami Rudi
c
pp
:
d
efine __i386_
_
;
_
_x86_64__ is no longer
supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gh
o
lam
i
Rudi
gen:
load the first
tm
p
b
efore
c
all
i
n
g
TMP
_
REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Ghol
a
mi
R
ud
i
add READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
A
li
G
hol
a
mi Rudi
ncc: fix
name->
n
ame str i
n
it
i
al
i
zer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow extern array dec
l
arat
i
ons
without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghol
a
mi Rudi
cpp: include
stddef
.
h f
o
r using offs
e
to
f
()
commit
|
commitdiff
|
tree
2010-07-28
Ali Ghol
a
mi R
u
di
tok: parse
u
pperc
a
s
e hex
numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Ghola
m
i Rudi
n
c
c
:
fi
x
s
etting F_INIT for e
a
c
h
de
f
ined na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami
R
udi
cpp: handle nested macro calls like
M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok: don't go beyond buf len for 3-char
t
o
kens
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami Rudi
t
a
b
.
h:
u
se the
stand
a
rd offsetof
(
)
commit
|
commitdiff
|
tree
2010-07-12
Al
i
G
h
olami Rudi
nc
c
:
fix ca
l
ling ts_pop()
pr
e
maturely
i
n
opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gholami Rudi
g
en: ign
o
re the s
i
gn of the second operan
d
in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Ghola
m
i Rudi
ncc:
fix &
and
*
on functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami Rudi
gen: don't overwrit
e
pushed
e
bx
,
esi and ed
i
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rudi
gen: change
stack alignme
n
t to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
hola
m
i
Rudi
nc
c
: don
'
t ch
a
nge opera
n
d order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
m
i
R
u
d
i
gen
:
only
perform const
op for addresses when adding
commit
|
commitdiff
|
tree
next