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
reg: the new global register algorithm
2011-03-31
A
li Gho
l
ami Rudi
g
e
n: encode 0xf0000000 as an immediat
e
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami
R
ud
i
gen: swap t
h
e immediate if needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: encode cmp+im
m
ediat
e
instructi
o
ns
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
gen: put the immediate in
t
he opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen: remove cmp+branch
opt
i
mi
z
ation; mov
e
d
to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghola
m
i Rudi
c
pp: ha
n
dle functi
o
n
m
acros
wit
h
no ar
g
umen
t
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
g
e
n: rename
dat_bs
s
() an
d
dat
_
d
at()
t
o begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
gen:
g
r
oup functio
n
s
in g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
li
G
h
olami Rudi
gen: rese
t
last_set after cmp+
b
optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen: fix
~
o
per
a
t
o
r i
m
plementation
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami Rudi
n
c
c: dereference fu
n
ction poi
n
ters like
a
ny oth
e
r
variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lam
i
Rudi
gen: don't remove the last ret
u
rn
jump
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
gen: do
n
'
t
l
e
t
o
_
cas
t
() change deref
e
renced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
n
cc: use t
o
k_jmp()
i
nstead of
tok_(see|get)() in
e
num_creat
e
()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
gen:
h
a
n
d
le large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami Rudi
gen: replace TMP_REG
*
m
a
cros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gh
o
lami
Rudi
gen
:
change o_nogen()/
o
_dogen() to be recurs
i
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n: don't g
e
nerat
e
ex
c
e
ss jumps fo
r
the las
t
return
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
G
holami Rudi
gen: don'
t
add duplicate data to number
p
o
o
l
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Gholami
R
u
d
i
g
e
n: call tmp_to() in for
l
oa
d
ing rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
o
lami Rudi
gen: ig
n
ore O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholam
i
Rudi
gen: fix signe
d
divisio
n
to
nega
t
e th
e
remainde
r
commit
|
commitdiff
|
tree
2011-03-16
Ali Gho
l
ami Rudi
gen: merge dec
r
ement a
n
d check in i
_
memcp
y
()
a
nd
i
_memset
(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
gen: don't
sav
e
variable registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen:
a
d
d
s
oftw
a
re div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami
R
udi
ncc: set O_SIGN for m
o
st
binary opera
t
ions
commit
|
commitdiff
|
tree
2011-03-15
A
li
G
ho
l
ami Rudi
ncc: dereferen
c
e the not expre
s
sion of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Ghola
m
i Rudi
p
e
rform s
i
gned
o
perations if O_SIGNED bit
is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
m
i
Rudi
c
p
p: de
f
ine __
a
rm__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gh
o
lami Rudi
ncc: don't cast the re
t
u
rn
v
a
lue
for v
o
id functio
n
s
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
gen
:
mo
r
e compact version of memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
ola
m
i Rudi
g
en: don't output r
e
l
o
cat
i
ons whe
n
o_nog
e
n
(
) is called
commit
|
commitdiff
|
tree
2011-03-13
A
li Gholami
R
u
d
i
neatcc
a
rm port
commit
|
commitdiff
|
tree
2011-03-08
A
l
i
Gholami
R
u
di
cle
a
n up the interfa
c
e
between ncc
.
c, ge
n
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami
R
ud
i
n
p
p: rem
o
ve comments afte
r
prepr
o
c
e
ssi
n
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
Rudi
cp
p
: don't r
e
move non-macro number
s
ig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami Rudi
npp: allo
w
using neatcc's preprocess
o
r as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
G
holami Rud
i
cpp: don't skip non-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami Rudi
gen: fix op_rs() optimiz
a
tion
f
unction
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: us
e
better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Gholami Ru
d
i
cpp: define __i386__; _
_
x8
6
_
64
_
_ is
n
o long
e
r supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami
Rudi
gen
:
l
oad the first tmp
b
efo
r
e call
i
ng
T
MP_REG2(
)
commit
|
commitdiff
|
tree
2010-09-16
A
l
i
G
h
olami Rudi
add READM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc: f
i
x
name->name str initial
i
z
e
r
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gholami Rudi
a
l
lo
w
ext
e
r
n
a
r
ray d
e
clarations
w
i
t
hou
t
size
commit
|
commitdiff
|
tree
2010-07-29
Ali
G
holami Ru
d
i
cpp: i
n
clude stddef
.
h
f
or using
of
f
setof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholam
i
Rudi
tok: parse
u
pperca
s
e hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali G
h
olami Rudi
ncc: fix se
t
ting F_INIT for
e
ach de
f
i
n
e
d name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Ru
d
i
cpp:
ha
n
dle nested macro calls like M(M
(
1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Ru
d
i
to
k
:
d
on't go beyon
d
b
u
f
l
e
n f
o
r 3-char
t
okens
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gh
o
la
m
i Rudi
tab
.
h: use the standard off
s
etof()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
G
hola
m
i Rud
i
nc
c
:
f
ix calling ts
_
pop(
)
pr
e
mat
u
rely
i
n o
p
assign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
gen: ign
o
re the sign of the se
c
ond operand in / and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Ghola
m
i
R
udi
ncc: fix & and *
on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
Ghola
m
i Rudi
ge
n
: don't
o
ve
r
write pushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami Rudi
gen: change
s
tack align
m
ent
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami Rudi
ncc: don't ch
a
n
g
e
operand or
d
er for co
n
st ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
u
di
gen:
only
p
erf
o
rm const op
f
o
r
a
d
dresses w
h
e
n
adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
holami Rudi
gen: zeroing eax doe
s
n
't
s
eem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc
:
f
i
x ++s for poin
t
ers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix function pointer arr
a
ys
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
g
en: rem
o
v
e
t
he
u
nused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Rudi
gen: use tmp->off for l
o
cals too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
holami Rudi
port
n
eatcc to x8
6
commit
|
commitdiff
|
tree
2010-06-24
Al
i
G
h
o
lami Rudi
gen: functions for performing o
p
ti
m
ized ops
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami
R
u
di
gen: fix two-byte
o
p
c
o
de bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
g
e
n
: use
an
i
n
t
for operators
commit
|
commitdiff
|
tree
2010-06-23
A
l
i Gholami Rud
i
re
p
la
c
e
o_*() f
u
nctions
w
ith o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
Gholami Rudi
add specializ
e
d inc
/
dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rud
i
gen: let all grps be use
d
as byte r
e
gisters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
ami Rudi
out:
d
o
n't n
e
ed MAXSECS anym
o
re
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
tab: l
e
t table size be HA
S
HITEMS
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Ghol
a
mi Ru
d
i
out: merge all sections into
o
ne text
s
ec
t
ion
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Ghola
m
i
Rudi
cpp: reset
a
rg count on macro redefi
n
ition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
o
ut: ma
k
e neatcc work wi
t
h
g
nu ld
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
gen: handle char ar
g
uments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: align str
u
cts based on the f
i
r
s
t f
i
e
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami
Rudi
mov macro hash table to t
a
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
gen
:
handl
e
unsign
e
d
-
> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
cpp: save m
a
c
ro names in
a
hash tabl
e
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rud
i
n
c
c: divide (ptr -
p
t
r
) result only if si
z
e > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
ho
l
a
mi Rudi
ge
n
: use mov
s
x
d
o
n
l
y
when s
r
c
is s
i
gne
d
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami R
u
di
t
o
k:
0
x1 should be unsign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: fix the conditions for movxx operation
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i R
u
d
i
ncc:
f
ix
ge
t
t
ing i's type in +
+
i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rud
i
ncc: handle ptr ope
r
ations on stru
c
t
s ptr
s
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Ru
d
i
nc
c
: f
i
x c
a
lling
function poi
n
ters w
i
th arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
ho
l
a
m
i Rudi
nc
c
: don't take case ex
p
rs
a
s
labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rud
i
gen: don't generate code after o_nogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
a
l
l tmps sh
o
uld be th
e
same
i
n conditional branches
commit
|
commitdiff
|
tree
2010-06-17
A
li Gho
l
a
m
i
Rudi
gen: fix load
i
ng back
tmp
s
in
m
e
m without d
e
ref
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gholami
R
u
d
i
let
t
ok_num(
)
return the bt
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gholami Rudi
gen:
r
elocat
i
o
n add
r
ess size i
s
always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
g
e
n: fix SY
M
_PTR
(
) ma
c
ro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami Rudi
gen: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
A
li Gho
l
ami Ru
d
i
ncc: let shif
t
amount be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gho
l
a
m
i Rudi
gen: cleanup tmp handling and f
i
x r
e
gs array i
n
o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghola
m
i Rudi
ncc: align struct memb
e
rs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ge
n
:
mark copied register as t
h
e owner in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holami Rudi
gen: fix
"if (!expr
)
"
commit
|
commitdiff
|
tree
next