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
ncc: string literals are arrays
2012-02-02
A
li Gholami Rudi
ncc:
s
t
r
ing literals a
r
e a
r
ray
s
commit
|
commitdiff
|
tree
2012-01-25
Ali Ghola
m
i Rudi
npp: redefin
e
err() in npp
.
c
commit
|
commitdiff
|
tree
2012-01-25
Ali Gho
l
ami R
u
di
Makefile: x86
_
64 should be x86 in
t
he comment
commit
|
commitdiff
|
tree
2012-01-06
Ali Gholami Ru
d
i
e
x
tract
architec
t
u
r
e independent
gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali Gholami
R
udi
e
xperimental risc-like x86_64
p
ort o
f
ne
a
t
c
c
commit
|
commitdiff
|
tree
2011-12-23
A
li Gholami R
u
di
ncc: fix han
d
ling
f
unc
t
ion
p
o
i
nter ty
p
e
s without a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gh
o
la
m
i R
u
di
gen
:
c
o
mp
l
a
in if MA
X
JMPS i
s
reached
commit
|
commitdiff
|
tree
2011-12-09
Ali Ghola
m
i
Rudi
gen: simplify
b
r
anc
h
instructions by
removing o_filljmp()
commit
|
commitdiff
|
tree
2011-12-08
Ali G
h
o
lami Ru
d
i
ncc: supp
o
rt k&r style funct
i
on definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
out: use rel
.
*
n
ame for relo
c
at
i
on s
e
cti
o
ns
on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rudi
ncc: support (expr, expr) express
i
on
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami
R
udi
cpp
:
fi
x
evaluating
i
nteger constants
commit
|
commitdiff
|
tree
2011-11-10
A
l
i Gholami R
u
di
ou
t
:
add a workaround f
o
r
bad linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makefile: de
f
ault to x86
build
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Ru
d
i
n
c
c: def
i
ne
__i386__ for
x8
6
builds
commit
|
commitdiff
|
tree
2011-11-08
A
li Gholami
Rudi
merge the x86 port
to master branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Ghol
a
m
i Rudi
ncc: be
t
t
er char
a
rray init
i
alization
commit
|
commitdiff
|
tree
2011-10-17
Ali Gho
l
ami
R
udi
out: ass
u
re 8-byte alignment of data and b
s
s secti
o
n
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami Ru
d
i
tab: fix tab_del(); otherwise
#un
d
ef won't wor
k
commit
|
commitdiff
|
tree
2011-06-05
Ali G
h
olami Rudi
n
c
c: c
a
ll ts_de()
in ts_pop_
d
e()
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholami
R
udi
ncc
:
handle
s
witch stmt
w
here
defa
u
lt
l
abel appea
r
s
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali G
h
ola
m
i Rudi
ncc: don't ov
e
rwrit
e
gl
o
b
a
l
n
am
e
s by stati
c
function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Ghol
a
mi Rudi
cpp: fix handling
c
o
mments and
s
trings inside ma
c
ros
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gho
l
ami Rudi
ncc: handle empty stat
i
c
ini
t
iali
z
ers
commit
|
commitdiff
|
tree
2011-05-24
A
li Gholami Rudi
cpp: ignore
c
o
m
me
n
ts inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Ghola
m
i
Rudi
neatcc: add a nc
c
i
nvocation
script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Ru
d
i
mo
r
e
v
e
r
b
ose e
r
ror messages for missin
g
files
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
lami
R
udi
cpp: d
o
n'
t
s
earch /usr/i
n
clud
e
for headers b
y
default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
cpp: me
r
g
e c
u
r++'s
in read
a
rg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
gen: fix reg_fortmp() indentation
commit
|
commitdiff
|
tree
2011-05-19
A
li
G
hola
m
i Rudi
ncc: h
a
ndle over
l
apping conditiona
l
expre
s
sion
s
commit
|
commitdiff
|
tree
2011-05-19
Al
i
Gholam
i
Rud
i
ncc
:
handle siz
e
of x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali G
h
ola
m
i Rud
i
ncc: make
s
ur
e
t-
>
ad
d
r ==
0
befo
r
e cal
l
ing o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
A
l
i Gholam
i
Rudi
ncc: ign
o
re the s
e
micolon after d
o
-whi
l
e
commit
|
commitdiff
|
tree
2011-05-09
Al
i
Gholam
i
R
u
di
n
cc:
switc
h
defa
u
lt labels when not ap
p
ear
i
ng at the end
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami
R
udi
ncc: opassign should
u
s
e the ti
m
e of lh
s
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: move n
o
gen
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
A
l
i Gho
l
ami Ru
d
i
R
E
ADME:
i
gno
r
ed key
w
ords
are now bui
l
t into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
nc
c
: suppor
t
-o o
u
t
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami
Rudi
nc
c
: handle
e
x
tern f
u
nction
d
eclaration
s
inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami R
u
di
ncc: handle extern variab
l
e
d
ecla
r
ations inside f
u
nc
t
ions
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami
R
udi
ncc: move mac
r
os
l
ike __ST
D
C__
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i
Gho
l
a
mi
Rudi
tok:
handle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholam
i
Rudi
ncc: ig
n
o
re t
h
e
keyw
o
rds neatcc doesn't care abou
t
commit
|
commitdiff
|
tree
2011-05-01
Ali
G
hola
m
i
R
udi
gen: rese
t
la
s
t_cmp i
n
i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i Rudi
ge
n
: ba
c
k-port c
m
p
+
bcc o
p
timiza
t
i
on aga
i
n
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
o
l
ami Rudi
g
en
:
mo
v
e opcodes to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gh
o
la
m
i
R
udi
g
e
n:
r
ename FORK_R
E
G
to REG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
hola
m
i Rud
i
ge
n
:
pass only O_* cons
t
ants to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: handle sym+
o
ff function calls
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholam
i
Ru
d
i
gen: m
o
v
e
arch
i
tecture-specific fun
c
tions to
t
he end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gholami Rud
i
gen:
u
se
i_set
(
) in i_lnot
(
)
commit
|
commitdiff
|
tree
2011-04-01
A
li G
h
o
l
ami Rudi
gen: pass the numbe
r
o
f
arguments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
gen: encode
0
xf0000000 as a
n
immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
h
olami Rudi
g
e
n: swap
t
he imme
d
iate if needed for == a
n
d !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
ami Rudi
gen:
e
n
c
od
e
cm
p
+immedi
a
te instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami Rudi
g
en:
put
the
i
mmediate
i
n t
h
e
opcod
e
if possible
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Ghola
m
i Rudi
gen: remove
cmp+branch optimization; moved
t
o opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi Rudi
cp
p
: handle function
m
acros with
n
o
arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
m
i
Rud
i
gen: rename dat_bss()
a
nd d
a
t_
d
at() to beg
i
n with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: gro
u
p fun
c
ti
o
ns in
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami
R
udi
gen
:
reset last_set
afte
r
c
m
p+b opt
i
mizatio
n
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
ol
a
mi Rud
i
g
en: fix ~ operator im
p
lementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
n
cc: dere
f
e
r
ence function p
o
inters like any
other v
a
riables
commit
|
commitdiff
|
tree
2011-03-27
A
l
i
Gholami Rudi
gen: d
o
n't r
e
m
o
v
e
the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
udi
g
en
:
don't let
o
_cast() cha
n
ge deref
e
r
e
nc
e
d type
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Gholami Rudi
ncc: use tok_jmp() instead
o
f tok
_
(
see|get)() in en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen: ha
n
dle l
a
rge offsets for s
t
r
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen
:
replace TMP_RE
G
* macr
o
s
with
reg
_
fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olami Rudi
gen: change o_
n
ogen()
/
o_doge
n
() t
o
be recu
r
siv
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Ru
d
i
gen: don't genera
t
e excess jumps for the l
a
st r
e
t
urn
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
ho
l
ami Ru
d
i
g
e
n: don't
a
dd duplicate data to n
u
mber pool
commit
|
commitdiff
|
tree
2011-03-20
Al
i
Ghola
m
i Rudi
gen:
call tmp_to
(
)
i
n
for loading rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Al
i
G
holami
R
udi
gen: ignore O_SIGNED when checking
the
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gh
o
lami
R
ud
i
gen: fix signed d
i
vision to ne
g
ate the r
e
mainder
commit
|
commitdiff
|
tree
2011-03-16
Al
i
Gho
l
ami Ru
d
i
gen:
merge
decreme
n
t and c
h
e
ck in i_memcpy() and
i
_me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
gen:
d
on't sav
e
variable r
e
gis
t
ers before
ca
l
ls
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
o
l
ami Rudi
gen: add softwar
e
d
i
v
/
mod implementa
t
i
on
commit
|
commitdiff
|
tree
2011-03-15
A
li Gho
l
ami Rudi
n
c
c
:
set
O
_SIG
N
for
m
os
t
binary ope
r
ati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i
Rudi
ncc: der
e
fe
r
ence
t
h
e not expression
of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
perform signed operations if O_SIGNED bit i
s
set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gholami Rudi
cpp: defi
n
e __arm__
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
ncc
:
d
on
'
t c
a
st
t
he return v
a
lu
e
fo
r
void f
u
n
c
ti
o
ns
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
holami
R
udi
gen:
m
ore com
p
act vers
i
on of memcpy() an
d
m
emset
(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lami Rudi
gen: don't ou
t
put re
l
ocations w
h
en o_n
o
gen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali
G
ho
l
a
m
i
Rudi
nea
t
cc
a
rm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
c
lean up the interface betwe
e
n ncc
.
c, gen
.
c
a
nd out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
Rudi
npp: remove co
m
ment
s
after pr
e
processing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami Rudi
cpp
:
don't
remove no
n
-m
a
c
r
o
n
umber sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp:
a
llo
w
u
s
ing neatc
c
's prepr
o
cessor as a standal
o
ne
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholam
i
R
udi
cpp
:
don't skip non-eol mac
r
o backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
f
ix op_rs
(
)
opt
i
mization function
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami Rudi
gen: use b
e
tter names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: d
e
fine __i386_
_
; _
_
x
8
6
_64__
i
s no lon
g
er supported
commit
|
commitdiff
|
tree
2010-11-20
Al
i
Gholami Ru
d
i
gen:
load the
f
irs
t
tmp before call
i
n
g TMP_R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gho
l
ami R
u
di
add
RE
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
h
o
l
a
m
i Rudi
ncc: fix name->nam
e
s
t
r in
i
tializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghola
m
i Rudi
all
o
w extern array
declarations wi
t
hout
size
commit
|
commitdiff
|
tree
2010-07-29
Ali
G
h
olami Rudi
c
pp: incl
u
de st
d
def
.
h for us
i
ng offsetof()
commit
|
commitdiff
|
tree
next