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
Ali Gholami Rudi
extract architecture indepen
d
ent gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
A
l
i Gho
l
ami
Rud
i
experimental
r
isc-like x86_64
p
ort of
n
eatcc
commit
|
commitdiff
|
tree
2011-12-23
A
l
i Ghola
m
i
R
udi
ncc: fix handling fu
n
ction po
i
nter types w
i
thout a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali
G
holami R
u
di
gen: c
o
m
p
lai
n
if MA
X
JMPS
is reached
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
gen: simplify branch instruc
t
ions by removi
n
g o_
f
ill
j
mp()
commit
|
commitdiff
|
tree
2011-12-08
Ali Ghol
a
mi Rudi
nc
c
:
suppo
r
t k
&
r st
y
le fu
n
cti
o
n
de
f
initio
n
s
commit
|
commitdiff
|
tree
2011-12-08
Ali
Gho
l
ami Rudi
out: use rel
.
*
n
ame f
o
r
r
e
location sections on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Al
i
Gholami
R
udi
ncc: su
p
port
(expr, exp
r
) expressio
n
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami
R
udi
cpp: fix e
v
aluatin
g
i
n
t
e
ger constants
commit
|
commitdiff
|
tree
2011-11-10
A
l
i Gholami Rudi
out:
add a
w
orkaroun
d
for
bad linke
r
s
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makefile: defau
l
t t
o
x86 build
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
ncc: define __i386__
for
x86 builds
commit
|
commitdiff
|
tree
2011-11-08
A
li
Gholami Rudi
m
erge the x86 port to master branch
commit
|
commitdiff
|
tree
2011-10-17
A
li Gh
o
lami Rudi
ncc:
b
e
tter char array
initialization
commit
|
commitdiff
|
tree
2011-10-17
Al
i
Gholami Rudi
out:
ass
u
re
8
-byte
a
lignment of data
a
nd
bss
section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami Rudi
tab: fix tab_del(); ot
h
erwise #und
e
f won'
t
work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami
R
udi
ncc:
call ts_de() in ts
_
pop_
d
e(
)
commit
|
commitdiff
|
tree
2011-06-04
Ali G
h
o
l
ami Ru
d
i
ncc: ha
n
dle
s
witch stmt where default label
a
ppears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
ncc: do
n
'
t
over
w
rite global names by static functio
n
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gh
o
lami Rudi
cpp: fi
x
han
d
ling
c
omments an
d
strings
inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
ncc: handle empty static initialize
r
s
commit
|
commitdiff
|
tree
2011-05-24
A
li Gholam
i
Rudi
cpp
:
ignor
e
comments inside st
r
ing
macros
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
h
olami Rudi
neatc
c
:
a
dd a
n
cc
inv
o
cation scri
p
t
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Ghola
m
i
Rudi
mor
e
verbose
er
r
or messages for missing files
commit
|
commitdiff
|
tree
2011-05-24
A
l
i G
h
ol
a
mi Rudi
cpp: don'
t
search
/usr/incl
u
de for
heade
r
s b
y
default
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
holami Rudi
cpp:
m
e
r
ge cur++'s in rea
d
arg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Ghola
m
i
Rudi
gen:
fix reg_fo
r
tmp
(
) indentation
commit
|
commitdiff
|
tree
2011-05-19
A
li Gho
l
ami
R
udi
nc
c
: h
a
n
dl
e
o
v
erlappin
g
cond
i
tional expressi
o
ns
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Ru
d
i
ncc: handle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
A
li
G
h
o
l
ami Rudi
ncc: make sure t->add
r
== 0
before calling o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali
Gholami Ru
d
i
ncc
:
ig
n
ore
t
he semicolon after do-while
commit
|
commitdiff
|
tree
2011-05-09
A
l
i Gho
l
a
mi Rudi
ncc: swi
t
ch default labels
when
not ap
p
earing at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi R
u
di
nc
c
: opassign should
u
se the time of l
h
s
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc:
m
ov
e
nogen
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
l
a
mi Rudi
ncc:
a
lways init
i
alize output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
R
E
ADME
:
i
g
nor
e
d keywords ar
e
now bui
l
t into
n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami R
u
di
ncc: supp
o
rt -
o
out
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
hola
m
i Rudi
ncc: handle extern f
u
nction de
c
larations
i
n
side functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholam
i
Rudi
ncc: handle exter
n
va
r
iable
decl
a
rations ins
i
d
e
f
unctions
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami
Rud
i
n
cc:
move macros lik
e
__STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholami Rudi
t
o
k: ha
n
dle //
comments
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholami Rudi
n
c
c: ignore th
e
keywords
n
eatcc do
e
s
n't care abou
t
commit
|
commitdiff
|
tree
2011-05-01
Ali Gh
o
lami Rud
i
gen:
r
eset l
a
st_cmp in i_pr
o
log()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
a
mi
Rudi
gen: back-p
o
rt cmp+bcc opti
m
i
zation aga
i
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: m
o
v
e
opcodes to
a
r
c
h
section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen:
r
e
name
F
ORK_
R
EG to REG_F
O
RK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
la
m
i Rud
i
g
en:
pass only O_* constants
t
o i
_
*
()
functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
gen: handle sym
+
o
f
f function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami R
u
di
gen: m
o
ve
architecture-specific fun
c
t
i
o
n
s
to
the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Ghola
m
i Rudi
gen: use i_set() in i_l
n
ot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: pa
s
s the num
b
er of ar
g
u
ments
t
o
o
_func_
b
e
g
()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami Rudi
gen:
encod
e
0xf0000000 as a
n
imm
e
diate
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
h
o
lami
Rudi
g
en: swap the
immed
i
ate if needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gho
l
a
mi Rudi
gen: encode cmp+
i
mmediate inst
r
uctions
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami Ru
d
i
g
e
n: put the immediate
i
n th
e
op
c
ode if possi
b
l
e
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholam
i
Ru
d
i
gen: remove
c
mp+branch optimization; mo
v
ed to
o
pt branc
h
commit
|
commitdiff
|
tree
2011-03-30
Ali
Gholami Rudi
c
p
p: handle function macros wit
h
no argum
e
nts
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
gen: rename dat_bss() an
d
dat_
d
at() to b
e
g
i
n with o_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rudi
gen: grou
p
funct
i
o
ns
in g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
gen: r
e
set last
_
set after c
m
p+b o
p
t
im
i
zation
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
ami R
u
di
gen:
fix ~ operator impleme
n
tation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
nc
c
: d
e
reference fu
n
ction pointer
s
l
i
ke an
y
ot
h
e
r
varia
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghol
a
mi Rudi
gen: don't remo
v
e the last return ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
Ali Gho
l
ami Rudi
g
en: d
o
n't let o_cast() change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rud
i
ncc: us
e
tok
_
jmp() instead of
t
ok_(see
|
ge
t
)
() in
e
num_cr
e
a
te()
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olami Rudi
gen: ha
n
dle l
a
rge offsets f
o
r
str
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holami Rudi
gen
:
r
e
p
lace TMP_REG* macros wi
t
h r
e
g_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i Rudi
ge
n
: change o_nogen(
)
/o_dogen() to be recurs
i
ve
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't ge
n
erate exc
e
ss jumps for the
l
ast return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
Rudi
gen: d
o
n't a
d
d
d
uplica
t
e d
a
t
a to numb
e
r
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen:
c
a
l
l tmp_to() in
f
or loading rh
s
i
n
o
_a
s
sing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rud
i
gen: ignore
O
_SIG
N
ED whe
n
c
hecking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Ghola
m
i Ru
d
i
g
en: fix s
i
gned di
v
ision to negate the remaind
e
r
commit
|
commitdiff
|
tree
2011-03-16
A
li
G
holami
R
udi
gen: merge decre
m
ent and check in i_
m
e
mcpy()
and
i
_mems
e
t()
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
o
l
a
mi Rudi
gen: don't save var
i
able regi
s
ters befor
e
calls
commit
|
commitdiff
|
tree
2011-03-15
Al
i
G
h
olami Rudi
ge
n
: add software div/mod i
m
plementat
i
on
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami
Rudi
n
cc: set O_SIGN for m
o
s
t
binary operati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i
Rudi
n
c
c
:
derefere
n
ce the not expression of
c
expr
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
perform signed operations
i
f O_SIGNED bit
i
s set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
am
i
R
udi
cpp
:
d
efin
e
__a
r
m__
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi R
u
di
ncc: d
o
n't
cast the return
valu
e
for void functions
commit
|
commitdiff
|
tree
2011-03-14
A
li Ghol
a
mi Rudi
gen: m
o
re
compact
version
of memcpy() an
d
memset()
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami
R
udi
gen: don't output relocations when o_nogen() i
s
ca
l
l
e
d
commit
|
commitdiff
|
tree
2011-03-13
Ali
Gholami Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali
Gholami Rudi
clean
u
p the interface b
e
twe
e
n ncc
.
c, gen
.
c and o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami Rudi
npp:
r
emove c
o
mments af
t
e
r
preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami
Rudi
cpp: do
n
't remove non-macro numbe
r
sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
R
u
di
np
p
: allow usin
g
neatcc
'
s preproc
e
sso
r
a
s
a sta
n
dalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami R
u
di
cpp: don't skip non-eol macro b
a
ckslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: f
i
x
o
p_rs()
o
pt
i
mization functi
o
n
commit
|
commitdiff
|
tree
2010-12-18
A
li
Gholami Rudi
g
en: use better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gho
l
ami Rudi
cpp: defi
n
e
_
_i
3
86__; __x
8
6_64__ is no longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali
G
holami Ru
d
i
g
e
n: loa
d
the first
tmp b
e
fore calling
T
M
P
_
REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
l
i G
h
olami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
R
udi
ncc: fix na
m
e
-
>name str
initializ
e
r
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
l
a
mi
R
udi
a
ll
o
w extern array dec
l
arations
w
ithout si
z
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gh
o
lami Rudi
cpp: incl
u
de stdde
f
.
h
f
o
r using
offsetof()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i
G
h
ola
m
i Ru
d
i
tok: parse up
p
erc
a
se hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: fix setting F_INIT for each de
f
ine
d
nam
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i Rudi
cpp: handle nested macro calls like M
(
M(
1
)
)
commit
|
commitdiff
|
tree
next