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
int: load assignment destination last if possible
2011-04-01
A
li Ghola
m
i Ru
d
i
ge
n
: use i_set() in
i
_
l
not()
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gholami Rudi
gen: pass the number o
f
arg
u
ments to o_func_be
g
()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami Rudi
gen: encode 0xf0000000 a
s
an i
m
me
d
iat
e
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holami Rudi
gen
:
s
wap the immediate if needed
f
or ==
a
nd !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghola
m
i
R
udi
gen: encode cm
p
+immediate
instructio
n
s
commit
|
commitdiff
|
tree
2011-03-31
A
l
i G
h
ola
m
i
R
udi
gen: put the imme
d
iate in t
h
e opco
d
e
if po
s
sib
l
e
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen
:
re
m
o
ve c
m
p+
b
ranch
o
p
ti
m
ization; mov
e
d to opt branch
commit
|
commitdiff
|
tree
2011-03-30
A
l
i Gho
l
ami R
u
di
cpp: hand
l
e function
macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Al
i
G
h
o
la
m
i Ru
d
i
g
e
n:
r
ename dat_bss() and d
a
t
_
dat() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
li G
h
ol
a
mi Rudi
gen: group funct
i
ons in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen: reset
l
a
st
_
set
a
fter cmp+
b
optimi
z
ation
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
gen: fix ~ ope
r
ator imp
l
ementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Ru
d
i
nc
c
: dereference func
t
ion
p
ointers li
k
e any other varia
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
g
e
n: don
'
t remove
the l
a
st
ret
u
rn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami Rudi
gen:
d
on
'
t
let o_cast() c
h
ange deref
e
renc
e
d typ
e
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc:
u
se tok
_
j
mp()
i
nstead of tok_(
s
e
e
|get)
(
)
i
n en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami
R
udi
gen: handle
large offs
e
ts
f
or str
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami Rudi
gen: rep
l
a
ce TMP_REG* macros with re
g
_for
t
mp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
R
udi
gen:
c
ha
n
ge o_nogen
(
)
/o_
d
ogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
R
udi
gen: don't g
e
nerate excess jumps for t
h
e last
r
e
t
urn
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
Gholami Rudi
gen: don't add d
u
plicate da
t
a to number pool
commit
|
commitdiff
|
tree
2011-03-20
A
li Gholami Rudi
gen: call
tmp_to() in for loading
r
hs in o_
a
ssin
g
()
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
olami Ru
d
i
g
en: ignore
O
_SIGNED when checking the o
p
co
d
e
commit
|
commitdiff
|
tree
2011-03-17
A
li G
h
o
l
ami Rudi
gen
:
fix signed divi
s
ion to
negate
t
h
e remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali
G
ho
l
ami Rudi
gen:
m
erge de
c
rem
e
nt and check in i_memcpy()
and i_mems
e
t()
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
o
lami R
u
di
gen:
d
on't save variable registers
bef
o
r
e
ca
l
ls
commit
|
commitdiff
|
tree
2011-03-15
A
li
G
holami
Rud
i
g
e
n: add
s
o
f
t
ware div/mod im
p
lementation
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
ncc
:
set O_SIGN for most binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
ncc: dereferenc
e
the n
o
t e
x
press
i
on of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
p
e
rfor
m
sig
n
ed operations if O_SIGNED
b
i
t is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
o
lam
i
Rudi
c
p
p: defin
e
__
a
rm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Ghola
m
i Ru
d
i
ncc: don't cast
the return value fo
r
void
f
un
c
t
ions
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami
Rudi
g
e
n: more compact ver
s
i
on of memcpy() and memse
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
g
en: don't output
r
elocat
i
ons
w
hen o_
n
oge
n
() is ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Ru
d
i
n
e
a
tcc
a
rm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean
u
p t
h
e interf
a
ce between
n
c
c
.
c
, gen
.
c a
n
d
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
a
m
i Rud
i
npp: rem
o
ve com
m
e
n
ts afte
r
pr
e
processing
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
cpp: do
n
't remo
v
e
n
on-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Ghol
a
mi
R
u
di
npp
:
al
l
o
w
usi
n
g neat
c
c'
s
preprocessor
a
s a s
t
an
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cp
p
:
don
'
t skip non-eol macro backsla
s
h
es
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
lami Rudi
gen: fix op_rs() optimization funct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Al
i
G
h
o
lami R
u
di
gen:
use bette
r
names
f
or opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholam
i
Rudi
c
p
p: define __i386__; __x8
6
_6
4
__ is
n
o
longer supp
o
rted
commit
|
commitdiff
|
tree
2010-11-20
Al
i
Gholami Ru
d
i
gen: load the
f
irst
tmp before c
a
l
l
ing TMP_R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
ad
d
README
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
o
lami Rudi
nc
c
: fix name->name
s
tr initial
i
zer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholam
i
R
u
d
i
allow extern
a
r
r
a
y declarations
w
ithout si
z
e
commit
|
commitdiff
|
tree
2010-07-29
Al
i
G
h
olami Rudi
cpp: include stddef
.
h
f
o
r u
s
ing offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Ghola
m
i Rudi
tok: parse uppercase hex numbe
r
s
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
holami Ru
d
i
ncc:
f
ix setting F_
I
NIT for each defined
n
ame
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
m
i
Rudi
c
pp: handle nested macro calls like
M
(M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i
R
udi
t
o
k
:
don't go beyond buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i Rudi
t
a
b
.
h: use the s
t
and
a
rd offsetof(
)
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Ghola
m
i
Rudi
n
c
c: f
i
x calling ts_
p
op() prematurely in opassi
g
n()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gho
l
am
i
Rudi
g
e
n
:
ignore th
e
sign of the second o
p
erand
in
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
Gholami Rudi
ncc:
f
ix
&
a
nd * on func
t
ions
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
Ali Gholami Rudi
gen
:
cha
n
g
e st
a
ck alignmen
t
to
4
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
G
h
o
lami Rudi
ncc: don'
t
c
hange o
p
era
n
d
o
r
d
er
for
const
o
ps
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen
:
only pe
r
form
const
o
p
f
o
r add
r
esses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholam
i
R
u
d
i
gen:
zeroi
n
g eax doesn't seem necessa
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i Rud
i
ncc:
fix
++s
for pointers
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
n
c
c
:
f
ix function p
o
inter arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen
:
r
e
mo
v
e the unus
e
d c_
o
p(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
Rudi
g
e
n: us
e
t
mp->off fo
r
locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port neatcc to
x
86
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rudi
g
e
n: f
u
nctions for pe
r
f
orming optimized ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
gen: fix
two-byte opco
d
e bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen
:
use
a
n
int f
o
r ope
r
ators
commit
|
commitdiff
|
tree
2010-06-23
Ali Ghol
a
mi Rudi
replace o_*()
funct
i
o
n
s with
o_bop(
)
a
nd o_uo
p
()
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
holam
i
Rudi
add specializ
e
d inc
/
dec operati
o
ns
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami Rud
i
gen: let all grps be used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
R
udi
o
ut: don't
n
eed MAXSECS
a
nymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
t
ab
:
let ta
b
l
e
size be H
A
SH
I
TEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami
Rudi
out
:
mer
g
e
a
l
l
sec
t
ions in
t
o
o
ne text
section
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
cpp: reset
a
rg c
o
unt
o
n macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Gholami Rudi
o
u
t
:
make
nea
t
cc
w
o
rk
with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: ha
n
dle c
h
ar a
r
g
u
m
e
nts
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
cc: align str
u
ct
s
base
d
on
t
h
e
fir
s
t fie
l
d
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
holami Rudi
mov
m
acro hash
t
able t
o
t
ab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Ru
d
i
g
e
n: ha
n
dle uns
i
gned -> long cast
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
c
pp: save
m
ac
r
o names in a h
a
s
h table
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hola
m
i Rudi
ncc: div
i
de
(ptr - ptr
)
result
o
nly
i
f
size
>
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
gen: use mov
s
x
d
o
nly w
h
en
s
r
c
is sign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
t
ok: 0x1 sho
u
l
d
b
e
uns
i
gned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
l
a
mi Ru
d
i
gen: fix the conditions for
movxx
ope
r
ations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix ge
t
t
i
ng
i's t
y
pe in
+
+i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc:
handle
p
tr operation
s
on s
t
ructs
ptr
s
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
ncc: fix ca
l
l
i
ng f
u
nction
p
oint
e
r
s
with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gh
o
lami Rudi
ncc: do
n
't take
cas
e
ex
p
rs as la
b
e
l
s
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
gen:
don't gener
a
t
e
code after o_n
o
gen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rud
i
all tmps should be the same in co
n
ditio
n
al bran
c
hes
commit
|
commitdiff
|
tree
2010-06-17
Ali Ghola
m
i Rudi
gen:
fix loading back tmps in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gh
o
lami Rudi
l
e
t
t
o
k_num()
ret
u
rn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami Rudi
g
e
n: relocation address
s
ize is always 4
f
or now
commit
|
commitdiff
|
tree
2010-06-16
Ali G
h
o
lami
Rudi
gen:
fix SYM_PTR() macr
o
commit
|
commitdiff
|
tree
2010-06-16
Ali G
h
olami Rudi
gen: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali
G
holami
Rudi
ncc: let shift a
m
ount be an uns
i
gned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
g
e
n: cle
a
nup
t
mp handlin
g
and
fix
r
egs array in
o
_swa
p
()
commit
|
commitdiff
|
tree
2010-06-14
A
li Gholami Rud
i
ncc: ali
g
n struc
t
memb
e
rs
commit
|
commitdiff
|
tree
next