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: fix ~ operator implementation
2011-03-28
Al
i
G
holami Ru
d
i
g
e
n: fix ~ o
p
erator impl
e
mentation
commit
|
commitdiff
|
tree
2011-03-27
A
l
i
Ghol
a
mi Rudi
n
c
c
:
derefer
e
nce function poi
n
ters li
k
e an
y
other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami Rudi
g
e
n
: don
'
t
remove th
e
last return ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't l
e
t
o
_
cast(
)
cha
n
ge der
e
fe
r
ence
d
type
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Gholami Rudi
nc
c
: use tok_jmp() in
s
tead o
f
tok_(see|get)()
i
n
en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holami R
u
di
g
e
n: handl
e
lar
g
e of
f
sets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami R
u
di
gen: replace T
M
P
_REG* ma
c
r
os wi
t
h reg_for
t
mp()
commit
|
commitdiff
|
tree
2011-03-23
A
li G
h
olami
R
udi
gen:
cha
n
ge o
_
n
ogen()/
o
_
dogen() to b
e
recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gh
o
lam
i
Rudi
gen
:
don't generate exc
e
ss
j
umps for the last
return
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami
R
udi
g
e
n: don'
t
add dup
l
icate da
t
a to
numb
e
r p
o
ol
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
h
olami Rudi
gen:
c
a
ll
t
m
p_to
(
)
in f
o
r
l
o
ading
rhs in o
_
assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
olami
R
u
d
i
gen: igno
r
e O_SI
G
NED when
checking
t
he opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gho
l
ami
Rudi
gen: fix signed di
v
isi
o
n to neg
a
te the r
e
mainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Ghola
m
i Rudi
gen: mer
g
e
decrement and chec
k
in i_memcpy() and i_
m
e
m
set()
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
G
holami Rudi
g
e
n:
don
'
t save variable
r
e
g
i
s
ters before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholami R
u
d
i
g
en: add softw
a
re div/mod i
m
plementa
t
ion
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
la
m
i Rudi
ncc: set O
_
S
I
G
N for
most
binary ope
r
ati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
A
li G
h
olami
Rudi
ncc:
d
ereference the not expres
s
ion of cexprs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i G
h
olami
Rudi
perform signed
o
peration
s
if O_SIGNED bit is
set
commit
|
commitdiff
|
tree
2011-03-14
A
li Ghol
a
m
i Rudi
cpp: de
f
ine __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami
R
udi
ncc: don't c
a
st
the re
t
urn valu
e
for void fu
n
ctions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lam
i
Rudi
gen: more
c
ompact version of
m
e
m
cpy() a
n
d
mems
e
t(
)
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Rudi
gen: don't output r
e
l
o
cations when
o
_nogen()
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghol
a
mi Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Ghola
m
i Rudi
clean u
p
the
i
n
t
erface bet
w
een
n
c
c
.
c, gen
.
c
and ou
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rud
i
n
p
p: remove
c
omm
e
nts
a
fter preprocessi
n
g
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
cpp: do
n
't remov
e
non-macro numbe
r
signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Ru
d
i
npp: allow
u
sing neatcc's preprocessor as a stan
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Al
i
G
h
olami Rudi
cpp
:
d
o
n't skip non-eol macro backsla
s
hes
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami Rudi
gen: fix op_rs()
optimization function
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami Rudi
gen
:
use
b
etter names for
opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami R
u
di
cpp
:
def
i
ne __i3
8
6__; __x86_64__
i
s no lon
g
er suppor
t
e
d
commit
|
commitdiff
|
tree
2010-11-20
Al
i
Gholami
Rudi
gen: l
o
ad th
e
f
i
rst
t
m
p
b
e
fore calling
TMP_
R
EG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali
G
h
ol
a
m
i
Rudi
a
d
d READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami Ru
d
i
ncc: fix name->name str initialize
r
commit
|
commitdiff
|
tree
2010-08-13
Ali Gho
l
a
m
i
Rudi
allow extern
arr
a
y d
e
cla
r
a
t
i
o
ns without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghol
a
mi Ru
d
i
cp
p
:
i
nclud
e
stddef
.
h
for u
s
ing
o
ffs
e
t
of()
commit
|
commitdiff
|
tree
2010-07-28
A
li Gh
o
la
m
i Rudi
tok: parse up
p
e
rcase hex nu
m
bers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gh
o
lami Rudi
ncc: f
i
x
set
t
ing F_IN
I
T for each de
f
ined n
a
me
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
ol
a
mi Rudi
cpp: handle
ne
s
ted mac
r
o calls
l
ike
M
(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
olami R
u
di
t
ok
:
don't go bey
o
nd
buf len for 3-
c
ha
r
to
k
e
n
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h
:
use
the
standard
o
ffsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olam
i
Rudi
ncc: fix
calling ts_pop() p
r
ema
t
urely in
o
pa
s
sig
n
()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gho
l
ami Rudi
gen: ignor
e
the sign of the
s
econd operand
in / and %
commit
|
commitdiff
|
tree
2010-07-10
A
li G
h
olami Ru
d
i
ncc: fix & and
*
on functions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gh
o
la
m
i Rud
i
gen: don't over
w
rite pushed eb
x
, esi and ed
i
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
hola
m
i
Rudi
gen
:
chang
e
stack
alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: don't change ope
r
and order fo
r
const
ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: only pe
r
form co
n
st op
for a
d
dresses when
adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
g
e
n: zeroing ea
x
doe
s
n't seem n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
A
l
i G
h
o
lami Rud
i
ncc: fix ++
s
for pointer
s
commit
|
commitdiff
|
tree
2010-06-30
A
li G
h
olami Rudi
n
c
c: fix function pointer arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami Rudi
gen:
remove the unu
s
ed
c_op()
commit
|
commitdiff
|
tree
2010-06-30
A
li
Gholami Rudi
gen: use tm
p
-
>off for l
o
cals too
commit
|
commitdiff
|
tree
2010-06-28
A
l
i
G
holami Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
ge
n
: functions for performi
n
g optimized
op
s
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gh
o
lam
i
Ru
d
i
ge
n
: fix t
w
o-byte
o
p
c
ode
b
it
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
o
l
ami Rudi
gen: use an
i
nt for operato
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Ghol
a
mi Rudi
replace
o
_*()
functio
n
s with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali G
h
ol
a
mi
R
u
d
i
add specialized inc/
d
e
c
o
p
er
a
tions
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
R
udi
g
e
n
:
let all grps be used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: don't need
MAXSE
C
S
anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
tab: let table s
i
ze be HASHITE
M
S
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
out
:
me
r
ge
all se
c
tio
n
s into one
tex
t
section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cp
p
: reset
arg cou
n
t
o
n
macr
o
redefin
i
tion
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out: make neatcc work wit
h
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
g
e
n
: han
d
l
e
char
a
r
gume
n
ts
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
ncc: align st
r
ucts ba
s
ed
o
n t
h
e first field
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholam
i
R
udi
mov
m
acro hash t
a
b
l
e to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
gen: han
d
l
e unsigned -> long c
a
st
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Ru
d
i
cpp: s
a
ve mac
r
o names in a hash
ta
b
le
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i
Rudi
n
cc: div
i
de
(
pt
r
- ptr) result on
l
y
i
f
size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
gen: u
s
e mov
s
xd only when
s
rc is
s
igne
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
tok: 0x1 should be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
gen
:
fix
t
he c
o
ndi
t
i
o
n
s for movxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami
R
udi
ncc: fix getting i
'
s type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
d
i
ncc: handl
e
p
tr operation
s
on stru
c
ts ptrs
commit
|
commitdiff
|
tree
2010-06-18
A
li Gh
o
lami
R
udi
ncc:
fix calling function
p
ointe
r
s with argum
e
nts
commit
|
commitdiff
|
tree
2010-06-18
A
li Gh
o
la
m
i Rudi
n
c
c: don't t
a
ke cas
e
e
xprs as labels
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami
R
udi
gen: don't ge
n
erate co
d
e a
f
ter o_nogen() i
n
oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
di
all tmps
s
hould be the same in conditio
n
al branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen: fi
x
loa
d
ing bac
k
tmp
s
in m
e
m wi
t
hout deref
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gholami Rudi
le
t
tok_num() return the bt
commit
|
commitdiff
|
tree
2010-06-17
A
li
G
h
olami Rudi
gen
:
re
l
o
c
ation address size
is
a
lways
4
for now
commit
|
commitdiff
|
tree
2010-06-16
Ali G
h
olami Rudi
gen: fix SYM_PTR
(
) macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: f
i
x !
!
expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc: let shift amount be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ge
n
: clean
u
p tmp handling a
n
d fi
x
regs ar
r
ay i
n
o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
olami Rudi
nc
c
:
align struct memb
e
r
s
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gholami
R
udi
ge
n
: mark
c
opied
register as the owner
in o_t
m
pcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Rudi
gen: fix "
i
f (!expr
)
"
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gholami Rud
i
ncc: f
i
x pointer arithm
e
tic on st
r
uct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Rudi
show an error
m
sg if no inp
u
t file
commit
|
commitdiff
|
tree
2010-06-13
Ali Gh
o
lami Rudi
tok: accept
u
ppercase hex digit
s
commit
|
commitdiff
|
tree
2010-06-13
Ali G
h
o
lami Ru
d
i
show s
y
ntax error locati
o
n
commit
|
commitdiff
|
tree
2010-06-12
Ali Gholami
Rudi
gen: f
i
x ign
o
ring
regop1
(
) re
t
urn value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gho
l
ami Ru
d
i
gen: don
'
t ch
a
nge tmp
-
>bt when sto
r
i
ng an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami
Rudi
ge
n
:
ex
t
end eax
to edx for
mul/div
o
p
commit
|
commitdiff
|
tree
2010-06-11
Ali
G
holami
R
u
di
ncc: arrays should be process
e
d i
n
the
rever
s
ed o
r
der
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
a
m
i Ru
d
i
gen: fix the or
d
er
o
f MOVSXD's operands
commit
|
commitdiff
|
tree
next