repo.or.cz
/
neatcc
/
cc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
gen: don't remove the last return jump
2011-03-27
A
l
i G
h
ola
m
i
R
ud
i
gen: don
'
t remove
t
he
la
s
t return
j
u
mp
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen:
d
o
n
'
t
let o_cast() chan
g
e derefer
e
nced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
m
i
R
udi
n
c
c: us
e
t
ok_
j
mp()
instead of tok_
(
see|get)() in enum_creat
e
()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: handle l
a
rge offse
t
s for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami Rudi
gen: replac
e
TMP_REG* macro
s
w
ith reg_
f
ortmp()
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholam
i
Rudi
gen: change o
_
nogen()/o_dogen(
)
t
o
b
e
recurs
i
ve
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
R
udi
gen: don't ge
n
era
t
e
ex
c
ess
jumps for t
h
e
l
a
st
r
eturn
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami Rudi
g
e
n
: d
o
n
'
t
a
dd dupl
i
c
a
t
e data
t
o number
p
o
ol
commit
|
commitdiff
|
tree
2011-03-20
A
li Gholami Rudi
gen: call tmp_to() in
f
o
r
loading rhs
i
n o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Al
i
G
h
o
l
ami Ru
d
i
gen: ignore O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
g
e
n: f
i
x
signe
d
division
to n
e
gate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Al
i
Gholami Rud
i
g
en:
merge d
e
crement a
n
d check in i_
m
emcpy() and i_mems
e
t
(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
a
m
i Rudi
g
e
n:
don't save va
r
i
able regist
e
rs before
cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Ghol
a
mi Rudi
gen
:
add
software div/mod impl
e
ment
a
tion
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Rudi
ncc: set O_
S
IGN for most binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: dere
f
ere
n
ce th
e
not expression
of ce
x
prs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholam
i
Rudi
pe
r
form signed oper
a
tion
s
i
f O_
S
I
GN
E
D
bit
is set
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
ola
m
i
R
u
d
i
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
nc
c
: don't cast the ret
u
r
n
value fo
r
void fu
n
ctions
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami Rudi
gen:
more
compa
c
t
v
ersion
o
f
memcp
y
() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ge
n
: do
n
't output
r
elocations when o_nogen(
)
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
lami Rudi
neatcc ar
m
p
ort
commit
|
commitdiff
|
tree
2011-03-08
Ali
Gholami Rudi
clean up the in
t
e
rf
a
ce be
t
ween n
c
c
.
c,
gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gh
o
lami R
u
di
npp
:
remove co
m
ments af
t
er preprocessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rud
i
cpp:
don
'
t remove
non-macro num
b
er signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghol
a
mi Rudi
npp: allow
using
n
eat
c
c's pre
p
rocesso
r
as a s
t
andalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
Gholami Rudi
c
p
p
: don't
s
ki
p
non-eol
macr
o
ba
c
kslashes
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami Rudi
gen:
f
ix
op_rs() optimi
z
ation f
u
nction
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: u
s
e be
t
ter n
a
mes fo
r
opcode
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghola
m
i Rudi
cpp: def
i
n
e
__i386__; _
_
x8
6
_
6
4__ i
s
no
longer
su
p
ported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gh
o
l
a
mi Rudi
ge
n
: load the first
tmp be
f
o
re calling
T
MP
_
REG2()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gholam
i
Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
A
li Gholami Ru
d
i
ncc: fix
n
ame->name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami Rudi
allow ext
e
r
n array
dec
l
arati
o
ns
w
ithout
s
i
ze
commit
|
commitdiff
|
tree
2010-07-29
Ali Gho
l
a
m
i Rudi
cpp: include stdd
e
f
.
h for using offse
t
of()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami R
u
di
tok: parse uppercase
h
ex
numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gh
o
la
m
i R
u
di
n
cc: fix setting F_INIT
f
or each
de
f
in
e
d name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rudi
cpp: handle nested
m
acro calls like M(M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
A
li G
h
olami Rud
i
tok:
don
'
t go b
e
yond buf l
e
n
f
or 3-ch
a
r to
k
ens
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rudi
tab
.
h:
use
t
he stan
d
ard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Gholami Rudi
ncc: fix calling ts
_
pop() p
r
emat
u
rely i
n
opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholami Rudi
gen:
ignore the
sign of the second ope
r
and in
/
a
nd %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gh
o
lami R
u
d
i
ncc: fix &
a
nd * on fu
n
c
t
i
ons
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholam
i
Rudi
g
en: don'
t
overwrite pushed
e
bx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami R
u
di
g
en: ch
a
nge stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: don't change operand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rudi
gen
:
only perform const op f
o
r
addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rud
i
gen: zeroing eax doesn'
t
s
e
em nec
e
ssary
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
ho
l
ami Rudi
n
c
c: fix
+
+s for
point
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami R
u
di
n
cc: fix
f
unction pointer ar
r
ay
s
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
ge
n
: remove
t
h
e
unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: use tmp-
>
off
f
o
r
local
s
too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
h
o
lami Rudi
port neatcc to
x8
6
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
g
e
n: functi
o
ns
f
o
r
pe
r
form
i
ng optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
lami Ru
d
i
gen:
f
ix
t
w
o
-
b
yte opco
d
e bit
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
gen:
u
se an int for operato
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
replac
e
o_*() functions
w
i
th o_b
o
p() and o
_
uo
p
()
commit
|
commitdiff
|
tree
2010-06-21
A
li Gho
l
ami Rudi
add specialized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholam
i
Rudi
gen: let
all grps be used
a
s
byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami
R
u
di
out:
don't n
e
ed MA
X
SECS anymore
commit
|
commitdiff
|
tree
2010-06-20
A
li
Gholami Rudi
tab:
l
et t
a
ble size be
H
AS
H
ITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
out: merge all sections
into one text
secti
o
n
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
hola
m
i
Rudi
cpp: reset arg count on ma
c
ro
r
edefinitio
n
commit
|
commitdiff
|
tree
2010-06-19
Al
i
Gholami Rudi
out
:
make neatcc wor
k
w
ith gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
h
o
lami
Rudi
gen: hand
l
e char
a
r
guments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
ncc:
align structs base
d
on the first
field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
mov macro hash
table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: handle unsigned -> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
cp
p
: save macro names
i
n a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
cc: divide (ptr -
p
tr)
r
esult only
if size
>
1
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
holami Ru
d
i
gen
:
u
s
e movsxd only when src is si
g
ned
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
tok: 0x1 should be un
s
igned
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
g
en:
f
i
x the conditions for movxx
ope
r
a
tions
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc
:
f
i
x getting
i'
s
type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami
R
udi
ncc: handle ptr o
p
e
ration
s
on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
cc:
fix calling fu
n
c
t
ion pointers
w
ith arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: don't take ca
s
e e
x
p
r
s as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: don't
generate cod
e
after o_nogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rud
i
all tmps sh
o
u
ld
b
e th
e
sam
e
i
n
conditional bra
n
ches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami
R
udi
gen: fix
loading back
t
m
ps i
n
mem withou
t
deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Ru
d
i
let tok_n
u
m() r
e
turn th
e
bt
commit
|
commitdiff
|
tree
2010-06-17
A
l
i
G
ho
l
ami Rudi
gen: relocation ad
d
ress s
i
ze is always 4 for
now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
g
e
n: fix
S
YM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Ghol
a
mi
Rudi
gen: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali
G
hol
a
mi Rudi
ncc: let s
h
ift amo
u
nt b
e
an unsi
g
ned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gh
o
lami Rudi
gen: c
l
eanup tmp handli
n
g
a
nd
f
i
x regs array in
o
_
swa
p
()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rud
i
ncc: al
i
g
n struct me
m
bers
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami Rudi
gen: mar
k
copied r
e
g
ister
a
s the owner in o_
t
mpcopy()
commit
|
commitdiff
|
tree
2010-06-14
A
l
i
Gholam
i
R
udi
gen: fi
x
"if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gho
l
ami Rudi
ncc: fix pointer arithmetic on
s
t
r
uc
t
ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
sho
w
a
n error msg if n
o
input file
commit
|
commitdiff
|
tree
2010-06-13
Ali G
h
ola
m
i Rudi
tok:
a
cc
e
pt uppercase
he
x
d
i
gits
commit
|
commitdiff
|
tree
2010-06-13
Ali
G
holami Rudi
sh
o
w
syn
t
ax e
r
ror l
o
c
ation
commit
|
commitdiff
|
tree
2010-06-12
Ali
G
h
o
l
ami Rudi
g
en: fi
x
ignor
i
ng r
e
gop1
(
)
r
e
tu
r
n
v
alue
commit
|
commitdiff
|
tree
2010-06-11
Al
i
Gholami Rudi
gen: don't change
t
mp->bt when storing
a
n lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
R
u
di
gen: ex
t
end eax to edx for m
u
l/div op
commit
|
commitdiff
|
tree
2010-06-11
A
li Gholami Rudi
ncc: arrays sho
u
ld be pr
o
cesse
d
in the reverse
d
order
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rud
i
g
e
n: fix th
e
order
of
MOVSXD's opera
n
ds
commit
|
commitdiff
|
tree
2010-06-10
A
l
i
Ghol
a
mi R
u
d
i
gen: fix fr
e
ein
g
regist
e
r
s
before call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
inval
i
date l
a
st_cmp if
tmps a
r
e
ch
a
ng
e
d
commit
|
commitdiff
|
tree
next