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 let o_cast() change dereferenced type
2011-03-27
Ali Gholami Rudi
ge
n
: don't le
t
o_cast() change
dereferenced
t
ype
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holami Rudi
n
cc: use tok_jmp() inst
e
ad of tok_(see|
g
et)(
)
in enum_creat
e
()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghola
m
i
Rudi
gen: hand
l
e
l
arg
e
offsets
for s
t
r
commit
|
commitdiff
|
tree
2011-03-25
A
li G
h
ol
a
m
i
Rud
i
gen
:
re
p
lace TMP_REG* macros
w
ith reg_fort
m
p
(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen:
c
hang
e
o_nogen()/o_dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gh
o
lami Rud
i
gen: don't
genera
t
e exces
s
jumps for the last retu
r
n
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
Rudi
gen: d
o
n
'
t add dup
l
icat
e
dat
a
t
o
n
u
mber pool
commit
|
commitdiff
|
tree
2011-03-20
A
li Gholami Rudi
g
e
n: call
t
mp_to() in for load
i
ng
rhs
i
n
o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Al
i
Gholami Rudi
gen: ignore
O
_SIGNED
wh
e
n check
i
ng t
h
e
opcod
e
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen: fix sig
n
e
d
d
i
v
isi
o
n
to nega
t
e the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
g
en: merge d
e
c
reme
n
t and
check in i_mem
c
py()
and i_me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
gen: do
n
't save
v
a
ria
b
le registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
g
en: add software div/mod impl
e
m
entation
commit
|
commitdiff
|
tree
2011-03-15
Al
i
G
h
olami
Rudi
ncc: s
e
t
O_SIGN fo
r
most binary operations
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Ru
d
i
ncc: de
r
eference the not ex
p
r
ession of cexpr
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
p
erform
signed ope
r
a
t
ions
if O_SIGNED bit
i
s set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gho
l
am
i
Rudi
ncc
:
don
'
t
ca
s
t the return value for
v
oid functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
g
en:
m
ore com
p
act
ve
r
sio
n
of memcpy() an
d
mem
s
e
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
a
mi Rudi
gen: don't output rel
o
cations when o_n
o
gen() is ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami R
u
di
neatcc arm po
r
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Ghol
a
mi Rudi
clean up the i
n
terf
a
ce between
ncc
.
c, gen
.
c
a
nd
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
ola
m
i
Rudi
npp: rem
o
v
e
comm
e
n
t
s af
t
e
r prep
r
ocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
h
olam
i
Rudi
c
p
p: don't rem
o
ve
non-macro
number signs
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Gholami Rudi
npp: allow u
s
in
g
neatcc's pre
p
roc
e
s
sor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
Ghol
a
mi
R
u
d
i
cp
p
: don'
t
skip non-eol m
a
c
ro backslash
e
s
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gholami Rudi
g
en: fix op_rs() optimi
z
ation function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
Rudi
gen: use better nam
e
s for
o
pcodes
commit
|
commitdiff
|
tree
2010-12-11
Al
i
Gholami
R
udi
c
pp: define __
i
3
8
6__; __x
8
6_6
4
__ is no
l
onger sup
p
o
rted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gho
l
a
mi Rudi
gen: load t
h
e first tm
p
bef
o
re c
a
lling
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
Rudi
add READM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc:
fix name->name str ini
t
ializer
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
holami
Rudi
allow
e
x
t
ern a
r
ray
d
e
c
larations
w
i
t
hout
size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami
R
udi
c
pp: i
n
clude
stdde
f
.
h f
o
r using
o
f
f
s
etof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gh
o
lami
R
udi
tok: parse uppercase hex number
s
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
ho
l
a
mi Rudi
ncc: fix setting
F
_INIT fo
r
each
d
efined n
a
me
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami Ru
d
i
cp
p
: handle nested
m
acro c
a
l
ls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
Rudi
t
ok: don't
go beyond
b
uf
len for
3
-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rudi
tab
.
h: use the sta
n
dard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gh
o
lami Rudi
n
c
c
:
fix calling
ts_pop() premat
u
rely
i
n
o
p
assign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Ru
d
i
gen: ig
n
ore the
s
ign
of the second operand i
n
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
holami Rudi
ncc: fix & and *
on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
udi
gen: don't
o
v
erwrite pushed ebx, e
s
i and ed
i
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
Gholami Rudi
g
en: change
s
tack ali
g
nment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
o
lami
R
udi
ncc:
don'
t
change op
e
r
an
d
order
for
c
onst ops
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami Rudi
gen: only perform const op for addr
e
ss
e
s when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
Gho
l
ami Ru
d
i
gen
:
z
eroing eax doesn't seem necessa
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi Rudi
n
c
c: fix
++s for
pointers
commit
|
commitdiff
|
tree
2010-06-30
A
li Ghola
m
i Rudi
ncc: f
i
x fun
c
tion pointer arr
a
ys
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rudi
ge
n
: re
m
ove the unu
s
ed c_o
p
()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
g
e
n: us
e
tmp->
o
ff for loc
a
ls too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port n
e
atcc t
o
x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen
:
functio
n
s fo
r
performing opt
i
mized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
a
mi Rudi
gen: f
i
x two-byte
opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
ge
n
:
use an int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali
G
ho
l
ami Rudi
replace o_*(
)
f
u
n
c
tions with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
holami Rudi
add specialized inc/dec operati
o
ns
commit
|
commitdiff
|
tree
2010-06-21
Ali
Gholam
i
Ru
d
i
ge
n
:
l
et all
g
r
p
s be u
s
ed as byte reg
i
s
ters
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Ghol
a
mi R
u
di
out: do
n
'
t n
e
ed MAXSE
C
S anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Ru
d
i
tab: let table
s
ize be HASHI
T
EMS
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
holami Rudi
out:
m
erge
a
ll sections into one te
x
t
section
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami Rud
i
cpp
:
re
s
et arg
count
o
n macro redefi
n
i
tion
commit
|
commitdiff
|
tree
2010-06-19
Ali
Gholami
Rudi
out: make neatcc work with gn
u
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
g
e
n
: h
a
n
d
l
e
char arg
u
ments
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami R
u
di
ncc: align structs based on the
f
irst f
i
eld
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
o
lami
R
udi
m
ov macro hash
t
able to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: ha
n
dle unsigned -> l
o
ng
c
as
t
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
c
pp:
save macro na
m
es in a h
a
s
h table
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
nc
c
: divide (ptr - ptr) result only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
gen:
u
se movsxd
o
nly when src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
tok: 0x1 should be unsi
g
ned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
g
e
n: fix the conditi
o
ns for movxx o
p
erati
o
ns
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rud
i
nc
c
:
fix get
t
ing i
'
s type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
ncc:
handle p
t
r
operations
on
s
tructs p
t
r
s
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami R
u
di
ncc: f
i
x calling function pointers with ar
g
uments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
nc
c
:
d
on'
t
take case exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
gen: don't
g
enerate c
o
de after o_n
o
gen() in oi
(
)
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
all tm
p
s sho
u
ld b
e
the s
a
me in conditional bra
n
ches
commit
|
commitdiff
|
tree
2010-06-17
Ali G
h
olami Rudi
gen: fix loa
d
ing b
a
ck
t
m
ps in
mem
witho
u
t deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Ru
d
i
let tok_
n
u
m
() retur
n
the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen
:
re
l
ocation add
r
ess si
z
e is alwa
y
s 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: f
i
x SYM_P
T
R
()
m
acr
o
commit
|
commitdiff
|
tree
2010-06-16
Al
i
Gholami R
u
di
gen: f
i
x !!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Ghol
a
mi Rudi
ncc:
let shift amo
u
nt
be an uns
i
gn
e
d
commit
|
commitdiff
|
tree
2010-06-15
A
li Ghola
m
i Rudi
gen: cleanup tm
p
hand
l
ing and fix re
g
s array in o_swa
p
()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholam
i
Rud
i
ncc
:
ali
g
n struct
m
embers
commit
|
commitdiff
|
tree
2010-06-14
A
l
i
G
holam
i
Rudi
ge
n
: mark copied register as the
owner in o
_
tmpcopy
(
)
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami Rud
i
g
e
n
: fix "if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami Rudi
ncc: fix pointer ari
t
hme
t
ic on struct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
h
o
lami Rudi
s
h
ow an error m
s
g
i
f
n
o
i
nput
fi
l
e
commit
|
commitdiff
|
tree
2010-06-13
Ali Gho
l
ami
R
udi
tok: accept u
p
p
e
rca
s
e
hex
d
igits
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
show syntax error
location
commit
|
commitdiff
|
tree
2010-06-12
Ali Gho
l
ami
Rudi
gen: fix
i
g
n
ori
n
g
r
egop1(
)
return value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rud
i
gen:
d
on
'
t
c
h
ange tmp->bt when storing
an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gho
l
a
mi Rudi
gen: extend
eax to edx for m
u
l/div op
commit
|
commitdiff
|
tree
2010-06-11
A
li Gho
l
ami Rudi
nc
c
:
a
rrays
should
be processed
i
n
t
he reversed order
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghol
a
m
i Rudi
gen: fi
x
the or
d
er of MOV
S
XD's operands
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghola
m
i
Rudi
gen:
f
ix f
r
e
eing regi
s
ters
b
ef
o
r
e
c
all
commit
|
commitdiff
|
tree
2010-06-10
Al
i
Gholami Rudi
i
n
validate last_cmp if t
m
ps are c
h
anged
commit
|
commitdiff
|
tree
2010-06-10
A
l
i Gholami Rudi
de
r
eference
b
oth sid
e
s of a
c
o
n
ditional exp
r
ession
commit
|
commitdiff
|
tree
next