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
ncc: dereference function pointers like any other variables
2011-03-27
Ali Gholami
R
udi
n
c
c: d
e
reference funct
i
o
n
p
o
inters like any other va
r
iable
s
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i Rudi
ge
n
: don't
r
em
o
ve the last return jump
commit
|
commitdiff
|
tree
2011-03-27
A
li Gholam
i
Rudi
gen: don't let o_c
a
st() change derefere
n
ced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc
:
use tok_jm
p
() instead
o
f
tok_(s
e
e
|
get)() in en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi Rudi
g
e
n: handle larg
e
offsets for str
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Ghola
m
i
Rudi
g
en: replace TMP_RE
G
* macros
with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rud
i
gen: change o_nogen()/o_dogen() to be recur
s
i
ve
commit
|
commitdiff
|
tree
2011-03-23
Al
i
G
h
ola
m
i
R
udi
ge
n
: do
n
't generate
e
x
c
ess jumps for
t
he last ret
u
rn
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: do
n
't add duplicate
d
at
a
to
n
u
mber pool
commit
|
commitdiff
|
tree
2011-03-20
A
li Ghol
a
mi Rudi
gen:
call t
m
p_to() in
for loading rhs
i
n o_
a
ssing()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Gholami Rudi
gen: ignore O_SIG
N
ED
whe
n
checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i
Gholami Rudi
gen:
f
i
x si
g
ned divisio
n
to
n
eg
a
te th
e
remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali G
h
olami Ru
d
i
gen: mer
g
e
d
ecrement and chec
k
i
n
i
_
memc
p
y
(
)
and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rud
i
gen
:
don't save vari
a
ble registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i
Rudi
gen: add softwa
r
e div/
m
o
d
imple
m
ent
a
tion
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
o
l
a
mi R
u
di
n
cc: se
t
O
_SIGN for most binary ope
r
a
tions
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholam
i
Rudi
ncc: dereference t
h
e n
o
t exp
r
ession of ce
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perf
o
r
m signed opera
t
ions if O_SIGNED bit i
s
se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
c
pp: defin
e
__arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
nc
c
: don't cast the retur
n
value
f
or void functio
n
s
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
ge
n
:
m
o
re co
m
p
a
ct version o
f
memcpy() and m
e
mset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
gen: d
o
n't outpu
t
relocatio
n
s whe
n
o_n
o
gen() is ca
l
l
e
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghola
m
i Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali
Gholami Rudi
cl
e
a
n
up the
i
n
terface betwe
e
n ncc
.
c,
g
en
.
c and
o
ut
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
np
p
: remove co
m
ments after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami
Rudi
cpp: don't re
m
ove non-macro
n
u
mber signs
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gh
o
l
a
m
i R
u
di
npp: allow u
s
ing
ne
a
tcc
'
s pr
e
p
r
ocessor as a
standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp:
d
on't skip non-eol macro
backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Ru
d
i
g
e
n: f
i
x op_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
A
l
i
Gholami Rudi
g
e
n
:
u
se better n
a
mes for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: define __i386
_
_; __x86_64__ is n
o
longer supported
commit
|
commitdiff
|
tree
2010-11-20
A
l
i
G
h
ol
a
mi Ru
d
i
g
e
n
: load the first tmp befo
r
e cal
l
ing TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
R
udi
add README
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami Rudi
ncc: fix name->name
s
tr ini
t
ializer
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
holami Rudi
allow
e
xtern arr
a
y declar
a
tions withou
t
size
commit
|
commitdiff
|
tree
2010-07-29
Ali G
h
olami
Rudi
c
p
p
:
in
c
lude stddef
.
h for using off
s
e
tof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gh
o
lam
i
Rudi
tok: pars
e
upper
c
a
s
e hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
holam
i
Rudi
ncc: fix setti
n
g
F_
I
NIT for each defi
n
ed n
a
me
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
c
p
p:
h
a
n
dle nested macro
calls
l
ike M(
M
(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rudi
tok: don
'
t go
b
eyond buf le
n
for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
hol
a
mi Rudi
ta
b
.
h
:
u
s
e
the standard offset
o
f
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Ru
d
i
ncc: fi
x
calling ts_po
p
() prema
t
urely
i
n
opas
s
i
gn()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
gen
:
ignore
t
he sign of the secon
d
o
p
erand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali G
h
olami Rudi
ncc
:
fi
x
&
a
nd * on
functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: don't overwrite
pushed
e
bx
,
esi and ed
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i
Rud
i
gen:
c
h
a
nge stack al
i
g
n
m
e
n
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: don't cha
n
ge operand order for
const o
p
s
commit
|
commitdiff
|
tree
2010-07-09
A
li
Gholami Rudi
g
e
n: only perfo
r
m const op for addresses wh
e
n
a
d
ding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gh
o
lami Rudi
gen: zeroing eax doe
s
n'
t
seem nec
e
s
s
ary
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
ncc:
f
ix ++s for
po
i
nters
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Rudi
nc
c
: fix func
t
ion pointer arr
a
ys
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gho
l
ami
Rudi
gen
:
remove th
e
u
nused
c
_
op(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rud
i
gen: use tm
p
->off f
o
r locals
t
oo
commit
|
commitdiff
|
tree
2010-06-28
A
l
i Gholami Ru
d
i
port neatc
c
to
x
8
6
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
h
olami Rudi
gen: functions
f
or performi
n
g optim
i
zed
o
p
s
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Ru
d
i
g
e
n
:
fix t
w
o
-
b
y
t
e
opc
o
de bit
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gholam
i
Rudi
gen:
u
se an
i
nt for
o
perators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami
Rudi
replace o_*() functions with o_
b
op() and
o
_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Gholami
Rudi
add specialized inc/dec ope
r
ations
commit
|
commitdiff
|
tree
2010-06-21
A
l
i G
h
olami R
u
di
gen: let a
l
l grps be used as byte reg
i
sters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out:
d
on't n
e
ed MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
A
li
G
holami Rudi
tab: let ta
b
l
e
size
b
e HASHITE
M
S
commit
|
commitdiff
|
tree
2010-06-20
Al
i
G
holami Ru
d
i
out: me
r
ge al
l
sections into
o
ne text section
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Ru
d
i
cpp: r
e
s
et arg count
o
n macro red
e
finition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami
R
udi
out: make neatcc
w
ork with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
gen: handl
e
cha
r
arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lam
i
Rudi
ncc:
align
s
tructs ba
s
ed
o
n the f
i
r
st
f
ield
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olam
i
Rudi
mov m
a
cro hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami
R
udi
gen
:
hand
l
e unsigne
d
-> long
cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
cp
p
: save
m
acro n
a
mes in a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc
:
d
ivide (pt
r
- ptr) re
s
ult only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
am
i
Rudi
gen: use movsxd only when src is si
g
ned
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
t
o
k: 0x1 sho
u
ld
be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
gen: fix the conditions for m
o
vxx ope
r
ations
commit
|
commitdiff
|
tree
2010-06-18
A
li G
h
o
l
ami Rudi
ncc: fix gett
i
ng i's type in
+
+i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
ncc: handle ptr ope
r
a
t
ions on str
u
ct
s
ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
ncc: fix callin
g
function pointers with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
ncc: don't ta
k
e case exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
holami Rudi
gen: do
n
't
generate code aft
e
r
o
_nogen
(
) in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
a
ll t
m
ps should
be
t
he same in condi
t
ional branches
commit
|
commitdiff
|
tree
2010-06-17
A
li Gholami Rud
i
gen: fi
x
lo
a
d
ing back
t
mps in mem wi
t
hout d
e
ref
commit
|
commitdiff
|
tree
2010-06-17
A
l
i
G
h
olami Rudi
l
et
t
ok
_
num() return the bt
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gholami
Rudi
g
en: relocatio
n
a
ddress size is a
l
ways 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix
SYM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali
G
ho
l
ami R
u
di
gen:
fix
!
!ex
p
r
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc
:
let shift amount be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
A
li Ghola
m
i Rudi
gen: cleanup tm
p
handlin
g
an
d
fix
r
eg
s
array in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
n
c
c: align str
u
ct membe
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghola
m
i Rudi
gen: mar
k
copied register as the
o
w
n
er in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen: f
i
x "if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
olami
Rudi
nc
c
: f
i
x pointer
a
rith
m
etic
on str
u
ct p
t
rs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
R
ud
i
sho
w
an
er
r
or msg if no input
f
il
e
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rud
i
tok: accept up
p
ercase h
e
x
d
i
g
it
s
commit
|
commitdiff
|
tree
2010-06-13
Ali Gh
o
l
ami Rud
i
s
ho
w
sy
n
tax error
l
oc
a
tion
commit
|
commitdiff
|
tree
2010-06-12
Ali Gholami Rudi
gen: f
i
x ignoring regop1() retur
n
value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
Rudi
gen
:
don'
t
c
hange tmp->bt when storing an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Al
i
G
hola
m
i Rudi
gen: e
x
t
end eax to ed
x
for mul/di
v
op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
ncc: arrays sho
u
ld be processed
in the
reve
r
sed
o
r
der
commit
|
commitdiff
|
tree
2010-06-10
Ali Gh
o
lam
i
Rudi
gen
:
fix the order
o
f MOVSXD's
operands
commit
|
commitdiff
|
tree
2010-06-10
Al
i
Gholami Rud
i
gen: f
i
x freeing regi
s
ters before
call
commit
|
commitdiff
|
tree
next