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
cpp: merge cur++'s in readarg()
2011-05-22
Ali G
h
olami Rudi
cpp: me
r
ge cur++'
s
in re
a
da
r
g
()
commit
|
commitdiff
|
tree
2011-05-22
Ali G
h
o
lami Rudi
gen: fix reg
_
for
t
mp()
i
n
d
entation
commit
|
commitdiff
|
tree
2011-05-19
Ali Ghol
a
mi Ru
d
i
n
cc: han
d
l
e
o
v
e
rlapping conditional expressio
n
s
commit
|
commitdiff
|
tree
2011-05-19
Al
i
Gholami
R
udi
n
c
c: handle
sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
A
li Gholami Ru
d
i
ncc: mak
e
sure t->addr
=
= 0 before ca
l
ling
o_p
o
pnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gho
l
a
mi
R
udi
ncc: ignore th
e
se
m
ico
l
on af
t
er do
-
while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
ncc: switch default labels when not appearing
a
t
t
he end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: opassign
s
houl
d
u
se
the ti
m
e of
lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami
R
udi
ncc:
m
ove nogen t
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rud
i
ncc: alw
a
ys initialize output filena
m
e
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
README: igno
r
e
d
k
e
ywords are now
b
u
ilt into
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
holami R
u
di
n
cc:
s
upport -o o
u
t
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
o
l
a
mi Rudi
n
c
c: han
d
l
e
e
x
tern function
d
eclar
a
tio
n
s inside fun
c
tions
commit
|
commitdiff
|
tree
2011-05-06
Al
i
Ghol
a
mi Rudi
ncc:
h
and
l
e e
x
tern var
i
a
ble declarat
i
ons inside functions
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami
Rudi
ncc: move macro
s
like
__STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami Rudi
tok: handle //
c
omments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc:
i
gnore t
h
e keywords neatcc
do
e
sn't care abou
t
commit
|
commitdiff
|
tree
2011-05-01
Ali
G
holami Rudi
gen: reset
l
ast_cmp in
i
_
p
rolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen:
b
ack-po
r
t
cmp+bcc
optimizat
i
o
n again
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
h
o
lami Rudi
gen: move opcodes to
a
r
c
h se
c
tion
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
u
di
g
en: rename FORK
_
REG to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
l
ami Rudi
gen: pass only O_* con
s
tants
t
o i_
*
()
functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Ru
d
i
gen
:
handle sym+off function ca
l
l
s
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami Rudi
ge
n
: mov
e
a
r
ch
i
t
e
cture
-
speci
f
i
c
functions
t
o t
h
e end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
g
e
n
:
use i_set()
i
n
i
_
lnot
(
)
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholam
i
Rudi
g
e
n:
pass th
e
number o
f
argum
e
n
t
s to o_
f
unc_beg(
)
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami Ru
d
i
gen: e
n
cod
e
0xf0000000 as an immedia
t
e
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gh
o
lami Rudi
gen: swap the im
m
ediate if needed for
=
= a
n
d !=
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rudi
gen: encode cmp+immediate in
s
truc
t
ions
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gh
o
l
ami Rudi
gen: put the imme
d
iate in the opcode if
p
ossible
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
h
o
lami Ru
d
i
gen: remove c
m
p+branch optimiz
a
tion; mo
v
ed to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
o
l
am
i
Rudi
cpp: handle
f
unction macros with no argument
s
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gho
l
ami
R
udi
ge
n
:
r
en
a
me dat_bss() and dat
_
dat(
)
to begin
w
ith
o
_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rudi
gen: grou
p
functions
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i Rudi
gen:
r
eset last_set after cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami
R
udi
gen: fix ~ operator implemen
t
ation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Ru
d
i
ncc: d
e
r
e
ference function poi
n
t
e
r
s lik
e
any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't
r
emove
the las
t
r
e
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami R
u
d
i
ge
n
: do
n
't let o_cast() chan
g
e de
r
eferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholam
i
Rud
i
ncc: use tok_jmp() instead of tok_(see|get)() in enum_c
r
e
ate()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gh
o
lami Rudi
gen
:
handle la
r
ge
o
ffsets f
o
r str
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Gholam
i
Ru
d
i
g
e
n: repl
a
ce
TMP_REG* macros with reg_fort
m
p()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
ge
n
: change o
_
n
o
gen()
/
o_dogen(
)
to
b
e recursi
v
e
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rudi
g
en
:
don't generate excess jumps fo
r
the
l
a
st
r
e
t
urn
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
h
o
lam
i
Ru
d
i
gen: don't
add duplicate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghol
a
mi Rudi
gen: c
a
ll tmp_t
o
(
)
in for loading rhs in o_
a
ssing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: ign
o
re O_SIGNED whe
n
che
c
king
the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali G
h
o
l
ami Rudi
gen: fix signed division to
neg
a
te the remai
n
d
er
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gholami Rudi
g
en: me
r
ge
d
e
creme
n
t
a
nd chec
k
in i_memcpy() a
n
d
i
_memset()
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Ru
d
i
gen: d
o
n't sa
v
e va
r
iab
l
e
r
egiste
r
s
before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
olami
R
ud
i
gen:
a
dd
software
d
iv/m
o
d impl
e
mentati
o
n
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gho
l
ami R
u
d
i
ncc:
s
et O_
S
IGN for
mos
t
binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
n
cc: deref
e
rence th
e
no
t
expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Ru
d
i
p
e
rform signed
o
p
erations if
O
_S
I
GNED
b
i
t is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
cpp: define __a
r
m__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Ru
d
i
n
cc: don
'
t c
a
s
t
the return
v
alue for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holam
i
Ru
d
i
gen:
m
ore compact
version of
m
emcpy() and memset(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Ru
d
i
gen: don't output relocations when o_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali
Gholami
Ru
d
i
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali
Ghol
a
mi
R
udi
clean up th
e
interface bet
w
een ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp:
remove co
m
ments after preproc
e
ssing
commit
|
commitdiff
|
tree
2011-02-19
Ali
Ghol
a
mi Rudi
c
p
p
:
don't remove no
n
-macro number sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
npp
:
allow usin
g
nea
t
cc's preprocessor as a
s
tan
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
G
holami Rudi
cp
p
: don't skip non-eol m
a
cro backslashes
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami Rudi
gen: fi
x
op_r
s
()
o
p
t
imi
z
ation function
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gholami R
u
di
gen: u
s
e bette
r
n
a
mes for opcod
e
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghola
m
i Rud
i
cpp:
defi
n
e
_
_i
3
86__; __x86_64__ is
n
o long
e
r supp
o
r
ted
commit
|
commitdiff
|
tree
2010-11-20
A
l
i Gh
o
lami Ru
d
i
gen: load th
e
fi
r
st tmp bef
o
r
e calling TMP_RE
G
2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add
R
EA
D
ME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
la
m
i Rudi
n
cc: fix name
-
>n
a
me str initialize
r
commit
|
commitdiff
|
tree
2010-08-13
A
li Ghol
a
mi R
u
di
allow ex
t
ern array
d
eclarations without siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
c
p
p: include
s
tdde
f
.
h fo
r
u
s
ing offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Al
i
Gholami R
u
d
i
t
ok:
p
arse
u
ppercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
holam
i
Rudi
nc
c
: fix setting F_INIT for each defin
e
d name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Ru
d
i
cpp: handle nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholami Rudi
tok: don't go bey
o
nd buf len f
o
r 3
-
c
har
t
oke
n
s
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami R
u
di
tab
.
h
: use t
h
e standard
offsetof()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gh
o
l
a
mi
R
udi
ncc: fix calling
ts
_
pop
(
)
prematurely in opassi
g
n()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
u
d
i
ge
n
: ignore
t
he sign of
t
he
s
ec
o
n
d
opera
n
d
in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Ghola
m
i
Rudi
ncc: fix & and * on f
u
n
ctions
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
ho
l
a
mi Rudi
gen: don't over
w
rite pus
h
e
d
e
bx, esi an
d
edi
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami
R
udi
g
e
n
: change stack al
i
gnmen
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
nc
c
: d
o
n't
change operand order
fo
r
const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
olami
R
u
d
i
g
e
n:
only perform const op fo
r
add
r
esses
whe
n
a
dding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen:
zeroing
eax doesn
'
t see
m
n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rud
i
ncc: fix ++s
f
or poin
t
ers
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gho
l
ami Rudi
nc
c
: fix
f
unction point
e
r a
r
rays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rud
i
g
en: remove the u
n
used c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
ola
m
i Rudi
gen: us
e
tmp-
>
o
ff f
o
r
locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami
Rudi
por
t
neat
c
c to x
8
6
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rud
i
gen: f
u
nctions for pe
r
forming op
t
im
i
ze
d
ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghol
a
mi Rudi
gen:
f
i
x
two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
o
l
ami
R
udi
gen: use
a
n
int for ope
r
ators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gho
l
ami Rudi
rep
l
ace o_*() f
u
nctions w
i
th o_bop
(
)
and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
a
dd specia
l
ized
inc
/
de
c
operat
i
ons
commit
|
commitdiff
|
tree
2010-06-21
Ali G
h
olami Rudi
gen:
let all grps be used as byte r
e
g
isters
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghola
m
i Rudi
o
u
t:
d
on
'
t
need MAXS
E
CS a
n
ymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
tab:
l
et table s
i
ze
be HASHI
T
E
M
S
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami Rudi
out: merge a
l
l sections i
n
to one text sectio
n
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: res
e
t arg count on
m
acro
redef
i
n
i
tion
commit
|
commitdiff
|
tree
next