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
Ali Gholami Rudi
n
pp: redefine
e
rr(
)
in npp
.
c
commit
|
commitdiff
|
tree
2012-01-25
Ali Gholami Rudi
Makef
i
le: x86_64 sho
u
ld b
e
x86
in
the comment
commit
|
commitdiff
|
tree
2012-01-06
Ali Gholami Ru
d
i
e
x
t
ract architecture independen
t
gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali
Gh
o
l
a
mi Rudi
experimenta
l
r
isc-like x86_
6
4 port
o
f ne
a
tc
c
commit
|
commitdiff
|
tree
2011-12-23
Ali Gholami Rudi
ncc: fix hand
l
ing func
t
ion poin
t
er types without a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Al
i
Gholam
i
Rudi
gen: complain if MAXJMPS
i
s reached
commit
|
commitdiff
|
tree
2011-12-09
Ali Gh
o
l
a
mi Rudi
gen: simplify
branch instruction
s
b
y
r
emoving o_filljmp(
)
commit
|
commitdiff
|
tree
2011-12-08
Ali
G
hola
m
i
R
udi
n
cc: supp
o
r
t
k
&r style function definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gh
o
lami Rud
i
out: use
r
el
.
*
name for
relocati
o
n sect
i
ons
o
n x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali
G
holami Ru
d
i
ncc: support (expr
,
expr) e
x
pression
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami R
u
di
cpp: fix evaluating intege
r
constan
t
s
commit
|
commitdiff
|
tree
2011-11-10
A
li Gholami Rudi
out: add a workaroun
d
f
or b
a
d lin
k
ers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makefile:
d
efault
t
o x86
b
uil
d
commit
|
commitdiff
|
tree
2011-11-08
Ali Ghol
a
mi Rudi
ncc: d
e
fi
n
e __i386__ for x86 buil
d
s
commit
|
commitdiff
|
tree
2011-11-08
A
l
i Ghol
a
m
i
Rudi
merge th
e
x8
6
port to m
a
s
t
er b
r
anch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
nc
c
: bette
r
char array initiali
z
ation
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholam
i
R
udi
out: ass
u
re 8-
b
yte alignme
n
t
o
f
d
a
t
a
and
bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali
G
holami
R
udi
tab: fix tab_del(); oth
e
rwise #undef
w
on'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 Gholami Rudi
ncc
:
handle s
w
itch stmt whe
r
e
d
ef
a
ult label appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali
Gholami Rudi
ncc: don't overwr
i
t
e
g
lobal n
a
m
es by st
a
tic fu
n
ctio
n
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami R
u
di
cp
p
: fix handling c
o
mm
e
nts and stri
n
gs ins
i
d
e ma
c
ros
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Rud
i
ncc:
h
andle empt
y
s
tatic in
i
tializers
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gholami Rudi
cpp: ignore comment
s
insi
d
e
s
tring macr
o
s
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Gholami Rud
i
neatcc
:
add a
n
cc
i
nv
o
cati
o
n script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
m
o
re verbose error mes
s
ages for m
i
s
s
i
ng
f
iles
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gholami Rudi
cpp: don't search
/
usr/i
n
clud
e
for
headers by default
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
holami Rudi
cpp:
m
erg
e
c
ur++
'
s in readarg(
)
commit
|
commitdiff
|
tree
2011-05-22
A
li Gholami
R
udi
gen:
f
i
x reg_fortmp() in
d
entati
o
n
commit
|
commitdiff
|
tree
2011-05-19
Al
i
Ghol
a
mi Rudi
nc
c
: handle overlappi
n
g condition
a
l expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gho
l
ami Rudi
ncc
:
ha
n
d
l
e
sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
n
c
c: make su
r
e
t
->addr == 0
before calli
n
g o_
p
o
p
num()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Ru
d
i
ncc: ignore
t
he semicolon
after do-whi
l
e
commit
|
commitdiff
|
tree
2011-05-09
Ali
Ghola
m
i R
u
di
n
cc: s
w
itch
default la
b
e
ls wh
e
n not appeari
n
g
a
t
t
he e
n
d
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Rudi
n
c
c: opassign
s
hould use
t
he time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Rudi
ncc: move
n
ogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: always initi
a
lize output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami
R
udi
README
:
i
g
nored keywords ar
e
now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami
R
udi
ncc: support -o
o
ut
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
ncc
:
h
andle ex
t
ern function declara
t
ions inside functions
commit
|
commitdiff
|
tree
2011-05-06
A
l
i
G
holami R
u
d
i
ncc: handle ext
e
rn
v
ariable declarations
i
nside functions
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholami Rudi
n
cc: move mac
r
o
s
lik
e
_
_STDC_
_
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami Rudi
tok: handle /
/
c
o
mments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: ignore the keywo
r
ds nea
t
cc doesn't care ab
o
ut
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami
Ru
d
i
gen: reset las
t
_cmp in i_pr
o
log()
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
ho
l
ami Rudi
gen: b
a
ck-port cmp+bcc optimi
z
a
tion again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Rudi
gen: move
o
pcodes to a
r
c
h
se
c
tion
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: re
n
ame FORK_REG to REG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: p
a
ss onl
y
O_* constan
t
s t
o
i_*() functio
n
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: h
a
ndle sym+off
f
unction calls
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gholami R
u
di
g
en: move archite
c
ture-
s
pec
i
fic
fun
c
ti
o
n
s
to the
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: use i_
s
et() in
i
_
l
not()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
g
e
n: pass
the number of arg
u
ments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
Rudi
gen: enco
d
e 0xf0000000 as an immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen
:
swa
p
t
h
e immediate if needed for ==
a
nd !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
e
n:
e
ncod
e
c
m
p+imme
d
ia
t
e instru
c
ti
o
ns
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rudi
gen: put the immediate
in the opc
o
de if possible
commit
|
commitdiff
|
tree
2011-03-30
A
l
i
G
holami
R
udi
ge
n
: remove c
m
p+b
r
anch optimization; moved to o
p
t
branch
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Gholam
i
Rudi
c
pp: han
d
le
function
macros with no arg
u
ments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
e
n: rename
d
a
t
_
b
s
s() and
dat_d
a
t() to begin with o
_
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i
Rudi
gen: gro
u
p functions
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i G
h
olami Rud
i
gen: r
e
set las
t
_set
a
fter
cmp+b opti
m
iz
a
tion
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
gen: fix ~ o
p
erator implementation
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
ncc: dereference function pointe
r
s l
i
ke any oth
e
r
variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
udi
gen: d
o
n't remo
v
e the last r
e
t
u
rn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don'
t
l
e
t o_cast() change
d
ereferenced type
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami
Rudi
nc
c
:
use tok_jmp() inst
e
ad
o
f
tok_(see|get)() in en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
gen: h
a
ndle l
a
rge offse
t
s for st
r
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi Rudi
gen: replace TMP_
R
EG* macro
s
w
i
th reg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami Rudi
gen: change o_nogen
(
)/o_do
g
en() to be
recursive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami R
u
di
g
en: don't gen
e
rat
e
e
xc
e
ss jumps for the
l
ast r
e
t
u
r
n
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
m
i Rudi
gen: don'
t
add
d
uplicate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghol
a
mi Rudi
gen: call tmp_t
o
() in for loading rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Al
i
Gholami Rudi
gen: ignore O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
holami Rudi
gen: f
i
x
sig
n
ed division t
o
n
e
g
ate th
e
re
m
ainder
commit
|
commitdiff
|
tree
2011-03-16
Al
i
Gholami Rudi
gen: merge
decrement and
c
he
c
k in
i_memc
p
y()
a
nd i_mem
s
e
t
()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
g
e
n
: don't
save variable reg
i
sters bef
o
re calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
gen: add so
f
tware div/m
o
d implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
olami Rudi
ncc: set O_SIG
N
f
or
most
bin
a
ry operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
ncc: dereference t
h
e not expression o
f
cexpr
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i
Rudi
perform signed ope
r
ations if O_SIG
N
ED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
cpp
:
define __a
r
m
__
commit
|
commitdiff
|
tree
2011-03-14
A
li G
h
o
lami
R
udi
ncc:
d
on't cast t
h
e
r
e
turn va
l
u
e for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi Ru
d
i
gen:
more compact version of memcpy() and me
m
set()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ge
n
:
don't output relo
c
ations when o_
n
ogen(
)
i
s called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gho
l
ami R
u
di
neatcc
a
rm
p
ort
commit
|
commitdiff
|
tree
2011-03-08
Ali Gho
l
ami R
u
di
clean up
t
he interface between
ncc
.
c,
gen
.
c and
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i Rudi
npp: remove comments aft
e
r
p
reprocessin
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghol
a
m
i
R
u
di
cpp: don't
remove
n
o
n-macro number sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
n
pp: allow
u
s
ing
n
e
atcc's preprocessor as
a standalo
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Ru
d
i
cpp: d
o
n'
t
skip non-e
o
l m
a
cro backslash
e
s
commit
|
commitdiff
|
tree
2010-12-18
Al
i
G
h
olami Rudi
gen: fix o
p
_
rs(
)
o
ptimizatio
n
f
un
c
tio
n
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami R
u
di
ge
n
: use better names for opco
d
es
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: defin
e
__i386__; __x86_64__ is
n
o
lon
g
er supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami
R
udi
gen: loa
d
t
he first tmp before
calling TMP_RE
G
2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
h
o
la
m
i
Ru
d
i
ncc: fix name->name str initi
a
lizer
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghol
a
mi Rudi
al
l
ow
extern
a
rr
a
y declarations w
i
thout siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: include
s
t
ddef
.
h f
o
r
u
s
ing offsetof
(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali
G
holami Ru
d
i
tok:
pa
r
se uppercase hex n
u
mbers
commit
|
commitdiff
|
tree
next