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
gen: remove cmp+branch optimization; moved to opt branch
2011-03-30
Ali
G
holami Rudi
gen: remove cmp+branch optim
i
z
a
tion; moved to opt
branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp: ha
n
d
le f
u
n
c
t
i
on macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
g
e
n
: rename dat_bss() an
d
dat
_
dat()
to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rud
i
gen: gr
o
up functions in
g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
ho
l
ami Rudi
g
e
n: reset last
_
set after cmp
+
b op
t
imization
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami Rudi
gen
:
f
ix ~ operator
imp
l
ementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami Rudi
ncc: dereferenc
e
f
u
ncti
o
n po
i
nters like any
other
v
ariables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami R
u
d
i
gen
:
don't remove the last return
j
ump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami R
u
di
gen: don'
t
let o_cast() change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami
R
udi
ncc: use tok_jm
p
() i
n
stead of
t
ok_(see
|
g
et)() in enum_cre
a
t
e
()
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
hola
m
i Rudi
gen:
h
andle large o
f
fsets for str
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
g
en: replace TMP_RE
G
* macros with reg
_
fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
R
u
di
g
e
n: change
o
_
n
ogen
(
)/o_dogen()
t
o be recursive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
g
en: don'
t
generate excess jumps
for the la
s
t return
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holami Rudi
gen: don't add dupl
i
cate data
t
o n
u
m
b
er pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call tmp_to() in f
o
r
l
oadin
g
rhs in
o
_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghol
a
mi
R
udi
gen
:
ignore O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
h
o
lami
Ru
d
i
gen: fi
x
s
i
g
n
ed
divi
s
ion to nega
t
e th
e
remainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gholami R
u
d
i
gen: merge d
e
c
re
m
ent and check in i_
m
emcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
di
ge
n
:
d
on't
s
ave variable regi
s
ters before cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
d
i
gen:
a
d
d softwar
e
div/mod
i
mplementa
t
ion
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc
:
se
t
O
_
SIGN fo
r
m
o
st binary opera
t
ion
s
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
nc
c
: d
e
refere
n
ce
t
he not expressi
o
n of c
e
xprs
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
ho
l
ami
R
ud
i
per
f
orm signed oper
a
t
i
ons if O_
S
IGNED bit is s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
cpp:
defin
e
__
a
rm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lam
i
Rudi
ncc: don't
c
ast th
e
return value
f
or void functi
o
ns
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Rudi
gen: more compact v
e
r
s
i
on of m
e
mcpy() and memset(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Rudi
gen: do
n
't outpu
t
reloca
t
ions when o_
n
ogen() i
s
c
alled
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
n
e
atcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Al
i
Gholami Rudi
c
lea
n
u
p t
h
e interface betwee
n
ncc
.
c
, gen
.
c
a
n
d out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp:
rem
o
ve comments a
f
ter
preprocessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gh
o
lami Rudi
cpp: don't
remove non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Gholam
i
Rudi
n
pp
:
allow usin
g
n
eatcc's pr
e
proce
s
sor a
s
a
stan
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholam
i
R
udi
cpp: don't skip non-eo
l
macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
ho
l
a
mi Rudi
gen
:
f
ix op_rs
(
)
opt
i
mizati
o
n functi
o
n
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gholami R
u
di
gen: use better names f
o
r opcode
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp:
d
efine __i386__; __x
8
6_64_
_
is no longer
suppo
r
ted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
g
en:
load
t
he first tmp
b
efore calling TMP
_
R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
ad
d
REA
D
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc: fix name-
>
name
str
i
niti
a
lizer
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami Rudi
a
l
low extern a
r
ray declara
t
io
n
s wi
t
hout size
commit
|
commitdiff
|
tree
2010-07-29
A
l
i
Gho
l
ami Ru
d
i
cpp: inc
l
ud
e
s
t
dd
e
f
.
h for usi
n
g offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok: parse upperca
s
e hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Gh
o
lam
i
Ru
d
i
nc
c
: f
i
x settin
g
F_INIT for
each
defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholam
i
Rudi
c
p
p: handle nested ma
c
ro calls like M
(
M
(
1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
Ru
d
i
tok: don'
t
go
beyond buf l
e
n f
o
r
3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h: us
e
t
he st
a
ndard offs
e
tof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholami
R
udi
ncc:
fi
x
calling ts_pop() prematurel
y
in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olami Rud
i
gen: ignore
the sign of
t
he s
e
cond operand
in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
Gholami Rudi
ncc: f
i
x
& and * on fun
c
tions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: don't overwr
i
te
pushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: change stack alignmen
t
to
4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
holami Rudi
ncc: don't cha
n
ge operand ord
e
r
f
or cons
t
o
ps
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
hol
a
mi R
u
di
gen: only perf
o
rm const
o
p for addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rud
i
gen: zeroing eax doesn't seem n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
Rudi
n
cc
:
fix ++s f
o
r p
o
inter
s
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Rudi
ncc: fix f
u
nc
t
i
on pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: remove the u
n
u
s
e
d c_op
(
)
commit
|
commitdiff
|
tree
2010-06-30
Al
i
G
h
o
l
a
mi Ru
d
i
gen: use tmp->off
for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali
Gholami Rudi
por
t
neat
c
c
t
o x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rud
i
gen: f
u
nct
i
on
s
for p
e
rforming opt
i
m
i
zed ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: fi
x
t
w
o-byte op
c
ode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
g
en:
u
se an i
n
t for o
p
e
rat
o
rs
commit
|
commitdiff
|
tree
2010-06-23
Ali Gho
l
ami
R
udi
rep
l
ace
o_*(
)
functions
with
o
_
bop(
)
an
d
o_uop
(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add
s
peciali
z
ed inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Ru
d
i
gen: let all grps be used as
b
yte
r
egisters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: don't
n
eed MAX
S
ECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholam
i
Rudi
tab
:
let table size be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
A
li
G
holami Rud
i
out: merge all sections into one
t
e
xt section
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami Rudi
c
p
p: reset a
r
g count on m
a
cro
redefinitio
n
commit
|
commitdiff
|
tree
2010-06-19
Ali G
h
olami Rudi
o
ut:
make neatcc work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
o
lam
i
Rudi
gen: handle ch
a
r
a
r
guments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami
Rudi
ncc:
align str
u
ct
s
based on the first field
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olam
i
R
u
di
mov macro hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
g
en: handle unsigned -> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
cpp: save m
a
cro na
m
es in a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
R
udi
ncc: divide (ptr - ptr) result only if size
> 1
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gho
l
ami R
u
d
i
gen:
use movs
x
d only when
s
rc is sig
n
ed
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami
Rudi
t
o
k
:
0x1 should be
u
nsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i R
u
di
gen: fix the conditi
o
n
s
f
or mov
x
x ope
r
at
i
ons
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
ncc: fix
getting
i
's type i
n
+
+i
commit
|
commitdiff
|
tree
2010-06-18
A
li Gho
l
ami Rudi
ncc: h
a
ndl
e
pt
r
oper
a
ti
o
n
s
on struc
t
s pt
r
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
am
i
Rud
i
n
cc: f
i
x calling function
p
o
inters with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hola
m
i R
u
di
ncc: don't take case ex
p
rs as
labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
g
e
n:
do
n
't ge
n
e
rate co
d
e after o_n
o
g
en() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
all
t
mps sho
u
ld be the
s
ame i
n
co
n
ditional br
a
nch
e
s
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen:
f
ix loading b
a
ck tmps
i
n
m
em with
o
ut deref
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gholami Rudi
let
t
ok_
n
um() re
t
ur
n
the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami
R
udi
gen: relocation addre
s
s
s
i
ze is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami
R
udi
g
en: fix SYM_PTR() m
a
cro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali G
h
olami Rud
i
n
c
c: l
e
t shif
t
amoun
t
be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami
Ru
d
i
gen: cleanup tmp h
a
ndling
an
d
fix r
e
gs array in o_swap(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
n
c
c: align struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Rudi
gen: m
a
rk cop
i
ed r
e
gister a
s
t
h
e owner in o_tmpc
o
py()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
R
u
d
i
gen: fix
"
if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rud
i
ncc: fix pointer
a
r
ithmetic on
st
r
uct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holami R
u
di
show a
n
error
msg if no input file
commit
|
commitdiff
|
tree
2010-06-13
Al
i
Gholami Ru
d
i
tok: a
c
cept
u
pperc
a
se
hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali G
h
ol
a
mi
Rudi
show syntax error location
commit
|
commitdiff
|
tree
next