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: support (expr, expr) expression
2011-12-07
A
l
i Gh
o
l
ami Rudi
ncc: suppo
r
t (expr, expr) ex
p
ression
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rudi
c
p
p: fix
evaluat
i
n
g
integer
c
onstants
commit
|
commitdiff
|
tree
2011-11-10
A
l
i Gholami Rudi
out:
add a workaround
f
o
r bad
l
i
n
kers
commit
|
commitdiff
|
tree
2011-11-08
Ali
G
holami Rudi
Makefile: default to x
8
6 build
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Ru
d
i
ncc
:
define __
i
386__ for x
8
6 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali G
h
olami Rudi
merge the x86
p
or
t
t
o
master bra
n
ch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami
R
udi
ncc: be
t
ter ch
a
r array initi
a
li
z
a
t
i
o
n
commit
|
commitdiff
|
tree
2011-10-17
Ali
G
holami
R
udi
out: assure
8-
b
yte align
m
ent of dat
a
and bss
s
ection
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Al
i
Gholami Rudi
t
a
b
: fi
x
t
ab_del(
)
; ot
h
erwise #u
n
def won
'
t work
commit
|
commitdiff
|
tree
2011-06-05
Ali G
h
o
l
a
mi
R
udi
ncc: call
ts_de() in ts_pop_de
(
)
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholam
i
Rudi
ncc: ha
n
dle switch stmt whe
r
e
d
efault l
a
bel
a
ppears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami
Rudi
n
c
c
: don't overwrite global names
b
y static fu
n
c
t
ion
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Al
i
Gho
l
a
m
i Ru
d
i
cpp:
f
i
x
h
a
ndli
n
g
comments
and strings inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
l
ami
R
udi
ncc:
h
andle empt
y
static initi
a
lizers
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gholami
R
u
di
cpp: ignore commen
t
s inside
s
tring macros
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gholami
R
udi
n
e
atc
c
: add a ncc i
n
vocation sc
r
ipt
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
R
udi
more verbose error me
s
sage
s
for missing fi
l
es
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghol
a
mi Rud
i
cpp: don't
s
earch
/usr/
i
nclude
f
o
r hea
d
ers b
y
d
e
f
a
u
lt
commit
|
commitdiff
|
tree
2011-05-22
Ali G
h
olam
i
Rudi
cpp: merge cur++'s in re
a
d
ar
g
()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami
Rudi
gen: fi
x
reg_fortmp() in
d
enta
t
ion
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
n
c
c
: handle overlapping condit
i
onal expre
s
sions
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
ho
l
ami
Rudi
ncc: handle
s
iz
e
of x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gho
l
ami Rudi
n
c
c
:
make sure t
-
>
a
ddr == 0 before
calling o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Al
i
Ghola
m
i
Rud
i
ncc: ignore the s
e
micolon
after do-whil
e
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholam
i
R
u
d
i
ncc: switch d
e
fault labels w
h
en
not appeari
n
g at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali
Ghola
m
i Rudi
ncc: opassign should us
e
t
he time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami Rudi
ncc: move n
o
g
e
n t
o
nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
holami Ru
d
i
ncc: alwa
y
s initialize output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
h
olami Rudi
READM
E
: ignor
e
d keywords are n
o
w built
i
nto
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i Rudi
ncc: support
-o out
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
holami Rudi
ncc:
ha
n
dle ext
e
rn function declarations
i
nside functi
o
n
s
commit
|
commitdiff
|
tree
2011-05-06
A
l
i Ghol
a
m
i
Rud
i
n
c
c
:
handle extern variable declara
t
i
o
ns inside
func
t
ion
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami Rudi
ncc
:
move macros like __STDC
_
_ to
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
tok:
handle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghola
m
i Rudi
ncc:
i
gnore
the
keyw
o
rds neatcc
d
oes
n
't
care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rudi
gen: reset last_cmp in
i
_
pr
o
log()
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Ghol
a
m
i Rudi
g
en: back-por
t
cmp+bcc opt
i
mization again
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gholami Rudi
gen
:
m
ove o
p
codes to arch
s
ection
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gholami Rudi
gen: rename FORK_REG
to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
ge
n
: pass
o
nly O_* constants
t
o i
_
*() funct
i
on
s
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Ghola
m
i Rudi
gen: han
d
l
e
sym+off functio
n
c
alls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
ge
n
:
m
ove architecture-specific
funct
i
ons to
the e
n
d
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
li Gholami Rudi
gen: u
s
e i_set() in
i
_lnot
(
)
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Ghola
m
i R
u
d
i
g
e
n: pass the number of a
r
gum
e
nts
to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
e
ncode 0
x
f
0
0
00000 as an imm
e
diate
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami
R
udi
gen:
sw
a
p
the immediate if n
e
eded f
o
r
=
=
and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
l
ami Rudi
gen: e
n
code cmp+imme
d
iate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
gen: p
u
t the immedi
a
te in
the opcode if pos
s
i
b
le
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
o
l
ami Rudi
ge
n
: remov
e
cmp+branch
optim
i
zation;
m
oved to
o
pt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
olami R
u
di
c
p
p:
h
a
ndle functio
n
macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gh
o
la
m
i Rudi
gen:
r
e
n
ame dat_bss()
a
nd dat_d
a
t(
)
to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i
Rudi
g
en: group functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
ge
n
: reset
l
a
s
t_set af
t
er
cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
u
di
gen: fix
~ operator implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc:
d
ere
f
erence fun
c
tion
p
o
inters like
a
n
y
other
v
ariables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Ru
d
i
g
e
n:
d
on'
t
remove
t
he last return
j
ump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ge
n
:
d
on't let o
_
cast
(
) change deref
e
renced
t
ype
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami Rudi
ncc: use tok_jmp
(
) in
s
tead
o
f tok_(
s
ee
|
get)() in e
n
um_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olami Rudi
gen:
h
and
l
e large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gh
o
lami Rudi
g
en: replace TM
P
_REG* macros with reg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
A
li
Ghol
a
mi R
u
di
gen: ch
a
nge
o_nogen()/o_dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi
R
udi
gen: don't generate exc
e
ss jumps
f
or the last ret
u
rn
commit
|
commitdiff
|
tree
2011-03-23
A
li
G
holami Rudi
gen: don't ad
d
duplicate data to numbe
r
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call tmp_to() in f
o
r loading
rhs in
o_
a
ssing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
a
m
i Rudi
g
en: ignore O_SIGNED when checking
the
o
pcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen:
fix sign
e
d division to nega
t
e the r
e
mainder
commit
|
commitdiff
|
tree
2011-03-16
A
li Gholami Rudi
g
en
:
me
r
ge decrement and check in i_memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ge
n
: don
'
t save variable regist
e
rs before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
gen:
a
dd software div
/
mod
implementat
i
on
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olam
i
Rudi
n
cc:
s
et
O
_SIGN for most
b
i
n
a
ry operations
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Ru
d
i
ncc: dereference
the
not e
x
pression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
per
f
orm sign
e
d operations i
f
O_SIGNED
bit is s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Ru
d
i
cpp:
define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Rudi
ncc: don't cast the retur
n
va
l
ue for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holam
i
Rudi
gen: more compact version of memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen:
d
on
'
t ou
t
put
r
e
l
oc
a
tions when o_no
g
en()
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
n
eat
c
c ar
m
port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
cl
e
a
n up
t
h
e inte
r
face between ncc
.
c, gen
.
c
a
nd out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami
R
udi
npp: rem
o
ve c
o
mments after pr
e
processing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cpp: do
n
't remove n
o
n
-
m
acro n
u
mber sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
n
pp: all
o
w using
n
e
atcc's preprocessor as a
s
tan
d
alo
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gh
o
lami
R
ud
i
cpp: don't skip non-eol macr
o
backs
l
a
sh
e
s
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami
R
ud
i
gen: fix op_rs
(
)
optim
i
zation funct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
use better
names for o
p
code
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami
Rudi
c
pp
:
define __i
3
86__; _
_
x86_64__ is
no
lon
g
er s
u
pported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
g
e
n: l
o
ad
t
he fi
r
st tmp befo
r
e calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gho
l
ami
Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Rudi
nc
c
: fix name->name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
lami Rudi
allow exter
n
array
d
ecl
a
rations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Ru
d
i
cpp: include
stddef
.
h fo
r
us
i
ng o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gh
o
lami Rudi
tok: p
a
rse uppercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Ru
d
i
ncc: fi
x
setting F_I
N
IT for each defined name
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Ghol
a
mi Rudi
c
p
p: han
d
le n
e
sted m
a
c
ro calls like M
(
M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rudi
tok: d
o
n
'
t go
beyond buf len
for
3
-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami Rudi
tab
.
h
:
use
t
he stan
d
ard offse
t
o
f
()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
ncc: fix
calling ts
_
pop()
prematurely in opassign
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gho
l
ami Rudi
gen: i
g
no
r
e
the sign of
t
h
e second operan
d
i
n
/ an
d
%
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Ghol
a
mi Rud
i
nc
c
: fix & and * on function
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen:
d
o
n't
overwrit
e
p
ushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Ghola
m
i Rud
i
gen:
change stack
a
lignment
t
o 4
commit
|
commitdiff
|
tree
next