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
extract architecture independent gen.c
2012-01-06
A
l
i Ghol
a
m
i
R
udi
extract architect
u
re indep
e
ndent gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
A
l
i Gholami Rudi
experime
n
tal risc
-
like x8
6
_64 p
o
rt of neatcc
commit
|
commitdiff
|
tree
2011-12-23
A
l
i Gholami Rudi
ncc: fi
x
ha
n
dling function pointer types
w
ithout a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
g
e
n: complain if MAXJMPS is
r
e
a
ched
commit
|
commitdiff
|
tree
2011-12-09
Ali Ghol
a
mi
R
udi
g
e
n: simplify b
r
an
c
h instructions by removing o
_
fill
j
mp()
commit
|
commitdiff
|
tree
2011-12-08
Ali
G
hol
a
mi Rudi
n
c
c: s
u
p
p
or
t
k&r style function
definitio
n
s
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
out: use rel
.
* name for relocation s
e
ctions
o
n x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholam
i
Rudi
n
cc:
suppo
r
t
(expr, expr) expression
commit
|
commitdiff
|
tree
2011-12-07
Ali
G
h
ola
m
i
R
u
di
cpp: fix evaluating int
e
ger c
o
n
s
t
a
n
ts
commit
|
commitdiff
|
tree
2011-11-10
A
l
i Gholami
R
u
di
o
u
t: add
a
wor
k
ar
o
und for bad linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali
Gholami Rudi
Makefile: default to x86 build
commit
|
commitdiff
|
tree
2011-11-08
Ali Gho
l
ami Rudi
ncc: define __i386__ for x86 build
s
commit
|
commitdiff
|
tree
2011-11-08
Ali Gh
o
lami
R
udi
merge the x86 port to maste
r
branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
ncc: better c
h
ar array initi
a
l
i
zation
commit
|
commitdiff
|
tree
2011-10-17
Ali Gh
o
lami Rudi
out
:
assure 8-byte alignment o
f
data and bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gho
l
ami
R
udi
tab:
f
ix tab_del(); otherw
i
se
#
undef won't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rud
i
ncc: call ts_de(
)
in ts_pop_d
e
()
commit
|
commitdiff
|
tree
2011-06-04
A
li Gholami Ru
d
i
n
cc: hand
l
e switc
h
stmt
w
h
e
re d
e
fault label appea
r
s
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali
G
holami Rudi
n
cc: don't ove
r
wri
t
e g
l
obal names by static function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i
G
hol
a
mi Rudi
cpp: fix h
a
ndling
comme
n
ts and str
i
ngs in
s
ide macro
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
ncc:
handle empty
static initialize
r
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Ru
d
i
c
pp: ignore comments insi
d
e strin
g
ma
c
ros
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gho
l
ami Rudi
n
eatcc: add a n
c
c invo
c
a
ti
o
n
scr
i
p
t
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
R
udi
m
or
e
verbose error me
s
sage
s
for missi
n
g files
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holami Rudi
cpp:
d
on't search /usr/in
c
l
u
de for headers b
y
d
efault
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
holami Rudi
c
p
p: merge cu
r
++'s in r
e
adarg()
commit
|
commitdiff
|
tree
2011-05-22
Al
i
Ghol
a
mi Rudi
g
e
n: fix reg_fortmp(
)
indentation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gho
l
ami Rudi
ncc: handle
ove
r
lappi
n
g con
d
i
t
ional expressi
o
ns
commit
|
commitdiff
|
tree
2011-05-19
Ali Gh
o
lami Ru
d
i
n
cc: ha
n
dle sizeof x
+
2
commit
|
commitdiff
|
tree
2011-05-11
Ali Ghol
a
mi Rudi
ncc: make sur
e
t
->addr == 0 before cal
l
ing o_popnum(
)
commit
|
commitdiff
|
tree
2011-05-11
Ali G
h
olami Rudi
ncc: ignore the
semico
l
on after do-while
commit
|
commitdiff
|
tree
2011-05-09
A
li Gho
l
ami Rudi
ncc:
s
witc
h
default
l
a
bels w
h
en not
a
ppearing
at
the en
d
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi
Rudi
ncc: opassign should
use the time
of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: a
l
ways initialize o
u
tput
f
i
l
ena
m
e
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami R
u
d
i
README: ignored keywords are now built int
o
n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li
Gho
l
am
i
Ru
d
i
ncc: support -o o
u
t
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc
:
handle extern function dec
l
a
rations
inside funct
i
o
n
s
commit
|
commitdiff
|
tree
2011-05-06
Ali Gho
l
ami R
u
di
n
cc
:
hand
l
e
extern v
a
riable declarations in
s
ide
f
u
nctions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc:
move macros li
k
e __STDC__ to nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gho
l
ami Rudi
tok: handle /
/
c
o
mment
s
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
olami
R
u
di
ncc: ignore the ke
y
word
s
neatcc
doe
s
n't care abo
u
t
commit
|
commitdiff
|
tree
2011-05-01
A
l
i
G
h
o
l
ami Ru
d
i
gen: re
s
e
t
l
ast_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: back-por
t
cmp+bcc
o
ptimization agai
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Rudi
gen: move opco
d
es
t
o
arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: rename FORK_REG to
REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rudi
gen:
pass only
O
_* const
a
nts
t
o i_*(
)
function
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
en: handle sym+off func
t
ion calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami Rudi
gen: move architecture-specific fu
n
ctions to t
h
e end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Gholami Rud
i
gen:
use i_set() in i
_
lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghola
m
i Rudi
ge
n
:
p
a
ss
t
he
n
um
b
er of ar
g
uments to o_fu
n
c_b
e
g()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
Rudi
gen: encode 0xf0000
0
00
a
s
a
n immediate
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami R
u
di
gen: swap
the imme
d
iate if needed
for == and
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
R
u
d
i
gen: encode cmp+immediate inst
r
uctions
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
mi Rudi
gen
:
p
u
t
the imm
e
diate
i
n
the
opcode if possi
b
le
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
ami Rudi
gen: remove cmp+branch optimization; mo
v
ed to o
p
t branch
commit
|
commitdiff
|
tree
2011-03-30
A
li
G
holami
R
udi
cpp:
h
a
n
d
le
f
unction macros
w
ith n
o
ar
g
ument
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
gen: rena
m
e dat
_
bss() and d
a
t
_
dat() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: grou
p
functions
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
r
e
s
e
t
l
ast_set
after cmp
+
b optim
i
zati
o
n
commit
|
commitdiff
|
tree
2011-03-28
Al
i
G
h
olami Ru
d
i
gen: fix ~ op
e
rator implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
n
c
c
: dereference f
u
nction
pointers
l
ike an
y
o
t
her varia
b
les
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Rudi
g
e
n: don't remove the last return ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't let
o_cas
t
()
c
h
ange derefe
r
en
c
ed typ
e
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholam
i
Rud
i
ncc: us
e
t
o
k
_
jmp
(
) ins
t
ead of tok_(see|get)() in enum_cre
a
te()
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gho
l
ami Rudi
gen: handle large offsets f
o
r str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami R
u
di
gen: replace TMP_REG*
m
acros with r
e
g
_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olam
i
R
u
di
gen:
c
h
ange o_
n
ogen
(
)
/
o
_
d
oge
n
(
)
to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gh
o
lami Rudi
gen: don't
g
enerate exces
s
jumps for the
l
a
st
r
eturn
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi
R
udi
gen: don
'
t a
d
d duplicate
data
t
o number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
lami
R
udi
gen: cal
l
tmp_to()
in for loading rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami
R
udi
gen: ignore O_SIGNED
w
hen ch
e
ckin
g
the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen
:
fix
s
igned divisi
o
n
to n
e
gat
e
t
h
e rem
a
inder
commit
|
commitdiff
|
tree
2011-03-16
Ali Ghola
m
i Ru
d
i
gen
:
merge dec
r
ement and check i
n
i_memcpy() a
n
d i_memset()
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gh
o
lami Rudi
gen: don't save
variable r
e
giste
r
s before
calls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami
R
u
d
i
ge
n
: add software div/m
o
d
i
mplementat
i
on
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lam
i
Rudi
ncc
:
set O_SIGN for
m
o
st binary o
p
e
rations
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
G
holami Ru
d
i
ncc: dereference the not
e
xp
r
ession o
f
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami Rudi
perform signed
o
p
e
rations
i
f
O_
S
IGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
G
h
ol
a
mi
Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
u
di
n
c
c
: don'
t
c
ast the return va
l
ue for void
funct
i
ons
commit
|
commitdiff
|
tree
2011-03-14
A
li Gh
o
lami Rudi
g
en: more compact version of memcpy()
a
nd memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Ru
d
i
gen: don't output
r
elo
c
at
i
ons when o_no
g
e
n() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
c
l
e
a
n up the
i
nterface b
e
twee
n
ncc
.
c,
g
en
.
c and o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami Ru
d
i
n
p
p
:
remove comments after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami Rudi
cpp: don't
r
emo
v
e non-m
a
cro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami
R
u
di
npp: allow u
s
i
n
g
nea
t
cc'
s
prepr
o
cesso
r
as a standal
o
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gh
o
lami Rudi
cpp:
don't skip non-eol macro back
s
lashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
Rudi
gen: fix op
_
rs() optimizatio
n
function
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Ghola
m
i
Rudi
gen: use
better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: de
f
ine
_
_i386
_
_
;
__x86_64__ is no longer supported
commit
|
commitdiff
|
tree
2010-11-20
Al
i
Gh
o
lami Rudi
gen: load the first t
m
p
b
e
fore calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali
G
hola
m
i Rudi
add READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
hol
a
m
i Rudi
nc
c
: fix n
a
m
e
-
>
n
ame
s
t
r
ini
t
i
a
lizer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow extern ar
r
a
y
declaration
s
without siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghol
a
mi Rudi
c
pp:
includ
e
stddef
.
h for
using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gho
l
ami Rudi
tok:
p
arse uppe
r
case hex nu
m
b
ers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: fix
s
etting F_INI
T
for each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
olami Rud
i
cpp: handle nested m
a
cro call
s
like M(M(1))
commit
|
commitdiff
|
tree
next