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
gen: simplify branch instructions by removing o_filljmp()
2011-12-09
Ali Ghol
a
mi Rudi
g
en: simplify branch inst
r
uctions by
re
m
ov
i
ng o_fi
l
ljmp()
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
n
c
c: supp
o
rt k&r st
y
l
e
f
unc
t
ion definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
ou
t
:
u
se r
e
l
.
* name for relocat
i
o
n sec
t
i
o
ns on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami
Rudi
ncc: s
u
pport (expr
,
expr) expression
commit
|
commitdiff
|
tree
2011-12-07
Ali Ghol
a
mi Rudi
cpp: fix evaluat
i
ng
in
t
eger const
a
nts
commit
|
commitdiff
|
tree
2011-11-10
Ali G
h
o
l
a
m
i
R
udi
ou
t
: add a
w
orkaround f
o
r bad
lin
k
er
s
commit
|
commitdiff
|
tree
2011-11-08
Ali
Gholami Rudi
M
akefile: default to x86 bui
l
d
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami R
u
di
ncc: define _
_
i386__ for x86 b
u
ilds
commit
|
commitdiff
|
tree
2011-11-08
Ali Ghol
a
m
i Rudi
me
r
ge th
e
x86 por
t
to master branch
commit
|
commitdiff
|
tree
2011-10-17
Ali G
h
olami Rudi
ncc: bet
t
e
r
char array init
i
alization
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
out:
a
ssure 8
-
b
y
te alignment of d
a
t
a
a
nd bss
section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
A
l
i
Ghola
m
i Rudi
tab:
f
ix
tab_del(
)
; otherwise #u
n
d
ef won't w
o
rk
commit
|
commitdiff
|
tree
2011-06-05
Ali G
h
o
l
ami Rudi
ncc:
call ts_d
e
() in ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Ghol
a
m
i
R
u
di
ncc: handle s
w
itch st
m
t
where default label
app
e
a
r
s
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami
R
udi
ncc: don't overwrite global n
a
mes by s
t
at
i
c function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali G
h
olami Rud
i
cp
p
:
f
ix handli
n
g comme
n
ts
a
n
d strings insid
e
ma
c
r
o
s
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
hol
a
mi Rudi
ncc: hand
l
e em
p
ty static initialize
r
s
commit
|
commitdiff
|
tree
2011-05-24
A
li
G
h
o
lami Rudi
cpp: ign
o
re c
o
m
m
en
t
s inside s
t
ring macros
commit
|
commitdiff
|
tree
2011-05-24
A
li Ghol
a
mi Rudi
neatcc: add a
ncc invocation scr
i
pt
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
ho
l
a
m
i Rudi
m
ore verbo
s
e err
o
r messages for missing f
i
les
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Rudi
c
pp: don't
searc
h
/usr/inc
l
ude for heade
r
s by default
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
holami Rudi
cpp: me
r
ge cur+
+
's in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Ghol
a
m
i Ru
d
i
gen:
f
ix reg_
f
ortmp() indenta
t
i
on
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
n
c
c
:
h
andle o
v
erlappi
n
g
conditional
e
xpr
e
ssions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: hand
l
e sizeof x
+
2
commit
|
commitdiff
|
tree
2011-05-11
A
l
i G
h
o
l
a
mi
R
udi
ncc: make sure t->addr == 0 before calling o_
p
opnum(
)
commit
|
commitdiff
|
tree
2011-05-11
Ali Gho
l
am
i
R
u
di
ncc: ignore
the se
m
icolo
n
a
fte
r
d
o
-while
commit
|
commitdiff
|
tree
2011-05-09
Ali G
h
olami Rudi
ncc:
s
witch defaul
t
labels whe
n
n
ot appearing
at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: opassi
g
n shou
l
d
use the time of lh
s
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami Rudi
ncc:
move noge
n
t
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: always in
i
tialize output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi Rudi
README: ig
n
o
r
ed keywords
a
r
e
no
w
built into
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li
G
hol
a
m
i Rudi
n
c
c
:
support
-
o o
u
t
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
h
o
lam
i
Rudi
ncc:
handle extern function declarations inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gh
o
lami Rudi
nc
c
:
h
a
ndle extern
va
r
iabl
e
declaration
s
inside functio
n
s
commit
|
commitdiff
|
tree
2011-05-04
Al
i
G
h
ola
m
i Rudi
ncc: m
o
v
e
m
acros like __S
T
DC__
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gh
o
l
ami Rudi
t
ok: ha
n
dle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
n
cc: ignore t
h
e keyw
o
rds neatcc doesn't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami R
u
di
gen: reset last_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
g
e
n
:
back
-
p
ort cmp+bcc optimization again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami Rudi
g
en: move opc
o
des to
ar
c
h section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami
R
udi
gen: re
n
ame FORK_R
E
G
t
o REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
gen
:
pass on
l
y O_* c
o
n
s
tants to i_*() fu
n
ct
i
ons
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gh
o
lami Rudi
gen: h
a
ndl
e
s
ym+off functio
n
calls
commit
|
commitdiff
|
tree
2011-04-29
A
li Ghol
a
mi
Rudi
gen:
m
ove architecture
-
specific functio
n
s
to th
e
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Gh
o
lami
R
udi
gen
:
u
s
e i_set()
i
n i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gholami Ru
d
i
gen: pass the numb
e
r
of arguments to o_func_b
e
g()
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami Rudi
gen: enco
d
e
0
xf0000000 as
a
n immed
i
ate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
s
wap the imm
e
diat
e
if needed for ==
a
n
d
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
g
e
n: encode
c
mp+imme
d
iate
instr
u
ctions
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami Rudi
gen: p
u
t the immedi
a
te in the
o
pcode
if p
o
ssible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
g
en: remove cmp
+
branc
h
optimization; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp: handle fun
c
tion macros wit
h
n
o
arguments
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Gh
o
l
a
mi
R
udi
gen:
renam
e
d
at
_
bss(
)
and da
t
_dat() to begin with
o
_
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami R
u
di
ge
n
:
g
r
oup functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
g
e
n: reset las
t
_
set after cmp+b op
t
i
m
ization
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Ghol
a
mi Rudi
g
e
n
: fi
x
~ operator imp
l
ementation
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gho
l
ami
R
u
d
i
ncc: dereference function
p
oin
t
ers like any other
v
ariabl
e
s
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gh
o
lami Rudi
gen:
don
'
t
remove
the l
a
st return
j
ump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Ru
d
i
gen:
don't let o_cast() ch
a
nge derefer
e
nced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc: use tok_jmp() ins
t
ead of
tok
_
(see
|
get)() in
en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali
Ghol
a
mi Rudi
gen: handle large offsets fo
r
str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: replace TMP_REG* macros with reg_fort
m
p()
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
gen
:
cha
n
ge
o
_nogen()/o_dogen() to be recur
s
ive
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holami
R
udi
gen: d
o
n't
g
enerate exc
e
ss jum
p
s for the last return
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
o
lami R
u
di
gen:
don't add dup
l
i
cat
e
da
t
a to number pool
commit
|
commitdiff
|
tree
2011-03-20
A
l
i
Gholami Rudi
gen: cal
l
t
m
p
_
to
(
) in for
l
oading r
h
s
in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: ignore O_
S
I
GNED
when checking the o
p
co
d
e
commit
|
commitdiff
|
tree
2011-03-17
Ali G
h
olami Rud
i
gen: fix
s
igned division to negate
t
he r
e
m
a
inder
commit
|
commitdiff
|
tree
2011-03-16
A
li Ghol
a
mi
R
udi
gen: merge decrem
e
n
t
and
c
heck
i
n i_memc
p
y
() and i_m
e
ms
e
t()
commit
|
commitdiff
|
tree
2011-03-15
A
li
Gholami Rudi
gen:
don't
s
a
ve vari
a
ble register
s
b
efo
r
e c
a
l
ls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ge
n
: add so
f
tware d
i
v/mod
i
mple
m
e
ntation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami Rudi
ncc: set O_SIGN for most binary ope
r
at
i
ons
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
ncc: dereference the not exp
r
e
s
s
i
o
n
of ce
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
perform s
i
gned oper
a
ti
o
ns i
f
O_SIGNED
bit is s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Rudi
cpp: define __arm_
_
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Ghola
m
i Rud
i
ncc: don't cast the ret
u
rn value for void fun
c
tion
s
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Ru
d
i
gen: more c
o
mpa
c
t version
o
f memc
p
y
() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
a
m
i Rudi
g
e
n
: don't output re
l
oc
a
tions when o_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghola
m
i Rudi
neatcc
arm port
commit
|
commitdiff
|
tree
2011-03-08
A
li Gholami Rudi
clea
n
up the interface
between ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rudi
npp:
r
e
move c
o
mments after
p
reproce
s
sin
g
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gh
o
lami
Rudi
cpp: d
o
n't remove non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Al
i
G
h
ol
a
mi Rudi
n
pp: allow
u
sin
g
neatcc
'
s preprocessor as a
stand
a
lone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
c
pp: don't skip non-eol macro
b
acks
l
a
s
hes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami R
u
di
gen:
f
i
x op_rs(
)
optimiz
a
tion function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami R
u
di
gen
:
us
e
better names for op
c
odes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Gholami Rudi
cpp: def
i
ne __i
3
86__;
__x86_64
_
_ i
s
no lon
g
e
r
supp
o
rted
commit
|
commitdiff
|
tree
2010-11-20
Ali
Gholami
R
udi
gen: load
t
h
e
f
irst
t
m
p be
f
ore callin
g
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add RE
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gho
l
ami Rudi
n
cc: fix name->name
st
r
initializer
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami Rudi
allow
e
xtern array
declarations
without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: include std
d
ef
.
h for using offset
o
f()
commit
|
commitdiff
|
tree
2010-07-28
A
li Gholami
R
udi
to
k
: parse
u
p
percase hex n
u
mb
e
rs
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: fix setting F_INIT fo
r
eac
h
defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami Rudi
c
p
p: handle n
e
ste
d
m
a
cro
c
alls li
k
e M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholami
R
u
d
i
tok: don't go
beyond buf len
for 3-cha
r
t
oke
n
s
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami Rudi
tab
.
h: use the s
t
andar
d
o
f
fseto
f
()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
u
d
i
ncc: fix c
a
lli
n
g
ts
_
pop() prematurely in o
p
a
ssign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholam
i
Rudi
gen: ig
n
ore the s
i
gn of th
e
second
operand in / and
%
commit
|
commitdiff
|
tree
next