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
npp: redefine err() in npp.c
2012-01-25
A
l
i Gh
o
l
ami Rudi
npp: redefin
e
err() in n
p
p
.
c
commit
|
commitdiff
|
tree
2012-01-25
Ali Gholami Rudi
Makefile: x86_64 should
b
e
x86
i
n
the comment
commit
|
commitdiff
|
tree
2012-01-06
Al
i
Gholami
Rudi
extract arc
h
i
te
c
tur
e
indep
e
ndent gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
A
l
i Gholam
i
Rudi
experimental risc
-
like x86_64 port of neat
c
c
commit
|
commitdiff
|
tree
2011-12-23
Ali Gh
o
lami
Rudi
ncc: fix
h
andling function pointer types wit
h
out
a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
A
li Ghol
a
mi Rudi
g
e
n: complain if MAXJMPS is reached
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholam
i
Ru
d
i
gen: si
m
pli
f
y
b
r
a
n
c
h
instructions by remov
i
ng o_fillj
m
p
(
)
commit
|
commitdiff
|
tree
2011-12-08
Ali Ghola
m
i Rudi
ncc: support k&r sty
l
e funct
i
on definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
o
ut: u
s
e rel
.
*
name f
o
r relocatio
n
sec
t
ions on x
8
6
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali G
h
olami Ru
d
i
n
cc
:
sup
p
ort (
e
xp
r
,
e
xpr) expression
commit
|
commitdiff
|
tree
2011-12-07
Ali
G
holami R
u
di
cpp: fix ev
a
luating integer constants
commit
|
commitdiff
|
tree
2011-11-10
A
li Gh
o
lami Rudi
ou
t
:
a
dd a workaround for bad linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makefile: default to
x
86 build
commit
|
commitdiff
|
tree
2011-11-08
Ali Ghola
m
i Rud
i
ncc: define
_
_i38
6
__
f
or x86 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gh
o
lami Ru
d
i
merge th
e
x86 por
t
to mast
e
r branch
commit
|
commitdiff
|
tree
2011-10-17
Al
i
Gholam
i
R
u
di
n
c
c:
b
etter char
a
rray initiali
z
ation
commit
|
commitdiff
|
tree
2011-10-17
A
l
i
Gholami R
u
di
out: as
s
u
re
8
-
b
y
te alignment o
f
data and
b
ss sect
i
on
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gh
o
lami Rudi
tab: fix tab_del(); otherwi
s
e #u
n
def won't work
commit
|
commitdiff
|
tree
2011-06-05
A
l
i
Ghola
m
i
R
u
d
i
ncc:
call ts_de() in
ts_pop_d
e
()
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholami Rudi
ncc: handle
s
w
i
tch
stmt w
h
ere
d
efault label appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholam
i
Rudi
n
cc:
d
on't
ov
e
rw
r
ite globa
l
names by sta
t
i
c fu
n
ction
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
cp
p
: fix handl
i
ng commen
t
s an
d
strings i
n
side
m
acros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
n
c
c
:
h
a
n
dle empty static
i
n
itia
l
i
zers
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Rudi
cpp: ign
o
re comments inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
neatcc:
add
a ncc
i
n
voca
t
ion scri
p
t
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Rudi
more verbose error messages for m
i
ssing
f
iles
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
R
udi
cpp: d
o
n't
search /usr/include for headers
by default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
cp
p
:
m
erge cur++'s in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Ghol
a
mi
R
udi
ge
n
: fi
x
re
g
_fortmp()
i
n
dent
a
t
i
o
n
commit
|
commitdiff
|
tree
2011-05-19
Ali
Gh
o
lami
R
u
di
n
cc: h
a
ndle
o
ver
l
apping co
n
d
i
tional ex
p
ressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami
R
u
di
ncc: make s
u
re t->a
d
d
r
=
=
0
b
efore calling
o
_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc: ignore th
e
semicolon after do-w
h
ile
commit
|
commitdiff
|
tree
2011-05-09
A
li Ghol
a
mi
R
ud
i
ncc: switch def
a
ult lab
e
ls when not app
e
aring at
t
h
e
end
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gho
l
ami
R
ud
i
nc
c
: opassign should use the ti
m
e
o
f lhs
commit
|
commitdiff
|
tree
2011-05-08
Al
i
G
h
olami Rudi
ncc:
m
ove nog
e
n
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li Gh
o
lami Rudi
ncc
:
always
i
niti
a
lize output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
h
olami Ru
d
i
R
EADME: ignored
k
e
ywo
r
d
s are now b
u
il
t
i
n
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
n
c
c: support -o
out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
R
udi
ncc: ha
n
dle exte
r
n function declarati
o
ns
ins
i
de functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Ghola
m
i Ru
d
i
ncc: handle extern v
a
r
i
able declarations in
s
ide function
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: move macros like
__S
T
DC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
Rudi
tok: handl
e
// comm
e
nts
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
n
c
c: ign
o
re the keyw
o
r
d
s neatcc doesn't care abo
u
t
commit
|
commitdiff
|
tree
2011-05-01
Ali Gh
o
lami Rud
i
gen: res
e
t last_cmp
i
n i_prolog(
)
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
G
h
o
lami R
u
di
gen: back-port
c
m
p+bcc optimiza
t
ion again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move o
p
c
odes to a
r
ch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
l
a
mi
Rudi
g
en
:
rename F
O
RK_
R
EG to R
E
G_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
am
i
R
udi
gen: pass
o
nly O_*
c
o
nstan
t
s to i_*(
)
f
u
nctions
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
gen:
h
an
d
le
sym+of
f
function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Rudi
g
e
n: move ar
c
h
i
tect
u
re-spe
c
i
fi
c
function
s
t
o the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
li Ghola
m
i R
u
di
g
en: use i_s
e
t() in
i
_
lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali G
h
olami Rudi
gen: p
a
ss the number of argum
e
nts to
o
_func_b
e
g()
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami Rudi
gen
:
enc
o
de 0xf0000000
as an im
m
ediat
e
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
Rudi
gen: s
w
ap t
h
e immedia
t
e if needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
Gholami Rudi
gen: encode cmp+immediat
e
instruct
i
ons
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami Rudi
ge
n
:
put the immediate in the
opcode if
p
ossible
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghola
m
i Rudi
gen:
r
em
o
ve
cmp+branch optimiz
a
tion; moved to opt bran
c
h
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Gholami
Rud
i
cpp: handle function macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami Rudi
g
en:
rename dat_
b
ss() and dat_dat() to b
e
g
i
n with o_
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholami Rudi
g
en: group
f
unctions i
n
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olam
i
Rudi
gen:
r
e
s
et last_set after c
m
p
+b optimizatio
n
commit
|
commitdiff
|
tree
2011-03-28
A
li Gh
o
lam
i
R
udi
gen:
f
i
x ~ o
p
erator im
p
leme
n
ta
t
ion
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
udi
n
cc:
dereferenc
e
f
unction pointers like any other v
a
riables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't remo
v
e
the l
a
s
t
r
e
t
u
rn ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't let o_cast() change derefer
e
nce
d
typ
e
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
h
olami Rudi
ncc:
use tok_jmp() instead
o
f to
k
_(see|get)(
)
in enum_create(
)
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
Rudi
ge
n
: handle large o
f
fsets
for s
t
r
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Gholami Rudi
g
en: replace TMP_REG* m
a
cros
wi
t
h
reg_f
o
r
tmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami
Rudi
gen: change
o
_nogen()/o_dogen() to be recu
r
si
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
o
l
a
mi Rudi
gen: don't generate excess
j
umps for the last retur
n
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gho
l
ami Rudi
gen: don't add
d
up
l
icate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Ru
d
i
gen: call tmp_to() in
f
or loading rhs in o_assing(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali
Gh
o
lami
R
udi
gen: ignore O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami
Ru
d
i
ge
n
: fix signed
division to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gholami
Rudi
ge
n
: merge decr
e
ment and check i
n
i_
m
emcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami Ru
d
i
gen: d
o
n't save v
a
riable r
e
gisters befor
e
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
am
i
R
udi
gen: add
s
oftware div/mod i
m
p
l
e
mentat
i
on
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gh
o
lam
i
Rudi
ncc: set
O
_SI
G
N f
o
r most binary
o
perations
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami Rudi
ncc: dereference the
n
ot expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gh
o
l
a
mi Rudi
perform
signed ope
r
ations if O
_
S
I
G
N
E
D bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
o
lam
i
Rudi
cpp: defin
e
__ar
m
__
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Rudi
ncc: do
n
'
t
c
ast the return va
l
u
e for void functions
commit
|
commitdiff
|
tree
2011-03-14
A
l
i G
h
olam
i
Rudi
g
e
n: mo
r
e
co
m
p
a
ct
versi
o
n
of memcp
y
()
and
m
emset()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
G
h
o
la
m
i
Rudi
gen
:
d
on't ou
t
put
relocat
i
o
n
s when o_n
o
gen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neat
c
c arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gho
l
ami Rudi
cl
e
an u
p
the
i
nterface be
t
ween ncc
.
c, gen
.
c
and ou
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp
:
remove comments
after
p
r
e
p
r
ocessi
n
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i Rud
i
c
pp: d
o
n't remove n
o
n-mac
r
o number s
i
g
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Rudi
npp: allo
w
using
n
ea
t
cc's pr
e
proce
s
so
r
as a
stan
d
a
l
one
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
G
holami Rudi
cpp:
don't skip
non-eol
m
a
c
ro
backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
h
olami Rudi
gen: fix op_rs()
optimization funct
i
o
n
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: u
s
e bett
e
r na
m
es for opcodes
commit
|
commitdiff
|
tree
2010-12-11
A
li G
h
olami
Rudi
cpp: de
f
ine __i386__; __x86_64__
i
s
n
o lon
g
er sup
p
orted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen:
l
oad the fi
r
s
t tmp
b
e
fore calling TM
P
_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rud
i
add
README
commit
|
commitdiff
|
tree
2010-08-13
Al
i
G
h
olami Rudi
n
c
c
: fix nam
e
->name str initia
l
iz
e
r
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gh
o
lami Rudi
allow exter
n
array declarat
i
ons without
s
ize
commit
|
commitdiff
|
tree
2010-07-29
Ali
Gholami R
u
di
cpp: inclu
d
e stddef
.
h for using offsetof(
)
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Gholami Rud
i
t
o
k
:
p
ar
s
e
uppercase hex numb
e
rs
commit
|
commitdiff
|
tree
next