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: handle overlapping conditional expressions
2011-05-19
A
li Gholami Rudi
ncc:
h
a
ndle ove
r
lapping conditional e
x
pressions
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
holami Ru
d
i
n
c
c: h
a
ndle s
i
zeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
G
holami Rudi
ncc: mak
e
sure t
-
>a
d
dr == 0
befo
r
e cal
l
ing o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Al
i
G
h
olami Rudi
ncc:
i
gnore th
e
s
e
m
icolon a
f
t
e
r
do-whil
e
commit
|
commitdiff
|
tree
2011-05-09
Al
i
Gholami
R
udi
ncc: s
w
itch default
l
abels w
h
en not
a
p
pearing
a
t the en
d
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
ncc:
opas
s
ign s
h
ould
u
se
t
he
t
ime of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
n
c
c: move nogen t
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
n
cc: alway
s
in
i
ti
a
lize outpu
t
filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i Rudi
R
EAD
M
E:
i
g
nored keywords are
n
ow built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi
R
ud
i
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi Rudi
ncc: handl
e
extern
function declarat
i
ons
i
nsi
d
e functions
commit
|
commitdiff
|
tree
2011-05-06
Ali
Gholami
R
udi
ncc: handle extern va
r
iab
l
e
d
ecla
r
ations
i
ns
i
de fu
n
c
tions
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghol
a
mi
Rudi
ncc: mov
e
macros like _
_
S
T
D
C__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
li Gholami Rudi
t
o
k: handle
// comm
e
n
t
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholam
i
Rudi
ncc
:
ignore th
e
k
ey
w
ords neatcc doe
s
n't
care abou
t
commit
|
commitdiff
|
tree
2011-05-01
Ali
G
h
ola
m
i Rudi
gen: rese
t
l
a
s
t_cmp in i_
p
ro
l
og
(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: back-port c
m
p+bcc
optimi
z
ation again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
a
mi Rudi
g
en: move opcod
e
s to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: ren
a
me
F
ORK_REG
t
o REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Ghol
a
mi
Rudi
gen:
pass only O_* constants to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: handle sym+off
f
unct
i
on calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
g
e
n
: move architec
t
ure-specif
i
c
function
s
t
o the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gho
l
ami Rudi
gen: u
s
e i_set()
i
n
i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
h
o
lami
Rudi
ge
n
:
pass the number of arguments t
o
o_func_b
e
g()
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami
Rudi
ge
n
: e
n
code 0
x
f0000000 as an immediat
e
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gho
l
ami Rudi
gen:
s
wap the immed
i
a
te i
f
needed f
o
r == and !
=
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gh
o
l
ami Rudi
gen: encode cmp+immediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: put the immediate in the opcode if possib
l
e
commit
|
commitdiff
|
tree
2011-03-30
A
l
i G
h
olami Rudi
g
e
n: remove cmp+branch optimi
z
ation;
m
ove
d
to opt br
a
nch
commit
|
commitdiff
|
tree
2011-03-30
A
l
i Ghol
a
mi
R
udi
cpp: ha
n
dle
function macros with no argument
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
g
en: rename dat_
b
ss() and dat_dat
(
)
t
o begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami
Rudi
gen
:
grou
p
functions
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
gen: reset last_set after c
m
p
+
b
optim
i
zation
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
ge
n
: fix ~ operator implem
e
nt
a
tion
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
u
di
nc
c
: der
e
ference fu
n
cti
o
n po
i
nters like any othe
r
variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami Rudi
gen
:
d
o
n
't remove the
las
t
re
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami
R
udi
gen: don't let o_cast() change de
r
efe
r
enced type
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olami
Rudi
nc
c
: us
e
tok_jmp() instead
of tok_(
s
ee
|
ge
t
)() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi
Rudi
gen: h
a
n
dl
e
large offsets for
str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
gen: replace TMP_REG* ma
c
ros w
i
th
r
eg_f
o
rtm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami Rudi
g
en: change o_noge
n
()/o_dogen() to b
e
rec
u
rsive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
Gholami R
u
di
ge
n
: don't generate e
x
cess jum
p
s
f
o
r
t
he last re
t
u
r
n
commit
|
commitdiff
|
tree
2011-03-23
A
li G
h
ola
m
i Rudi
gen: don't
add dupli
c
a
te dat
a
to
number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
lami Rudi
gen: call tmp_to()
in for loading
r
h
s in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami R
u
di
gen: ignore O
_
SIGNED when ch
e
cki
n
g t
h
e opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
g
e
n: fix signed divisio
n
to n
e
gate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholam
i
Ru
d
i
gen:
m
er
g
e decrement
and che
c
k in i_memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami Rudi
g
en
:
don't
s
ave variable r
e
gisters before
c
alls
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
gen: add
s
oft
w
are
d
iv/mo
d
implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami R
u
di
ncc: set O_SI
G
N f
o
r mos
t
binary oper
a
tions
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gh
o
lami Rudi
n
c
c: de
r
eference
t
he not ex
p
r
ess
i
on of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
ho
l
am
i
Rudi
p
e
r
form signed op
e
rati
o
ns if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
cp
p
: define __ar
m
__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gho
l
ami
R
ud
i
ncc:
d
o
n't cast the r
e
turn
v
alue for voi
d
function
s
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
o
l
ami
R
udi
g
e
n: more compac
t
version o
f
memcpy(
)
a
n
d memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Ru
d
i
gen
:
don't outp
u
t relocations
when o_nogen() i
s
c
alled
commit
|
commitdiff
|
tree
2011-03-13
Ali Gho
l
ami Rudi
n
e
atcc a
r
m port
commit
|
commitdiff
|
tree
2011-03-08
Ali
G
holami Rud
i
clean up t
h
e int
e
rface between ncc
.
c,
g
en
.
c and
o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Ru
d
i
npp:
remove comm
e
nts after prepr
o
ces
s
ing
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
h
o
lami Rudi
c
pp: d
o
n't remove
n
o
n-
m
a
cro number sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami R
u
di
npp: allow using nea
t
cc's pre
p
rocessor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami
R
udi
cpp: don't skip non-e
o
l macro backsla
s
he
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghol
a
m
i
Rudi
gen: f
i
x
o
p_
r
s() optimizatio
n
functi
o
n
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
h
ol
a
mi Ru
d
i
gen: use
b
etter names for opcod
e
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghola
m
i
R
u
di
cpp: define __i386_
_
;
__x86_64__ is no
l
onger supported
commit
|
commitdiff
|
tree
2010-11-20
A
li Gho
l
ami R
u
di
g
e
n:
load t
h
e
f
i
r
st tmp before ca
l
ling T
M
P_REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
li Gholami Rudi
ad
d
R
EADME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Ru
d
i
ncc: fix name->name str
i
nitial
i
zer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
al
l
ow
e
xter
n
array declarations wi
t
h
out size
commit
|
commitdiff
|
tree
2010-07-29
Ali
G
holami R
u
d
i
cpp: includ
e
stddef
.
h
f
or using off
s
etof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok:
par
s
e
u
pperc
a
se
he
x
nu
m
bers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: fix setting F_INIT for
e
ac
h
defined name
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami Rudi
cpp: han
d
le nested
macro calls
like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
udi
tok: don't go beyond
b
uf len for 3-
c
har tokens
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami
Rud
i
tab
.
h: use
t
he
sta
n
dard o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olami
R
udi
ncc: fix calling ts_pop()
prematur
e
ly in opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i G
h
olami R
u
di
gen
:
ignor
e
t
he
sign
o
f the second operand in / an
d
%
commit
|
commitdiff
|
tree
2010-07-10
A
l
i Gholami Rudi
ncc:
f
ix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami R
u
di
gen: d
o
n't overwr
i
te
pushed e
b
x
,
esi an
d
edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i G
h
olami Rudi
gen:
ch
a
nge stack alignment
to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami R
u
di
nc
c
: don't change op
e
rand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
ho
l
ami Rudi
gen: on
l
y perform const op
f
o
r
addresses
w
hen addi
n
g
commit
|
commitdiff
|
tree
2010-07-08
A
l
i
Gholami Rudi
g
e
n: z
e
roing eax do
e
sn't see
m
n
e
ces
s
ar
y
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami Rudi
ncc:
fix +
+
s
for pointers
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Rudi
nc
c
: fix
f
unct
i
on pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi Rud
i
gen: remove the
u
nused c_op()
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Ghola
m
i
R
ud
i
g
e
n
:
use tmp
-
>
off for lo
c
a
l
s too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gh
o
lami Rudi
port neatcc
t
o x86
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
olami
R
udi
gen
:
functions
for
perform
i
ng
o
ptimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rudi
gen: fix t
w
o-byte opcod
e
bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use an int for operato
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali
G
h
o
lami Rud
i
r
e
p
l
ace o_*(
)
func
t
io
n
s with o_bop() and o_uop
(
)
commit
|
commitdiff
|
tree
2010-06-21
A
li G
h
o
l
am
i
Rudi
a
d
d s
p
e
cialized
i
n
c/dec
o
peration
s
commit
|
commitdiff
|
tree
2010-06-21
A
li Gholami Rudi
gen: let all grps be
us
e
d a
s
byte
r
eg
i
sters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: don't n
e
ed MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
tab: let
table size be HASHIT
E
MS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
out: merge all sections into one te
x
t sect
i
on
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Rudi
c
p
p: reset ar
g
count o
n
macro redefinitio
n
commit
|
commitdiff
|
tree
2010-06-19
Ali Gh
o
l
ami Rudi
o
ut
:
make neatcc work w
i
th gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
g
e
n:
h
andle
c
har argum
e
nts
commit
|
commitdiff
|
tree
next