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
x64: use push instruction for saving registers
2011-04-29
Ali
Ghol
a
mi
R
u
d
i
gen: move opcodes to arc
h
section
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami Rudi
gen: rena
m
e FORK_REG to REG_FO
R
K
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
g
en: pass only
O
_* cons
t
ants to i_*(
)
functions
commit
|
commitdiff
|
tree
2011-04-29
A
li Ghol
a
mi Rudi
gen: handle
s
ym+off func
t
ion c
a
lls
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gho
l
am
i
Ru
d
i
gen: move architecture-specific func
t
ions to the
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
hol
a
mi Rudi
ge
n
: use
i_set()
i
n
i
_
l
not()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rud
i
gen:
pass the number of argument
s
to
o_f
u
nc
_
beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: encode 0x
f
000
0
000 as an immediate
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholam
i
Rudi
gen:
s
w
ap the i
m
mediate if ne
e
ded for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
gen: e
n
c
o
de cmp
+
imm
e
diate instructions
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami Rudi
gen: put th
e
immedi
a
t
e
i
n th
e
opcode if pos
s
ible
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghola
m
i R
u
di
gen: remove cmp+br
a
n
c
h optimization
;
m
o
v
ed to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
c
pp: ha
n
dle
func
t
ion macros with no argu
m
e
nt
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
g
e
n: rename dat_bss()
and
d
a
t
_
dat() to b
e
gin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholami Rudi
gen: group function
s
in g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olam
i
Rudi
gen: rese
t
last_set after cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
g
en: fix ~ operator i
m
plementation
commit
|
commitdiff
|
tree
2011-03-27
A
li Gho
l
ami
R
udi
ncc: d
e
reference function
pointer
s
like any
o
the
r
variab
l
es
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't remove the last re
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ge
n
:
do
n
't let
o_cas
t
() chang
e
dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami Rudi
ncc: use tok_jm
p
(
) instead o
f
tok
_
(
see|
g
e
t
)()
in enum_
c
rea
t
e()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: handle large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi Rudi
gen: replace TMP_REG
*
macros with
reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami Rudi
gen: ch
a
nge o_nogen()/o_do
g
en() to be rec
u
rsive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rud
i
gen: don't generate excess ju
m
ps for the la
s
t return
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami
R
udi
gen: don'
t
add
d
uplicate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: c
a
ll tmp_to() in for loading rhs
in o
_
as
s
ing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
g
en: ignore O_SIGNED when check
i
ng the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
holami Rud
i
gen: fix signed division
to negat
e
the rem
a
inder
commit
|
commitdiff
|
tree
2011-03-16
Al
i
Gholami Rudi
gen: m
e
rge
d
ecrement and check in i_memcpy() a
n
d i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: don't save variable regist
e
r
s
before calls
commit
|
commitdiff
|
tree
2011-03-15
A
li
G
ho
l
a
mi Rudi
gen
:
ad
d
software div/mod i
m
pl
e
mentati
o
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: set O_S
I
GN for most
b
i
nary opera
t
ions
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami R
u
di
ncc: dereference the not e
x
pression of cex
p
rs
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
olam
i
Rudi
perform si
g
n
e
d
operations i
f
O_SIGNED bit is se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami
R
udi
cpp: defin
e
__arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rud
i
ncc: don't cast the return value for vo
i
d functi
o
ns
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ge
n
:
more
compact version of
memc
p
y() and memset(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami R
u
di
gen: don't output
r
elocations when
o_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
n
eatcc arm
p
o
r
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean up t
h
e i
n
t
e
rface be
t
w
e
en ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rud
i
npp: remove co
m
m
ents after preproce
s
sing
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholam
i
R
udi
cpp:
d
on't r
e
move non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
A
li Gh
o
lami Rudi
npp
:
allow using neatcc's prepro
c
essor
a
s
a
s
ta
n
da
l
o
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li G
h
olami Rudi
cpp:
d
on't skip
n
o
n
-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Ru
d
i
ge
n
: fix
op_rs
(
)
o
ptimizati
o
n
f
un
c
ti
o
n
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gholami Rudi
gen:
u
se
b
etter na
m
es for opco
d
es
commit
|
commitdiff
|
tree
2010-12-11
A
l
i
Gholami Rudi
cpp: d
e
f
ine __
i
3
86
_
_; __x86_64__ is no l
o
nger supported
commit
|
commitdiff
|
tree
2010-11-20
A
li Gh
o
lami Rudi
gen: load the
f
irst tmp be
f
ore c
a
lling TMP_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali
G
holami
R
u
d
i
add README
commit
|
commitdiff
|
tree
2010-08-13
A
li
G
holami Rudi
n
c
c: fix nam
e
-
>name s
t
r init
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
Ali
Ghola
m
i R
u
di
allow
extern array
decla
r
ations
w
ithout
size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cp
p
: include
s
tddef
.
h for using offsetof(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali G
h
olam
i
Rudi
tok: parse
u
p
p
ercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
n
cc: fix se
t
ting F_INIT
f
or each de
f
ined nam
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp:
h
a
n
dle nested mac
r
o
calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
udi
tok: don't go
b
eyond buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h:
us
e
t
h
e standard
o
f
f
setof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami R
u
di
ncc: fix calling ts_po
p
()
prematu
r
ely in opassi
g
n()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gho
l
ami Rudi
gen
:
ignore the si
g
n of th
e
second
o
p
era
n
d in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: fix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Ru
d
i
ge
n
: do
n
'
t
overwrite pushed ebx,
e
si and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
ho
l
ami
R
ud
i
gen:
c
h
ange
stack ali
g
nment t
o
4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
udi
ncc: d
o
n't ch
a
nge opera
n
d
o
r
d
e
r
for c
o
nst ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rudi
gen: only perform const
o
p for addr
e
sses when
a
ddi
n
g
commit
|
commitdiff
|
tree
2010-07-08
A
l
i
Gholam
i
Rudi
g
e
n: zeroing eax doesn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rud
i
ncc: fix ++
s
fo
r
pointe
r
s
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Ru
d
i
nc
c
: f
i
x func
t
ion poin
t
e
r a
r
rays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: re
m
ove the
u
nused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami
R
udi
gen
:
us
e
tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali G
h
olami Rudi
port
neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
A
l
i
Gholami Rudi
gen:
functi
o
ns f
o
r
p
erforming opti
m
ized ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
gen: fix two-b
y
te opco
d
e
bit
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
gen: use an i
n
t
f
o
r
operato
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
re
p
lace
o
_*() funct
i
ons with o_bop() and o_u
o
p()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add speci
a
liz
e
d inc/de
c
operations
commit
|
commitdiff
|
tree
2010-06-21
A
li Gh
o
lami R
u
di
g
e
n: let all grps be use
d
as b
y
te registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Ru
d
i
out:
d
o
n
'
t need
M
AXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
mi Rudi
tab
:
let table size be
HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholam
i
R
u
di
o
u
t: merge all sections into one text se
c
tion
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cp
p
:
reset arg count
o
n macro rede
f
ini
t
ion
commit
|
commitdiff
|
tree
2010-06-19
Ali Ghol
a
m
i Rudi
out:
m
ake neat
c
c work with gn
u
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
d
i
gen: handle
char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
ncc:
a
lign structs bas
e
d on
t
he first
field
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholam
i
Rudi
mov macro h
a
sh table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
holami
Rudi
g
en: handle
unsigned ->
long c
a
st
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
cpp
:
save m
a
c
r
o
names in a hash ta
b
le
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
nc
c
: divide
(
ptr - ptr) result only if si
z
e > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Ru
d
i
g
en: use
movsxd on
l
y when src is
signed
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rud
i
tok:
0x1 shou
l
d be unsigned
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
holami Rudi
gen: fix the condit
i
ons
for movxx operations
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Ghola
m
i Rudi
ncc: fix ge
t
ti
n
g i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gho
l
am
i
Rudi
ncc: han
d
le
p
tr operat
i
ons on str
u
cts ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ol
a
mi
R
udi
n
c
c: fix calling function poi
n
ters with argum
e
nts
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
ncc:
d
on't take case exprs as label
s
commit
|
commitdiff
|
tree
2010-06-18
A
li Gh
o
lami Rudi
gen: do
n
't gener
a
te code afte
r
o_noge
n
() in oi()
commit
|
commitdiff
|
tree
2010-06-18
A
li
Ghol
a
mi Rudi
a
ll
tm
p
s shoul
d
be
the same i
n
conditional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gholami
R
udi
gen
:
fix loadin
g
bac
k
tmps in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholam
i
R
udi
let t
o
k_num() re
t
urn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Ghol
a
mi
R
udi
gen:
r
elocati
o
n address
s
i
ze is always 4 for now
commit
|
commitdiff
|
tree
next