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
Al
i
Gholami Rudi
gen: don't
r
e
mov
e
the l
a
st return jum
p
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
h
olami Rudi
g
e
n: don
'
t let o_cast() change
dereferenced
type
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gh
o
lami
Rudi
ncc: use tok_jmp() instead o
f
to
k
_(see|get)
(
)
in enum_c
r
eat
e
(
)
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi R
u
di
gen:
ha
n
dle large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holami
Rudi
gen:
r
eplac
e
TMP_R
E
G* macro
s
with reg
_
fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
hol
a
mi R
u
di
gen: change o_
n
ogen()/o_dogen
(
) to be recursive
commit
|
commitdiff
|
tree
2011-03-23
A
li Gho
l
ami
R
udi
gen: d
o
n
'
t generate
e
xcess j
u
mp
s
for the la
s
t return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
Rudi
gen: don't add duplicate d
a
ta to number
p
oo
l
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
g
e
n
:
c
all tmp
_
to() in for lo
a
ding rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali
Gholami Rudi
gen: ignor
e
O_SIGNED wh
e
n checking t
h
e
o
p
cod
e
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen: fix s
i
gned di
v
ision
t
o ne
g
ate
t
h
e rema
i
nder
commit
|
commitdiff
|
tree
2011-03-16
Ali Ghola
m
i Rudi
gen: mer
g
e
decr
e
m
e
nt and check in i_memcpy() and i
_
me
m
s
et()
commit
|
commitdiff
|
tree
2011-03-15
A
li
G
holami Rudi
gen: don't s
a
ve
variable
r
e
gis
t
ers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add
s
o
ft
w
are div/mod i
m
plementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: set O
_
SI
G
N
f
or most binary
o
pera
t
ions
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
o
lam
i
Rudi
nc
c
: dereferen
c
e the
n
ot expression of
c
e
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Rud
i
perform si
g
n
e
d operations i
f
O_SIGNED bit
is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
o
la
m
i Rudi
c
pp:
d
e
fine __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gho
l
ami R
u
d
i
ncc: don't cast the return
value for v
o
id functions
commit
|
commitdiff
|
tree
2011-03-14
A
li G
h
olami Rudi
gen
:
more compact
v
ersion of mem
c
py(
)
and memset
(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Ru
d
i
gen: don't out
p
ut relocations when o_no
g
en() is
called
commit
|
commitdiff
|
tree
2011-03-13
A
l
i
Gholam
i
Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami
R
udi
clean up the
int
e
rface between
ncc
.
c, gen
.
c
a
nd out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami
R
udi
n
p
p: remove comments aft
e
r preprocessi
n
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
cpp: don
'
t remove non-macro numbe
r
signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami
Rudi
npp: allow using neatcc's preprocessor as a
standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Al
i
Gholam
i
Ru
d
i
c
p
p:
d
on't sk
i
p non-eol
macro backs
l
ashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen
:
fix op_rs() optimizatio
n
function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: use better
n
ames for o
p
codes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Gholami Rudi
c
pp: define __i386_
_
; __x86_6
4
__ is no l
o
n
g
er supported
commit
|
commitdiff
|
tree
2010-11-20
A
li Ghola
m
i Rudi
g
en: lo
a
d the first tmp bef
o
re cal
l
ing TMP_REG2
(
)
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gh
o
lami R
u
di
add READM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
n
cc: fix n
a
me-
>
name s
t
r
initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
l
a
mi R
u
di
allow
e
xtern
a
rray
d
e
clarati
o
ns
without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gh
o
lami Rudi
cpp: include stdd
e
f
.
h
f
or usi
n
g
offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rud
i
tok: par
s
e
u
ppercase hex numbe
r
s
commit
|
commitdiff
|
tree
2010-07-25
Ali Ghola
m
i
Rudi
nc
c
:
f
i
x
setting
F_INIT for
each defined n
a
me
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gh
o
lami Rudi
cpp: handle
n
ested macro
calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
h
o
lami Rudi
tok: don't go beyond buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i R
u
di
ta
b
.
h: use the sta
n
dard offseto
f
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
n
c
c: fix cal
l
i
n
g
ts_pop(
)
pr
e
maturel
y
in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholam
i
R
u
d
i
gen:
i
gn
o
r
e
t
h
e sign of
t
he
s
econd operand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
h
olami
R
udi
nc
c
: fi
x
& and * on fun
c
tion
s
commit
|
commitdiff
|
tree
2010-07-09
Ali
Ghol
a
mi Rudi
gen: don't
o
v
erwrit
e
p
ushed
e
bx, e
s
i a
n
d
edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: cha
n
ge stack alignment t
o
4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
olam
i
R
udi
ncc: don't change ope
r
a
n
d order for
c
o
nst ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gh
o
l
a
mi Rudi
gen: only perform
const op for add
r
esses when
addin
g
commit
|
commitdiff
|
tree
2010-07-08
A
li Gh
o
lami
R
udi
gen: zeroing
eax doesn't
s
e
e
m necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
Rudi
ncc:
f
ix ++s for pointe
r
s
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olam
i
Rudi
ncc: fi
x
funct
i
on pointer
ar
r
ays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
ge
n
: re
m
ove the unused c_o
p
(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
Rudi
gen:
u
se tmp->off for
l
ocals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gho
l
a
m
i Rud
i
p
ort neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
ge
n
: functions for performing opt
i
mized ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Ghola
m
i Rud
i
ge
n
:
f
ix two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami
Rudi
g
en: use an int f
o
r operators
commit
|
commitdiff
|
tree
2010-06-23
A
l
i Gho
l
ami
R
udi
replace
o
_
*
(
)
functi
o
n
s
wit
h
o_bop() and
o
_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rud
i
add specialize
d
inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
A
l
i G
h
olami
R
udi
g
en: l
e
t a
l
l
grps
b
e used
as b
y
te registers
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Ghol
a
mi Ru
d
i
out: d
o
n
'
t need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Ghol
a
mi Rudi
tab: let ta
b
le siz
e
be H
A
SHI
T
E
M
S
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami
R
u
di
o
ut:
m
erge al
l
sections i
n
t
o
one text s
e
cti
o
n
commit
|
commitdiff
|
tree
2010-06-20
A
li G
h
ola
m
i Rudi
cpp: reset arg co
u
n
t
on
m
acro redefini
t
ion
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Ghol
a
mi
R
udi
out: make neatcc wor
k
with gnu
l
d
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholam
i
R
u
di
gen: han
d
l
e
char argu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc:
alig
n
stru
c
t
s
based on the first f
i
eld
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
mov
m
acro hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Ghol
a
mi Ru
d
i
g
en: han
d
le u
n
signed -> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
R
udi
cp
p
: save
macro names in a
h
ash t
a
b
le
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
ncc: divide (
p
tr
-
ptr) result only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Ru
d
i
gen: use movsxd only when sr
c
i
s signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
tok: 0x1 should be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
gen: fix the
c
onditi
o
ns for movx
x
operations
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ncc: fix gett
i
ng i's t
y
pe i
n
+
+i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami R
u
d
i
ncc: handle pt
r
op
e
rations on structs
p
trs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc:
fix calling function p
o
inters with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami
R
udi
ncc
:
don't take case e
x
p
rs
as la
b
els
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
g
en: don
'
t gen
e
r
ate cod
e
after o_nogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gho
l
a
m
i R
u
di
all tmps s
h
ould be the same in
conditional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholam
i
Rudi
gen:
f
i
x
loa
d
i
n
g back tmps
i
n
mem wi
t
hout de
r
ef
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
let tok_num()
r
eturn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholam
i
Ru
d
i
ge
n
: re
l
oca
t
ion
ad
d
ress
size is a
l
w
a
ys 4
f
or now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
g
e
n
:
fix SYM_PTR() m
a
c
ro
commit
|
commitdiff
|
tree
2010-06-16
A
l
i
G
holami Rudi
gen: fix !!exp
r
commit
|
commitdiff
|
tree
2010-06-15
A
l
i Gholami Rudi
ncc: l
e
t shif
t
amount be a
n
unsigne
d
commit
|
commitdiff
|
tree
2010-06-15
Al
i
Gholami Rudi
gen: cle
a
nup
t
mp ha
n
d
l
in
g
and
fix regs ar
r
ay in o_swap(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gholami Rudi
ncc:
a
lign struct me
m
b
e
rs
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holami Ru
d
i
gen:
m
ark copie
d
register as
t
he owner
i
n
o_tmpc
o
py()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen:
f
ix "if (!ex
p
r)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
R
udi
ncc: fi
x
point
e
r
arithmetic on struct
ptr
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghola
m
i Rudi
show an
e
r
ror msg
if
n
o input file
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
tok: accept uppercase hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
show
s
yntax er
r
or locat
i
on
commit
|
commitdiff
|
tree
2010-06-12
Ali
Gholami Rudi
gen: f
i
x
i
gnoring reg
o
p1()
return
val
u
e
commit
|
commitdiff
|
tree
2010-06-11
A
li Gh
o
lami Rudi
g
e
n: don't change tmp->b
t
when storing
an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali
Ghola
m
i Rud
i
gen: extend eax
to edx for
mul/
d
i
v
o
p
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
R
udi
ncc: arrays shou
l
d be process
e
d in t
h
e
reversed o
r
der
commit
|
commitdiff
|
tree
2010-06-10
A
li Gh
o
lami Rudi
g
e
n
: fix the or
d
e
r of
MOVSXD's ope
r
and
s
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
gen:
f
ix
freeing registers
before call
commit
|
commitdiff
|
tree
2010-06-10
A
l
i
Gholami Rud
i
invalidate
last_cmp if
t
mps ar
e
c
hanged
commit
|
commitdiff
|
tree
next