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
neatcc: add a ncc invocation script
2011-05-24
Ali Gh
o
lami Ru
d
i
neatcc: add
a ncc invocation script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
R
udi
m
o
re
v
e
rbose err
o
r m
e
ssa
g
es for
m
is
s
ing files
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gh
o
l
ami
Rudi
cpp: d
o
n
'
t sea
r
c
h /
u
s
r/inclu
d
e for heade
r
s b
y
default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Ru
d
i
cpp: merg
e
cur++'s in readarg
(
)
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
g
e
n:
fix re
g
_
fortmp() indentation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rud
i
ncc: hand
l
e overlap
p
i
ng conditional e
x
pres
s
i
ons
commit
|
commitdiff
|
tree
2011-05-19
Ali G
h
olami Rudi
nc
c
: handle sizeof x +
2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Ru
d
i
ncc:
m
a
k
e
s
u
re t->addr == 0 before call
i
n
g
o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Al
i
Gholami R
u
di
ncc
:
ignore the semicolon a
f
ter do-while
commit
|
commitdiff
|
tree
2011-05-09
Al
i
Gholam
i
Rudi
n
cc: swit
c
h
defau
l
t labels when not a
p
p
earing at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gh
o
lami Rudi
nc
c
: o
p
assign
s
hould
use
the t
i
me of lhs
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
G
h
ol
a
mi Rud
i
ncc
:
move
n
ogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gho
l
ami Rudi
ncc: alw
a
ys initialize output
filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
a
m
i
R
udi
README: ign
o
re
d
keywords
a
r
e
now built i
n
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
ncc:
support -o out
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
Gholami
R
ud
i
ncc: handle extern
f
u
n
c
tio
n
declarations inside functions
commit
|
commitdiff
|
tree
2011-05-06
A
l
i Gholam
i
Rudi
ncc: hand
l
e extern variable
de
c
larations inside functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
n
cc: move macro
s
li
k
e
__STDC__
to
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Ru
d
i
tok: hand
l
e
/
/
comments
commit
|
commitdiff
|
tree
2011-05-04
A
l
i
Gh
o
lami Rudi
nc
c
: igno
r
e th
e
keywords neatcc d
o
es
n
't care abo
u
t
commit
|
commitdiff
|
tree
2011-05-01
Al
i
Gholami
R
ud
i
g
e
n: reset las
t
_c
m
p in
i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
G
ho
l
a
m
i R
u
d
i
gen: bac
k
-port cmp+bcc optimization again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami Ru
d
i
gen
:
m
ove
opco
d
es to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen: ren
a
m
e
F
OR
K
_REG to REG_F
O
RK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
ge
n
: p
a
ss only O_* co
n
stants to i_*()
functions
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami Rud
i
gen: handle sym+off funct
i
on c
a
lls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
g
en: move architectur
e
-specific fun
c
tions to th
e
en
d
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali G
h
olami Rudi
gen: use i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali G
h
olam
i
R
udi
gen: pass
the
n
umber of
a
rgu
m
ents
t
o o_f
u
nc_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
li Gh
o
la
m
i Rudi
gen: encode
0xf0000
0
00 as an i
m
m
edi
a
te
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holami Rudi
g
e
n: swap the immediate i
f
needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: e
n
cod
e
cmp+immed
i
ate instructi
o
ns
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: put the
i
mmediate in
t
he op
c
od
e
if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
am
i
Rudi
g
e
n
: remov
e
c
mp+branch op
t
imiza
t
i
o
n
; moved t
o
opt bran
c
h
commit
|
commitdiff
|
tree
2011-03-30
Ali Gh
o
lami
R
udi
cpp: handle function ma
c
ros with n
o
arguments
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami Ru
d
i
g
e
n
:
rename dat
_
b
s
s() and
d
at_d
a
t() to begi
n
w
i
th o_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rud
i
gen
:
group functions in
g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Gho
l
ami Rudi
gen
:
reset last_set after cmp+
b
optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i
R
ud
i
gen: fix ~ operator imp
l
ementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghol
a
mi Ru
d
i
ncc:
de
r
eference f
u
nction pointers
like any other variables
commit
|
commitdiff
|
tree
2011-03-27
A
l
i
Gholami
Ru
d
i
g
en: don't remov
e
the last return jum
p
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Rudi
gen: don't let o
_
cast() change derefe
r
e
n
ced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
la
m
i Rudi
ncc: use
t
ok_jmp() instead
o
f tok_(s
e
e|get)(
)
in
e
num_
c
re
a
te()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
g
e
n
: h
a
ndle large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen:
r
e
p
lace
TMP_REG*
mac
r
os wi
t
h re
g
_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: change o_nogen()/o_doge
n
() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n:
d
on't generat
e
e
x
c
ess jumps
f
or
the las
t
retur
n
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rud
i
gen:
don'
t
add
d
uplicate data to numbe
r
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen:
call tmp_t
o
() i
n
for lo
a
d
in
g
rhs in o_assin
g
()
commit
|
commitdiff
|
tree
2011-03-20
Al
i
Gholam
i
Rudi
gen: i
g
no
r
e O_SI
G
NED w
h
e
n
checking th
e
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
h
o
lami Ru
d
i
gen: fix signed div
i
sion
t
o
nega
t
e the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
g
e
n
:
m
e
r
ge
decremen
t
a
nd check in i_memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gh
o
lami Rudi
gen: don't save variab
l
e re
g
iste
r
s before calls
commit
|
commitdiff
|
tree
2011-03-15
A
li
Ghola
m
i
Ru
d
i
gen: add softwa
r
e
div/mod
i
mplementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
ncc: set
O_SIGN for most bina
r
y operations
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
hola
m
i Ru
d
i
n
cc: dereference the not
e
xpre
s
sion of cexprs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami Rudi
perf
o
rm signed operati
o
ns i
f
O
_SIGN
E
D bit is set
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gho
l
a
m
i
Rudi
cpp
:
d
e
fine __ar
m
__
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami R
u
d
i
ncc: do
n
't cast the
r
eturn va
l
ue for void
f
unctions
commit
|
commitdiff
|
tree
2011-03-14
A
li
G
holami
R
udi
gen: more com
p
act
v
e
r
si
o
n
o
f memc
p
y(
)
and memset
(
)
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
h
olami Rudi
gen: don't ou
t
put
r
elocati
o
n
s
w
h
en o_nogen
(
) is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholam
i
Rudi
neatc
c
a
rm port
commit
|
commitdiff
|
tree
2011-03-08
Ali
Ghola
m
i Ru
d
i
clean up the interface bet
w
een
ncc
.
c,
g
e
n
.
c and
o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
G
h
olami Rudi
npp: remove commen
t
s after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghol
a
mi Rudi
cpp: don't remove n
o
n-macr
o
number si
g
ns
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: allow usi
n
g nea
t
cc'
s
preprocessor as a
s
tanda
l
o
ne
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li Gholami Rudi
c
pp: don't skip non-e
o
l ma
c
ro backs
l
a
s
h
es
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami
Rudi
gen: fix o
p
_rs()
optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
lami Rudi
gen: use
better names
f
or
opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gh
o
lam
i
Rudi
cpp: define __i38
6
_
_; __x86_
6
4
_
_ is
no longer supporte
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghol
a
mi Rudi
gen:
load the first tmp befo
r
e calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali
Gholami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Ru
d
i
ncc: fix name->name str in
i
t
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow extern array decla
r
at
i
ons w
i
thout
s
i
z
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: incl
u
de
s
t
ddef
.
h
for usi
n
g offseto
f
()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i
G
ho
l
ami Rudi
tok:
p
ars
e
uppercas
e
h
e
x number
s
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholam
i
Rudi
n
c
c
: fix setti
n
g F_
I
N
I
T for ea
c
h def
i
ned na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami Ru
d
i
cpp: handle nested mac
r
o calls l
i
ke M(
M
(1))
commit
|
commitdiff
|
tree
2010-07-14
A
li Gh
o
lami Rudi
t
o
k: don't
go
b
e
y
o
n
d b
u
f len for 3-ch
a
r tokens
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
Ghola
m
i
Rudi
tab
.
h: us
e
the standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gh
o
lami Rudi
ncc: fix calli
n
g ts_pop() prematurely in opa
s
sign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rud
i
gen:
ignore t
h
e sign of the second operand
i
n
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
holami Rudi
ncc: fix & a
n
d * on
functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen
:
d
on't overwrite pushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami
Rud
i
g
en: change stack alig
n
me
n
t
t
o
4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc:
d
on'
t
change operand or
d
e
r
for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami Rudi
g
e
n: only perform const op for addresses when a
d
d
i
ng
commit
|
commitdiff
|
tree
2010-07-08
Ali
Gholam
i
Rudi
gen: zer
o
ing e
a
x doesn
'
t
seem necess
a
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: f
i
x ++s fo
r
pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rud
i
ncc
:
fix
function
p
ointer
arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Ru
d
i
gen: remove the unus
e
d c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ge
n
: use tmp->off for loc
a
ls too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami
Rudi
por
t
ne
a
tcc t
o
x86
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rudi
gen: functions for performin
g
opt
i
mi
z
ed
o
p
s
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami R
u
di
gen: fix two-by
t
e opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
gen: u
s
e an in
t
f
o
r
o
per
a
tors
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rud
i
replac
e
o_*(
)
functions with o_bop() and
o_uo
p
()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholam
i
Rudi
add s
p
ecializ
e
d
i
n
c
/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami Rudi
gen: let all g
r
ps
be
u
s
e
d
a
s
b
yte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
o
u
t: don't need
MA
X
SEC
S
anymore
commit
|
commitdiff
|
tree
next