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
experimental risc-like x86_64 port of neatcc
2012-01-06
Ali G
h
olami Rudi
exp
e
rimen
t
al risc-like x86_64 port of neatcc
commit
|
commitdiff
|
tree
2011-12-23
Ali Gholami
Ru
d
i
ncc: fix hand
l
ing function
pointer types without a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Al
i
Gholami
R
udi
gen: complain if MAXJMPS is rea
c
hed
commit
|
commitdiff
|
tree
2011-12-09
Ali Ghol
a
mi R
u
di
gen
:
simplify
b
ranch i
n
structions by
r
emoving o_f
i
ll
j
mp(
)
commit
|
commitdiff
|
tree
2011-12-08
Ali
G
holam
i
R
u
d
i
ncc: s
u
pport k&r style function defini
t
ions
commit
|
commitdiff
|
tree
2011-12-08
A
li Gholami
Rudi
o
ut: use
r
e
l
.
* na
m
e
f
or relocation se
c
t
i
ons on x
8
6
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
A
l
i Gholami Ru
d
i
ncc: support
(expr, expr
)
expressio
n
commit
|
commitdiff
|
tree
2011-12-07
Ali Gho
l
ami Rudi
cpp
:
f
i
x evaluating inte
g
er const
a
nt
s
commit
|
commitdiff
|
tree
2011-11-10
A
li Gholami Rudi
out: add
a workar
o
u
nd for bad l
i
nkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makefil
e
: defa
u
lt to x86 build
commit
|
commitdiff
|
tree
2011-11-08
Ali G
h
olami R
u
di
ncc: defi
n
e __i3
8
6__ for x86 buil
d
s
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
merge
the x86 port to master br
a
nch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gho
l
ami Rudi
ncc: better char array in
i
ti
a
liz
a
tion
commit
|
commitdiff
|
tree
2011-10-17
Al
i
Gholami R
u
di
out: a
s
sure
8-byt
e
alignment o
f
d
a
ta
a
nd
bss se
c
t
i
on
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali
G
holami Ru
d
i
tab: fix tab_del(); otherw
i
se #un
d
e
f
w
on't
w
o
rk
commit
|
commitdiff
|
tree
2011-06-05
Ali G
h
olami Rudi
nc
c
: call ts_de() in ts_p
o
p_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholami Rudi
ncc: handle switch stmt where default label appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholam
i
Rudi
ncc: don't o
v
er
w
r
ite glo
b
a
l na
m
es by
s
tati
c
func
t
ion
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Al
i
Ghol
a
mi Rudi
cpp: fix han
d
ling
c
o
m
ments and strings insid
e
macro
s
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
h
o
lami
R
udi
ncc: handle empty
s
t
a
tic init
i
ali
z
ers
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
h
ol
a
mi Ru
d
i
cpp: i
g
nore comments
i
nside
string m
a
cros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholam
i
Rudi
nea
t
cc: add a ncc i
n
vo
c
ation s
c
ript
commit
|
commitdiff
|
tree
2011-05-24
A
l
i
Gholami Rudi
m
o
re ver
b
o
s
e erro
r
messages for mi
s
s
ing files
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gho
l
ami Rudi
c
pp: don't
s
e
arch
/
us
r
/i
n
c
lu
d
e for
h
ea
d
e
rs by default
commit
|
commitdiff
|
tree
2011-05-22
Ali Ghol
a
mi Rud
i
c
pp:
merge cur++'s in r
e
ada
r
g()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gho
l
ami R
u
d
i
g
e
n: f
i
x
reg_fortmp() inde
n
ta
t
ion
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handl
e
overlap
p
ing
c
onditional
expressions
commit
|
commitdiff
|
tree
2011-05-19
Al
i
Gholami Rudi
n
cc:
h
andl
e
size
o
f
x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
Ghola
m
i Rudi
ncc: mak
e
s
u
r
e
t->addr == 0 before call
i
ng o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami
R
ud
i
ncc
:
ignore the se
m
i
colo
n
after do-whi
l
e
commit
|
commitdiff
|
tree
2011-05-09
Ali
G
holami
R
udi
nc
c
:
switch default labels when not app
e
aring at the e
n
d
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lam
i
Rudi
ncc:
o
passi
g
n should us
e
th
e
time
o
f l
h
s
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
ncc
:
move
nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: always initialize output filen
a
m
e
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami
R
ud
i
README: ignored keywords are now built in
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
R
u
d
i
nc
c
: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
ola
m
i Rudi
n
c
c:
h
andle extern functio
n
declarati
o
ns inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami
R
u
di
ncc: handle extern variable declarations inside
functions
commit
|
commitdiff
|
tree
2011-05-04
A
li Gholam
i
Rudi
ncc: move macr
o
s lik
e
__ST
D
C__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
R
udi
tok: h
a
ndle /
/
comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
n
cc:
igno
r
e the keywo
r
ds neatcc doe
s
n't care about
commit
|
commitdiff
|
tree
2011-05-01
A
l
i Ghola
m
i Rudi
g
e
n: reset last_cmp in i_pr
o
log(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: back-port cmp+bcc
o
p
timizati
o
n ag
a
in
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami Ru
d
i
gen:
m
ove op
c
od
e
s to arch secti
o
n
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami
R
udi
gen: rena
m
e FORK_R
E
G to REG
_
FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
ol
a
mi
R
udi
gen: pass only
O_* const
a
nts t
o
i_*() functio
n
s
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gh
o
l
a
mi Rud
i
gen: handle
s
ym+off function c
a
lls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
u
d
i
gen: move architec
t
u
r
e-specific
f
u
n
ct
i
ons to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali G
h
o
lam
i
R
u
di
ge
n
:
use i_set()
in i_ln
o
t
(
)
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: pass
the number o
f
arguments to o_func_
b
eg()
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami Rudi
g
en: encode
0
x
f00
0
0000 as
a
n immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: swap the immediat
e
if
n
e
eded fo
r
==
and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen
:
encode cmp+immediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
Rudi
g
e
n
: put
t
he immediate in the opcode if possibl
e
commit
|
commitdiff
|
tree
2011-03-30
Ali
Gholami R
u
d
i
gen: remove cmp
+
b
r
anc
h
o
pti
m
izat
i
on; moved to op
t
b
r
a
nch
commit
|
commitdiff
|
tree
2011-03-30
A
li
G
hol
a
m
i Ru
d
i
cpp: handle fun
c
ti
o
n ma
c
ros with no
argumen
t
s
commit
|
commitdiff
|
tree
2011-03-28
A
li Gho
l
ami R
u
di
gen:
r
ena
m
e dat_bss()
and
d
at_dat()
t
o b
e
gin wit
h
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
gen: gro
u
p func
t
i
ons
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: reset la
s
t_se
t
after cmp+b optimiza
t
io
n
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami Rudi
g
e
n: fix ~ oper
a
tor i
m
plementati
o
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: derefer
e
n
c
e
functi
o
n point
e
rs like any othe
r
varia
b
le
s
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don
'
t remove the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't le
t
o_cast() change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc: us
e
t
ok_jmp() ins
t
ead of tok_(see|get
)
() in enu
m
_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi
R
udi
gen: handl
e
large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
gen:
r
eplace TMP_REG*
m
acros w
i
th
r
eg_fort
m
p
(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Ru
d
i
gen: c
h
ange o_nogen()/o_dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami R
u
di
gen:
d
on't genera
t
e exces
s
j
u
mps for the la
s
t return
commit
|
commitdiff
|
tree
2011-03-23
A
li Gh
o
lami Rud
i
g
e
n: don'
t
a
d
d
du
p
lica
t
e dat
a
to number pool
commit
|
commitdiff
|
tree
2011-03-20
A
li Gholami
Rudi
gen: call tmp_to() in for lo
a
ding rhs in o
_
assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Ru
d
i
gen: ignore O_SIGNED when checking the opc
o
de
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rud
i
gen: fix signed division to negate
t
he remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali G
h
ol
a
mi Rud
i
gen: mer
g
e decrement an
d
check in i_memcpy() an
d
i_me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
g
e
n: don't save vari
a
ble registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi
Ru
d
i
gen: add softwar
e
div/mod impleme
n
tation
commit
|
commitdiff
|
tree
2011-03-15
Al
i
G
h
o
lami Rudi
n
c
c
: set O_SIGN
for most bi
n
a
r
y operations
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
olami Rudi
ncc: dereference the not
e
xpress
i
on of c
e
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i
R
udi
perform signe
d
operation
s
if O_SIGNED bit is se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
hol
a
mi Ru
d
i
cp
p
: de
f
i
n
e __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rudi
ncc: do
n
't
cast the retu
r
n va
l
ue for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Ru
d
i
ge
n
: more compact version of memcpy() and
m
emset()
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholam
i
Ru
d
i
gen: don't output relocations whe
n
o_nog
e
n() is c
a
lled
commit
|
commitdiff
|
tree
2011-03-13
A
li G
h
olami Rudi
nea
t
c
c
arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali G
h
o
l
am
i
Rudi
c
lean up the
i
nterface between ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gh
o
lami
R
ud
i
npp
:
remo
v
e c
o
mmen
t
s aft
e
r
prepro
c
essing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami R
u
di
c
p
p
: don't remove non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rud
i
np
p
: allow using neatcc's preprocessor
a
s a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i
G
holam
i
Rudi
cpp: don't sk
i
p non-eol
m
a
c
ro bac
k
slashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
f
ix
o
p_
r
s()
optimiz
a
ti
o
n
f
unct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami
R
u
d
i
gen: use better na
m
e
s for opcode
s
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
ho
l
ami
Rudi
cpp
:
d
e
fine __i386__; __x86_64
_
_
is no long
e
r
s
uppo
r
t
e
d
commit
|
commitdiff
|
tree
2010-11-20
Al
i
Gh
o
lami
R
udi
g
e
n
: loa
d
the f
i
rst tm
p
bef
o
re c
a
lli
n
g TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholam
i
Rudi
add
R
EADME
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gholami Rudi
ncc
:
fix name->name str i
n
i
t
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
a
l
low extern a
r
ray
decl
a
rations
without size
commit
|
commitdiff
|
tree
2010-07-29
A
l
i Gh
o
lami Rudi
cpp: incl
u
de
std
d
ef
.
h for using off
s
etof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gh
o
lami Rudi
tok: parse upp
e
rcase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Gholami Rudi
ncc
:
fix setting F
_
INIT for
e
ach defi
n
ed name
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami
Rudi
c
p
p: handle nested macro calls like M(M(1
)
)
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
ola
m
i Rudi
tok: don't go
b
eyond buf l
e
n for 3-char
tokens
commit
|
commitdiff
|
tree
next