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: exit if there is no room for more relocations or symbols
2014-08-17
Ali Gholami
R
udi
out: exit
i
f ther
e
is no room
f
o
r more reloc
a
tion
s
.
.
.
commit
|
commitdiff
|
tree
2014-05-13
Ali Gholami Rudi
ncc: describe what each f
i
le does in
i
t
s header
commit
|
commitdiff
|
tree
2013-11-07
Ali Gholami
R
ud
i
n
cc:
u
se label identifier
s
more carefully
commit
|
commitdiff
|
tree
2013-11-02
Ali Gholami
R
udi
ncc
.
h: increase a
r
ray limits f
o
r inexpensive r
e
sou
r
ces
commit
|
commitdiff
|
tree
2013-10-31
A
li Ghola
m
i Rud
i
cp
p
: u
s
e a
s
i
m
ple
hash table instead of tab struct
commit
|
commitdiff
|
tree
2013-10-31
Ali Gholami
R
u
di
to
k
: allow large ds sections and s
t
ring
t
ok
e
ns
commit
|
commitdiff
|
tree
2013-10-29
Al
i
Gholami Rudi
gen: mov
e
the mana
g
ement of d
s
[] to gen
.
c
commit
|
commitdiff
|
tree
2013-09-02
Ali G
h
olami R
u
di
nc
c
.
h:
m
ov
e
ar
r
ay l
i
mi
t
s
to ncc
.
h
commit
|
commitdiff
|
tree
2013-09-01
A
li
Gholam
i
Rudi
gen: m
o
ve the reg
i
ster allocation to reg
.
c
commit
|
commitdiff
|
tree
2013-07-30
Ali Ghol
a
mi Rudi
tok: read
'\08' as {'\0',
'
8'}
commit
|
commitdiff
|
tree
2013-07-30
A
l
i Gh
o
l
ami
R
udi
ncc:
c
all ts_a
d
dop() only for += and -=
commit
|
commitdiff
|
tree
2013-07-30
Ali Gholami Rudi
ncc: u
p
date
y
ear
commit
|
commitdiff
|
tree
2013-07-30
Al
i
Ghol
a
mi Rudi
gen
.
h
: f
i
x
a
comme
n
t typ
o
commit
|
commitdiff
|
tree
2012-07-05
Ali
Gholami Rudi
ncc: ha
n
dle + unary
op
e
rat
o
r a
s
in 1 + - +
-
1
commit
|
commitdiff
|
tree
2012-06-08
Ali Gholami Rudi
ncc: switch to the
m
odi
f
ied bsd license
commit
|
commitdiff
|
tree
2012-03-25
Ali Gholami Rudi
cpp: i
g
nore macros i
m
m
ediatel
y
following numbers
commit
|
commitdiff
|
tree
2012-02-03
Ali Gholami Rudi
tok: ignore "
\
\\n"
commit
|
commitdiff
|
tree
2012-02-02
Ali Gholami Rud
i
ncc:
s
tring l
i
terals are
a
rrays
commit
|
commitdiff
|
tree
2012-01-25
Ali Gholami Rudi
npp: redefine err() in
n
pp
.
c
commit
|
commitdiff
|
tree
2012-01-25
Ali Gholami Rudi
Makefil
e
:
x86
_
64 should be x86 in the
c
omment
commit
|
commitdiff
|
tree
2012-01-06
Ali
Gholami
R
ud
i
extract architecture indepen
d
ent gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali G
h
olami Rud
i
experimenta
l
risc-like x86_64 port of neat
c
c
commit
|
commitdiff
|
tree
2011-12-23
Ali
G
holami Rudi
ncc: fix handling function poin
t
er types without a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
gen: co
m
plain if MAXJMPS is reached
commit
|
commitdiff
|
tree
2011-12-09
Ali Gho
l
a
mi Rudi
gen: simplify branch instruc
t
ions by r
e
moving
o_fi
l
ljm
p
(
)
commit
|
commitdiff
|
tree
2011-12-08
A
l
i Gholami Rudi
n
c
c: suppo
r
t
k&r
s
tyl
e
f
unctio
n
definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
out: use rel
.
* na
m
e for relocat
i
on sectio
n
s on
x
8
6
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Ghola
m
i Rudi
ncc: support
(
expr, expr
)
expression
commit
|
commitdiff
|
tree
2011-12-07
Ali
G
holami Rudi
cpp:
fix evalu
a
t
i
n
g
integer
constants
commit
|
commitdiff
|
tree
2011-11-10
Ali Ghol
a
mi Rudi
out: add a workaround fo
r
bad
linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makefile: defau
l
t to x86 build
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rud
i
ncc: define __i386__ for x86
b
u
ilds
commit
|
commitdiff
|
tree
2011-11-08
Ali G
h
olami Rudi
merge the x86 port to
m
as
t
er branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami
R
u
di
n
c
c: bett
e
r char array
init
i
alization
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rud
i
out: assure 8-byte alignment of da
t
a an
d
bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami Rudi
tab: fix ta
b
_del()
;
otherwise #undef wo
n
't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rudi
ncc: ca
l
l ts
_
de
(
)
in ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Gh
o
lami Rudi
ncc: handle switch
stmt where de
f
ault l
a
bel app
e
ars
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
ncc:
don't
o
v
e
rwr
i
te
g
l
oba
l
names b
y
static function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami R
u
di
cp
p
: f
i
x
handling comments and strings insi
d
e macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami R
u
di
ncc: han
d
l
e
empty
s
tatic i
n
it
i
alizers
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Ghola
m
i R
u
di
cpp: i
g
nore comments inside string
macros
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gholam
i
Rudi
neatcc: add a
ncc inv
o
cati
o
n s
c
ript
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Rudi
more verbose error messages for mi
s
sing fil
e
s
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
h
olami Rudi
cpp: d
o
n
'
t search /usr/
i
n
c
lud
e
f
o
r headers by defau
l
t
commit
|
commitdiff
|
tree
2011-05-22
A
li Gholami Rudi
cpp: mer
g
e cur++'s in
r
e
ad
a
rg
(
)
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
h
o
lami R
u
di
gen: fix reg_fortmp()
i
nd
e
ntation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handle o
v
e
r
lapping
conditional e
x
pressio
n
s
commit
|
commitdiff
|
tree
2011-05-19
Ali Gho
l
ami Rudi
n
c
c: ha
n
dle sizeof x +
2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc: make sur
e
t->addr ==
0
b
efore
calling o_po
p
n
u
m()
commit
|
commitdiff
|
tree
2011-05-11
Ali
Ghola
m
i Rudi
ncc: ignore
t
he se
m
icolon after do-
w
h
ile
commit
|
commitdiff
|
tree
2011-05-09
Ali Ghol
a
mi Rudi
ncc:
swi
t
ch
default la
b
els when not appe
a
ring at t
h
e end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
R
udi
n
cc
:
op
a
s
sign should us
e
th
e
time
o
f lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: move nogen t
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami Rudi
n
c
c: always initial
i
ze output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
READM
E
: ignored keyw
o
rds a
r
e now built
int
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami
R
u
d
i
ncc: suppor
t
-o
o
ut
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi
R
udi
n
c
c
:
handle ex
t
ern function declarations
insid
e
functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Rudi
ncc: han
d
le extern varia
b
le dec
l
arations
insi
d
e functio
n
s
commit
|
commitdiff
|
tree
2011-05-04
A
l
i
Gholami Rudi
ncc: move
m
acro
s
like __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
ol
a
m
i
R
udi
tok: handle // comm
e
nts
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Ru
d
i
ncc:
i
gnore the keyw
o
rds neatc
c
d
o
esn't
care
about
commit
|
commitdiff
|
tree
2011-05-01
A
l
i Gholami Rudi
gen: reset
last_cmp in
i
_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
ud
i
gen
:
back-
p
ort cmp+b
c
c op
t
imization a
g
a
i
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
e
n: mov
e
opcodes t
o
ar
c
h
se
c
tion
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami Rudi
g
en: rename
F
OR
K
_
REG
t
o REG_FO
R
K
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholam
i
Rudi
gen: pass only O_
*
const
a
n
ts to i_*()
f
unctions
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Rudi
g
e
n:
h
andle
s
y
m
+off funct
i
on calls
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholam
i
R
udi
gen: move architecture-s
p
ecifi
c
functi
o
ns to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
li Gholami Rudi
g
e
n
:
u
se i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
A
li Gholami Rudi
gen: p
a
ss the numb
e
r
of
a
rguments
t
o o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
Rudi
gen:
enc
o
de 0xf0000000 as an immedi
a
te
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
Rudi
g
en: swap the immediate if nee
d
e
d
for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami Rudi
gen: encode cmp+immediate instructi
o
ns
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
gen:
p
ut th
e
immed
i
a
te in the opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi R
u
di
gen
:
remove
c
mp+branch
o
ptim
i
zat
i
on; move
d
to
o
pt
b
r
a
n
ch
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
holami R
u
di
cpp: handle functi
o
n macros
w
ith no argu
m
ents
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rudi
gen:
rename
d
a
t_bss()
and dat_dat()
to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
u
di
gen: group functions in
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
udi
gen: r
e
set last_set af
t
e
r cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rud
i
gen:
f
i
x ~ oper
a
tor impl
e
mentation
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gho
l
a
mi R
u
di
ncc: der
e
ference
f
u
n
c
tion point
e
rs like any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
u
d
i
ge
n
: don't re
m
ove the l
a
st return ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Rud
i
gen: don't
let o_c
a
s
t
()
ch
a
nge dereferenced
ty
p
e
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami Rudi
n
cc: use tok
_
jmp() in
s
tead o
f
tok_(see|get)() in
e
num_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
hol
a
mi Ru
d
i
gen: ha
n
dle large offs
e
ts f
o
r str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen:
re
p
lace
T
MP_REG* macros wi
t
h reg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
h
olam
i
Rud
i
gen:
c
hange o_nogen()/o_dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Ru
d
i
gen:
don't gene
r
ate exce
s
s jumps for the last r
e
turn
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi
R
udi
gen: don'
t
add du
p
li
c
ate data t
o
num
b
er pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
ge
n
: c
a
ll tm
p
_to() i
n
for loading rhs in o_assi
n
g()
commit
|
commitdiff
|
tree
2011-03-20
Ali
Gholami Rudi
gen:
ignore O_
S
IGNED
when checkin
g
the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Ghola
m
i R
u
di
gen: fix signed d
i
v
isio
n
to negate the
r
emainder
commit
|
commitdiff
|
tree
2011-03-16
Al
i
Gholami Rudi
gen: merge decrement and
chec
k
in i_m
e
mcpy() and i_memset
(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholam
i
Rudi
gen:
do
n
't save variab
l
e registers before ca
l
ls
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
m
i
R
udi
ge
n
:
add software div/mod i
m
plement
a
ti
o
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Ru
d
i
ncc:
s
et O_
S
IGN for m
o
s
t
b
inary
operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
R
u
di
ncc: deref
e
rence the
n
ot e
x
pressi
o
n
of c
e
xprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
perform
s
i
gn
e
d ope
r
a
tions if O_SI
G
NE
D
b
i
t is set
commit
|
commitdiff
|
tree
2011-03-14
A
li
G
h
ol
a
mi Rudi
c
pp: d
e
f
ine __a
r
m__
commit
|
commitdiff
|
tree
next