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
x86: inline mov_m2r()
2014-09-25
Ali Gholami Rudi
x86: inline mov_m2r()
commit
|
commitdiff
|
tree
2014-09-25
Ali Gholam
i
Rudi
Makefile:
r
emove
npp in clean target
commit
|
commitdiff
|
tree
2014-09-05
Ali
G
holami Ru
d
i
ncc: alwa
y
s call ts_p
u
s
h
_
bt() a
f
t
e
r
per
f
orming gen
.
.
.
commit
|
commitdiff
|
tree
2014-08-17
Ali
G
holami R
u
di
out: exit if there is no room for more r
e
locat
i
o
n
s
.
.
.
commit
|
commitdiff
|
tree
2014-05-13
Ali G
h
olami
R
udi
ncc: desc
r
ibe what
e
ach file
does in its header
commit
|
commitdiff
|
tree
2013-11-07
A
li Gholam
i
Rudi
ncc: use
l
a
bel identifiers more care
f
u
lly
commit
|
commitdiff
|
tree
2013-11-02
Ali Gholami Rud
i
ncc
.
h: increa
s
e
a
rra
y
limits f
o
r inexpe
n
sive resou
r
ces
commit
|
commitdiff
|
tree
2013-10-31
Ali Gh
o
lami Rudi
cpp: use a simple hash
table instead of t
a
b
struct
commit
|
commitdiff
|
tree
2013-10-31
A
l
i G
h
o
lami Rudi
tok
:
a
l
l
ow large d
s
sections and string t
o
kens
commit
|
commitdiff
|
tree
2013-10-29
Ali Gho
l
ami Rudi
g
e
n: move the mana
g
ement of ds[]
t
o gen
.
c
commit
|
commitdiff
|
tree
2013-09-02
Ali Gholami Rudi
n
cc
.
h: mo
v
e arra
y
l
i
m
its to ncc
.
h
commit
|
commitdiff
|
tree
2013-09-01
Al
i
Gholami Rudi
g
e
n: move the
register allocati
o
n to reg
.
c
commit
|
commitdiff
|
tree
2013-07-30
Ali Gho
l
ami Rudi
tok:
r
ead
'\08' as {'\0', '
8
'}
commit
|
commitdiff
|
tree
2013-07-30
Ali Ghola
m
i
Rudi
ncc:
c
a
l
l
ts_a
d
dop()
o
nly for += and -=
commit
|
commitdiff
|
tree
2013-07-30
Al
i
Gholami
R
udi
ncc
:
upda
t
e year
commit
|
commitdiff
|
tree
2013-07-30
Ali G
h
olami Ru
d
i
gen
.
h
:
fix a commen
t
t
ypo
commit
|
commitdiff
|
tree
2012-07-05
Al
i
Ghola
m
i Rudi
ncc: handle + unary
operato
r
as
in 1
+
-
+ - 1
commit
|
commitdiff
|
tree
2012-06-08
Ali Gholami
Ru
d
i
ncc: s
w
itch t
o
the
modifie
d
bsd
l
icense
commit
|
commitdiff
|
tree
2012-03-25
Ali Ghola
m
i Rudi
c
pp: ig
n
ore ma
c
r
o
s immedi
a
tel
y
f
o
llowing numbers
commit
|
commitdiff
|
tree
2012-02-03
Ali
Gholami
R
udi
tok: ign
o
re "\\
\
n"
commit
|
commitdiff
|
tree
2012-02-02
A
li Gholam
i
Rudi
ncc: str
i
ng literal
s
a
r
e a
r
rays
commit
|
commitdiff
|
tree
2012-01-25
Ali Gh
o
l
a
mi Rudi
npp: redef
i
ne err() in npp
.
c
commit
|
commitdiff
|
tree
2012-01-25
A
l
i Gholami R
u
di
Makefile
:
x86_64 should be x8
6
i
n
th
e
com
m
ent
commit
|
commitdiff
|
tree
2012-01-06
Al
i
Gholami
Rudi
extr
a
ct
a
rchitec
t
u
re
in
d
e
pende
n
t ge
n
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali Ghol
a
mi
Ru
d
i
experimenta
l
risc-like x86_64 po
r
t o
f
neatcc
commit
|
commitdiff
|
tree
2011-12-23
Ali Gholam
i
Rudi
ncc: fix handling function pointer types withou
t
a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
A
li Gholami
Rudi
gen: complain i
f
MAX
J
MPS is reached
commit
|
commitdiff
|
tree
2011-12-09
Ali Ghol
a
mi Rudi
g
e
n:
s
i
m
pl
i
f
y
br
a
nch inst
r
uctions by removing
o
_fillj
m
p
()
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
ncc: supp
o
rt k&r style
f
unction definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali
Gholami Rudi
out: use
r
el
.
* name f
o
r reloc
a
t
ion sections on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami
Rudi
ncc: support
(
e
xpr, expr
)
e
x
pression
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholam
i
Rud
i
c
pp: f
i
x evaluating inte
g
er
constants
commit
|
commitdiff
|
tree
2011-11-10
Ali Gho
l
ami
R
udi
o
ut: a
d
d a wor
k
around fo
r
bad linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makefile:
defaul
t
t
o
x86 build
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
ncc
:
defin
e
_
_
i386__ for x86 builds
commit
|
commitdiff
|
tree
2011-11-08
A
li Gholami Rudi
merg
e
t
h
e x8
6
port t
o
master branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami
Rud
i
n
c
c: better char arr
a
y initi
a
lization
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
out: as
s
ure 8-byte align
m
ent of data a
n
d
bs
s
sec
t
ion
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Al
i
Gholami Ru
d
i
tab: fi
x
tab_del(); othe
r
wis
e
#un
d
ef
won
'
t work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholam
i
Rudi
ncc:
ca
l
l ts_de
(
) in ts
_
pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholami R
u
di
ncc: h
a
ndle switch stmt where defau
l
t
l
abel appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
li Gholami Rudi
n
c
c: d
o
n'
t
ov
e
rwrite
gl
o
b
al names by static function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Ghola
m
i Rudi
c
pp:
fix
h
andli
n
g com
m
ents and
stri
n
gs
i
nside macr
o
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghol
a
mi Rud
i
ncc: ha
n
d
l
e
e
m
pty static initializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
lam
i
Rudi
cpp: ignore co
m
ments inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghol
a
mi Rudi
neatcc
:
a
dd
a
ncc invocatio
n
script
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
ho
l
a
m
i
Ru
d
i
more
verb
o
se error messages fo
r
missing files
commit
|
commitdiff
|
tree
2011-05-24
A
li Ghola
m
i Rud
i
c
p
p: don't se
a
rch /usr
/
inc
l
ude
f
or header
s
b
y default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gho
l
ami Rudi
cpp: merge cur+
+
's in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gh
o
l
ami Ru
d
i
gen: fix
reg_fortmp() indentation
commit
|
commitdiff
|
tree
2011-05-19
A
l
i Gholami
Rudi
ncc: handle
o
ve
r
lapping conditional expressio
n
s
commit
|
commitdiff
|
tree
2011-05-19
Ali Gho
l
ami Rudi
ncc:
h
andle
s
izeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Ru
d
i
ncc:
m
ake su
r
e t->addr
=
=
0 before
c
all
i
ng o_
p
opnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali
G
hol
a
mi Rudi
ncc: ignore the
se
m
icolo
n
after d
o
-
w
hile
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
ncc
:
switch default
labels when not
a
ppearing at the
e
nd
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
n
c
c
: opass
i
gn should
u
se
t
he time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami Rudi
ncc: m
o
ve
nogen to
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi Rudi
nc
c
: always initialize
o
u
tput filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
R
EADME: i
g
nored k
e
ywords
are
n
o
w
built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
h
olami
Rudi
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami R
u
di
ncc: handle exte
r
n f
u
n
ction
d
eclarations
insi
d
e
fu
n
ctions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gho
l
ami Ru
d
i
ncc: handle extern variable declarations
inside functions
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Ghol
a
mi
Rudi
ncc: move
macros l
i
ke __STDC__
to
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
li
Gholami Rudi
tok: handle //
c
o
mments
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
hol
a
m
i
Rudi
ncc: i
g
n
o
r
e the keywo
r
ds neatcc d
o
esn't
care about
commit
|
commitdiff
|
tree
2011-05-01
Al
i
Ghola
m
i Ru
d
i
g
en: reset last_c
m
p in i
_
p
rol
o
g()
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami Rudi
gen: back-po
r
t cmp+bcc optimization
a
gai
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
en: move o
p
codes
to a
r
ch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami Rudi
gen
:
rename
FORK_RE
G
to R
E
G_
F
OR
K
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gh
o
la
m
i
Rud
i
g
en: p
a
ss only O_* constants to i_*() function
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
m
i Rudi
g
e
n
:
handle s
y
m+o
f
f functio
n
calls
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami Rudi
gen: move archi
t
ect
u
r
e
-specific fun
c
tions
t
o
the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen:
u
se
i
_
s
et() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami
R
udi
ge
n
: pas
s
t
h
e
n
umber of arguments to o
_
f
u
nc
_
b
eg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: enc
o
d
e 0xf000
0
000 as an imm
e
diate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
gen: swap
t
h
e i
m
mediate if
n
eed
e
d for == and
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
gen: encode cmp+immediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami Rudi
g
en: put the immediate in
the opco
d
e if poss
i
ble
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
holami Rudi
gen: rem
o
ve cm
p
+branch optimization; m
o
ve
d
to opt
b
ranch
commit
|
commitdiff
|
tree
2011-03-30
A
li Gho
l
ami
R
ud
i
cpp: handle function mac
r
os w
i
th no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
ol
a
mi Rudi
gen:
r
ena
m
e dat_bss()
a
n
d
d
at
_
d
a
t
() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gho
l
a
mi Rudi
gen: gro
u
p
functions in
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami R
u
di
g
en: reset
l
ast_
s
e
t after
cmp+b optimi
z
ation
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: fix ~ operator
i
mplementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
Rudi
ncc: deref
e
rence function point
e
rs like any oth
e
r variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami Rudi
gen: don
'
t re
m
ove the last
r
eturn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami Rudi
g
en: don't let o
_
cast(
)
change derefere
n
ce
d
t
ype
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olam
i
R
udi
n
c
c: use tok_jmp() instead
o
f
t
ok_(see|get)()
i
n enu
m
_create()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Ghol
a
mi Rudi
gen:
h
andle large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
gen: replace TMP_R
E
G* macros with reg
_
f
o
rtmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
h
o
lami Rudi
gen: c
h
ang
e
o_nogen()/o_dogen() to be
r
ecur
s
ive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don'
t
generate excess jum
p
s
f
or t
h
e
l
ast return
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami Rudi
gen: don't ad
d
dupl
i
cate
d
a
t
a t
o
n
u
mber pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami
Rudi
gen: call t
m
p_to() in for l
o
ading rhs
i
n o_
a
ssing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami
R
udi
gen
:
ignore O_SIGNED when ch
e
cking
t
he
opcode
commit
|
commitdiff
|
tree
2011-03-17
Al
i
Gh
o
l
a
mi Rudi
gen: fix signed
d
ivisio
n
t
o negat
e
the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Ru
d
i
gen:
merge decrement and
c
heck
in i_memcp
y
() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen
:
don't
s
a
ve varia
b
le
r
egisters befo
r
e calls
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
gen: add sof
t
ware div/mod
implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
l
ami Rudi
n
c
c
: set O_SIGN for most binary
o
perations
commit
|
commitdiff
|
tree
next