repo.or.cz
/
neatcc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
ncc: handle switch stmt where default label appears first
2011-06-04
Ali Gh
o
lami Rudi
nc
c
: handle s
w
itch stmt whe
r
e default label appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholam
i
Rudi
ncc: d
o
n't overwr
i
te global n
a
mes by stat
i
c funct
i
on
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Al
i
G
holami Rudi
cpp: fi
x
handling comments and st
r
ings ins
i
de macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghol
a
mi Rudi
n
cc: handl
e
e
m
pty static
initializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghola
m
i Rudi
cpp: ignore co
m
me
n
t
s
ins
i
d
e
s
t
ring macros
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gh
o
lami Rudi
neatcc: add a ncc invocation
scr
i
pt
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Ghol
a
mi Rudi
m
ore verbose error messages for missing files
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
lami
R
udi
cpp
:
don't search
/
usr/incl
u
de for hea
d
e
rs
by de
f
ault
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami R
u
di
cp
p
: merge cur++'
s
in
readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
ge
n
: fix reg_fort
m
p() i
n
d
e
ntation
commit
|
commitdiff
|
tree
2011-05-19
Ali Ghol
a
mi R
u
di
ncc: handle overl
a
pping
c
onditional expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
n
cc: handle sizeof x
+ 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gh
o
la
m
i Rud
i
n
c
c
:
m
a
k
e sure t
-
>addr ==
0 bef
o
re
calling o_popnu
m
()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gho
l
ami Rudi
ncc: ignore
the semicolon after do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Ru
d
i
nc
c
: switch default labels when not appearing a
t
the
e
nd
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
ncc: op
a
ssign should
use the
time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
m
i
R
u
di
n
c
c: move nogen t
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rudi
ncc:
a
l
ways
i
ni
t
ialize outp
u
t filen
a
me
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
README: ignored keyw
o
r
d
s a
r
e
now bui
l
t
i
n
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
R
udi
ncc: support -
o
out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
l
ami R
u
di
ncc: ha
n
dle extern fun
c
tion decla
r
a
tio
n
s i
n
si
d
e funct
i
ons
commit
|
commitdiff
|
tree
2011-05-06
A
l
i
Gholami Rudi
ncc: handle extern v
a
ria
b
le dec
l
arations inside fun
c
tions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami Rudi
ncc: move
m
a
cros like __S
T
DC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
R
u
d
i
tok: handle // co
m
ments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc:
ignore the keywor
d
s neatcc does
n
'
t
c
a
re
a
b
out
commit
|
commitdiff
|
tree
2011-05-01
A
l
i Gholami Rudi
g
en: reset last_cmp i
n
i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
a
mi Rudi
gen: back-po
r
t
cmp+b
c
c optimizat
i
on again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
g
en
:
move opcodes to
a
rch section
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
h
olam
i
Rudi
gen: re
n
a
me FO
R
K
_
REG to RE
G
_
F
ORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
g
e
n:
pass
o
nly O_* constant
s
to i_*() func
t
ions
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Rudi
gen: ha
n
dl
e
sym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Ru
d
i
g
en: move
a
rchitect
u
r
e
-
s
p
e
c
if
i
c
f
unctions to
the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali G
h
olami Rudi
ge
n
: use i_set() in
i
_
lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gho
l
ami Ru
d
i
ge
n
: pass the
n
um
b
er of
ar
g
ume
n
ts t
o
o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gh
o
l
a
m
i
Rud
i
gen: encode 0xf0000000 as an
i
mme
d
iate
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
mi Rud
i
g
e
n: swap the immediate if needed for
=
= and !=
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rud
i
gen:
e
ncode
c
mp+immedi
a
te inst
r
uctions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
e
n:
put the i
m
mediat
e
i
n th
e
opcode
i
f
p
o
ssible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen: remove cmp+branch optimization; moved
to op
t
br
a
nch
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghola
m
i Rud
i
c
p
p:
h
andle functi
o
n
m
acros with no arg
u
ments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
g
e
n: rename
d
at_bss
(
) and dat_da
t
()
t
o begin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami
R
udi
g
e
n:
group
f
unct
i
ons
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
li
G
holami Rud
i
gen: rese
t
last_set after c
m
p+b optimizati
o
n
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
G
h
olami Rudi
gen: f
i
x ~ operator imp
l
em
e
ntation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholam
i
Rudi
ncc: dereferenc
e
function pointers
l
ike any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Rudi
g
e
n: don't remove the last
re
t
urn
j
ump
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i Rudi
g
en
:
do
n
't
l
et o_cast
(
) change d
e
re
f
eren
c
ed
type
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holam
i
R
udi
ncc:
u
se
t
o
k_
j
mp() instead of tok_(see|
g
et)(
)
in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rud
i
gen: h
a
ndl
e
large offs
e
t
s for
str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen:
replace TMP_REG
*
macros with
r
eg_
f
ortmp
(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
a
mi Ru
d
i
ge
n
: change o
_
nogen(
)
/o
_
d
ogen
(
) to be recursive
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami
R
u
d
i
gen:
don'
t
gene
r
a
t
e excess j
u
mps
for t
h
e
l
ast ret
u
r
n
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't add duplicate dat
a
to
number
p
ool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami R
u
di
gen: call tmp_to() in for loading rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghola
m
i Rudi
gen:
i
g
no
r
e O_SIGNED when ch
e
cking the
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
holami Rudi
gen: fix signed division to negate the remain
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami
R
udi
gen:
merge decrement and check
i
n
i_memcpy
(
) and i_me
m
s
et()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
g
en: don
'
t save v
a
riable regist
e
rs before
cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami Rudi
gen: add
software div/mod i
m
pleme
n
tatio
n
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami R
u
di
n
c
c: set O
_
SIGN for most bi
n
ary
operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
ncc:
der
e
ference the not expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
R
u
di
perform sig
n
ed operat
i
ons if
O
_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gho
l
ami Rudi
cpp
:
define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
ncc: d
o
n't cast
t
he r
e
t
u
r
n va
l
ue f
o
r void f
u
n
ctions
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Rud
i
g
e
n: more comp
a
ct
version of memc
p
y() a
n
d
m
e
m
s
e
t()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: don't output
relocati
o
ns when o_nogen() is
calle
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
lami Rudi
nea
t
cc arm po
r
t
commit
|
commitdiff
|
tree
2011-03-08
Al
i
Gholam
i
Ru
d
i
clea
n
up the
interf
a
ce b
e
tween ncc
.
c
,
gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami Rudi
npp: remove comments af
t
er preprocessin
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Ru
d
i
c
p
p: don't rem
o
v
e non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
np
p
: allo
w
usi
n
g neatcc's preprocesso
r
as a sta
n
dalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp
:
do
n
't skip n
o
n-e
o
l macro
backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
f
i
x op_rs
(
)
o
ptim
i
zation function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
Rud
i
gen: use better names for
opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghola
m
i Rudi
c
pp:
d
efine __i
3
86__;
_
_x86_64__ is
n
o
longer suppo
r
ted
commit
|
commitdiff
|
tree
2010-11-20
Al
i
Gholami Rudi
gen: load
t
he f
i
r
st tmp before calling TM
P
_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali
Gholami Rudi
ncc
:
fix name->name str
in
i
tializer
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gho
l
ami Rudi
allow extern
a
rray decl
a
rations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami R
u
di
cp
p
:
i
n
clu
d
e
stddef
.
h for u
s
ing of
f
s
e
t
o
f()
commit
|
commitdiff
|
tree
2010-07-28
Ali
G
holami Rudi
tok:
p
arse uppercase
h
e
x n
u
mbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami
R
u
d
i
ncc: fix setting F_INIT for each defined
n
ame
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gh
o
la
m
i Rudi
c
p
p: handle nested
m
acro calls like
M
(M
(
1
))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami
R
udi
tok: don'
t
go b
e
y
o
nd buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali
Ghola
m
i Rudi
tab
.
h:
u
se the stan
d
a
r
d
offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
ncc:
fix
calling ts_po
p
() prematur
e
ly in opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i
G
hol
a
mi Rudi
gen: ignor
e
t
h
e
s
i
g
n of the second opera
n
d
in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gho
l
ami Ru
d
i
ncc: fix & and
*
on
f
u
nctions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gho
l
a
mi Rudi
gen: d
o
n
'
t overwrite
p
u
s
hed
ebx
,
esi
and
edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami Rudi
gen
:
ch
a
nge stack ali
g
nm
e
nt to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gho
l
a
mi Rudi
ncc: don't change operand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen:
on
l
y perfor
m
const
o
p f
o
r
addresses w
h
e
n
a
dding
commit
|
commitdiff
|
tree
2010-07-08
A
l
i Gholami Rudi
gen:
z
er
o
ing eax does
n
't
seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i Rudi
ncc: fi
x
+
+
s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix funct
i
on
p
ointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
Rudi
gen: remov
e
the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rud
i
gen: use t
m
p-
>
off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
p
o
rt n
e
a
t
cc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: f
u
nc
t
i
ons for per
f
orming optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen:
f
ix
two
-
byte opcode
b
it
commit
|
commitdiff
|
tree
next