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: use tok_jmp() instead of tok_(see|get)() in enum_create()
2011-03-25
Ali Gholami R
u
di
ncc: use t
o
k
_
jmp
(
) inst
e
ad of
t
ok_(see
|
get)() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: handle large
o
ffsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holami Rudi
ge
n
: replace TMP_
R
EG* macros with
reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholam
i
Rudi
gen: change o_
n
ogen
(
)/o_dogen()
to be r
e
curs
i
ve
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rudi
ge
n
: don'
t
gener
a
te ex
c
es
s
jump
s
f
o
r the last r
e
turn
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami R
u
di
ge
n
:
don't
a
dd duplica
t
e data to
number
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call t
m
p_to() in for
l
oading
r
hs in o_
a
ssin
g
()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: ign
o
re O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami
Rudi
gen:
f
ix
signed di
v
ision t
o
ne
g
at
e
the
r
emain
d
e
r
commit
|
commitdiff
|
tree
2011-03-16
A
l
i
Gh
o
lami Rudi
gen: mer
g
e decremen
t
and chec
k
in i_memcpy() an
d
i_mems
e
t()
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholam
i
Rud
i
g
e
n: don't save var
i
a
b
l
e register
s
before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olam
i
Rudi
g
e
n: add software div/mod implementatio
n
commit
|
commitdiff
|
tree
2011-03-15
Al
i
G
h
olami R
u
di
n
cc: set O_SIGN
f
or most binary op
e
rat
i
ons
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
d
i
n
c
c: dereference
the not expressi
o
n of cexpr
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami
Rudi
perform
s
i
gned op
e
r
ations if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
a
m
i Ru
d
i
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Rudi
ncc: don't cast the return value for
v
o
id functions
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami R
u
di
gen: mor
e
compa
c
t
v
e
rsio
n
of memcpy() and memset(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: don't output
r
e
l
o
c
atio
n
s when
o
_nogen() is
c
alled
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami R
u
di
n
e
at
c
c arm port
commit
|
commitdiff
|
tree
2011-03-08
A
li
G
h
o
lami R
u
di
clean up the interface be
t
ween ncc
.
c, gen
.
c and o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li Gh
o
lami Rudi
np
p
: remove commen
t
s a
f
ter
p
reproc
e
ssing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
c
p
p:
don
'
t r
e
move non
-
macro n
u
mber sign
s
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Gholam
i
R
u
di
npp
:
allow using
n
eatcc's preproces
s
or
a
s a
standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gho
l
a
mi Rudi
cpp: don't skip
n
on-e
o
l m
a
cr
o
bac
k
sl
a
sh
e
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
l
ami
Rud
i
gen
:
f
i
x
op_
r
s
(
) optimizat
i
on func
t
ion
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami R
u
di
gen: use
b
etter names for op
c
odes
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghola
m
i
Ru
d
i
c
pp: define __i386__; __x86_64__
i
s no lo
n
g
er supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: load the fi
r
st tmp before calling
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali
G
holami Rudi
add RE
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Rud
i
ncc: fix name->name
s
tr i
n
itializer
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
holam
i
Rudi
allow extern
a
rray declarations without
s
i
ze
commit
|
commitdiff
|
tree
2010-07-29
Ali Gh
o
lami
Rudi
cp
p
: in
c
l
ude stddef
.
h for u
s
in
g
o
f
f
s
etof()
commit
|
commitdiff
|
tree
2010-07-28
Ali
G
holami Rudi
t
ok: p
a
rse uppercase
h
e
x numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc:
f
ix setti
n
g F_INIT f
o
r each
defined
name
commit
|
commitdiff
|
tree
2010-07-14
Ali
Ghola
m
i Rudi
cpp: handle neste
d
macro calls l
i
ke M(M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
A
li Gho
l
ami Rud
i
tok:
d
on't
g
o bey
o
nd buf len
for 3
-
char token
s
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
Gholami R
u
d
i
tab
.
h: use the stand
a
r
d
offsetof(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Ghola
m
i
R
udi
ncc: fix callin
g
ts
_
p
o
p() prem
a
turely in o
p
a
s
s
i
g
n
()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
gen
:
ig
n
ore the sign of
the se
c
ond o
p
eran
d
in /
and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami
R
u
di
ncc: fix
&
and * on f
u
nctions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
e
n: don't overw
r
ite push
e
d ebx,
esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
hol
a
mi Rudi
gen: chan
g
e stack alignme
n
t to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami Rudi
ncc:
don't
change operand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
e
n
: only perform const o
p
f
o
r
a
d
dres
s
e
s
wh
e
n
a
dding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholam
i
Rudi
gen: ze
r
oi
n
g eax doesn't seem
n
ec
e
ssary
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi
Rudi
ncc:
fix +
+
s for
p
o
i
n
t
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
hola
m
i Ru
d
i
n
cc: fix
funct
i
o
n
pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: r
e
mov
e
the
unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
gen: use t
m
p->o
f
f f
o
r
locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami
R
udi
port
n
e
a
t
cc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: funct
i
o
n
s for performing optimi
z
ed ops
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Ru
d
i
gen: fix two-byte
o
pcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holam
i
Rud
i
ge
n
: use an int for operator
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
repla
c
e
o
_
*
(
) functio
n
s with o_bop
(
)
and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
li G
h
olami
Rudi
ad
d
specialized inc/de
c
operati
o
ns
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami Rudi
gen:
l
et
all grps be used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gho
l
a
mi Rud
i
o
ut: do
n
't
n
eed
M
AXSECS
anymo
r
e
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
am
i
Rudi
tab: let table
s
ize
be HASHIT
E
M
S
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
h
o
lami Rudi
out: me
r
ge all sections i
n
to one te
x
t s
e
ction
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami R
u
di
cpp: reset arg count on macro r
e
definition
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Gholami Rudi
out: make
n
eatcc work wi
t
h gnu
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen
:
handle char
a
rg
u
ments
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ncc: a
l
i
g
n structs based on the first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
mov ma
c
ro hash table
to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: h
a
ndle unsigned
-
>
long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
cpp
:
save macro names in
a
h
ash tab
l
e
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
ncc:
d
ivide (ptr
-
p
t
r
)
resul
t
only if size >
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
l
a
mi
Rudi
g
e
n: us
e
m
ovsxd only when s
r
c i
s
signed
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholam
i
Rudi
tok:
0
x1
s
hould be
uns
i
gne
d
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Ghola
m
i
R
udi
g
en:
fix t
h
e c
o
nditions fo
r
movxx
o
perations
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ncc: fix
g
etting i's type
in ++i
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami R
u
di
ncc
:
handl
e
p
t
r
operat
i
ons
o
n structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
ncc: f
i
x calling functio
n
pointers w
i
t
h
argu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
di
ncc: don't take case exprs as label
s
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
gen: don't
generat
e
cod
e
after o_nogen()
i
n oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
all tmps should be the same
in co
n
di
t
ional
b
r
anches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen: fix loa
d
i
n
g b
a
ck
tmps in m
e
m withou
t
d
e
r
e
f
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholam
i
Rudi
let tok_n
u
m() return
t
he bt
commit
|
commitdiff
|
tree
2010-06-17
A
li Ghol
a
mi Rudi
gen: reloc
a
tion a
d
d
r
ess size
is always 4
for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami
Rudi
gen: fix S
Y
M_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali
Gholami R
u
di
gen: fi
x
!!ex
p
r
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami
Rudi
n
cc: let shift amount be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gh
o
lami
R
ud
i
g
en:
cleanup tmp handling and fix regs array in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami
Rudi
ncc: a
l
ign struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
g
e
n
:
m
ark
c
opied
r
egi
s
ter as the o
w
ner in o
_
t
mpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Al
i
G
h
o
lami Rud
i
gen:
f
ix "if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
o
l
ami R
u
d
i
ncc:
fix poin
t
er arithmet
i
c on
s
t
r
uct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi
R
udi
show
a
n error msg
i
f no input file
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami
Rudi
t
ok: acce
p
t uppe
r
ca
s
e hex di
g
its
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
show syntax
e
rror loca
t
i
on
commit
|
commitdiff
|
tree
2010-06-12
Ali Gho
l
ami Rudi
gen
:
fix igno
r
ing regop
1
() return v
a
lue
commit
|
commitdiff
|
tree
2010-06-11
Ali Ghola
m
i
R
udi
ge
n
: d
o
n't
change tmp->bt whe
n
sto
r
i
ng an l
v
alue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
gen: ex
t
end eax t
o
e
dx fo
r
mu
l
/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Ru
d
i
ncc
:
arrays should
b
e
processed in the reversed ord
e
r
commit
|
commitdiff
|
tree
2010-06-10
Ali G
h
olami Rudi
gen: fix th
e
o
rder of MOVSXD's operands
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami
Rudi
gen:
fix
free
i
ng reg
i
s
t
ers b
e
for
e
call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
inva
l
idate last_cmp if tmps are change
d
commit
|
commitdiff
|
tree
2010-06-10
Ali Gh
o
lam
i
Rudi
deref
e
rence both
s
ides of a condition
a
l expression
commit
|
commitdiff
|
tree
2010-06-10
A
li Gholami Rudi
cpp: c
h
eck buf
f
er s
t
ack inst
e
ad
o
f cppeval
v
ariable
commit
|
commitdiff
|
tree
next