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: call tmp_to() in for loading rhs in o_assing()
2011-03-20
Ali Gholami Rudi
gen: call tmp_to() in for l
o
ading rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: ign
o
re O_SIGNED when check
i
ng the opcode
commit
|
commitdiff
|
tree
2011-03-17
Al
i
Gho
l
a
m
i Rudi
gen
:
fix sig
n
ed division to negate the remai
n
der
commit
|
commitdiff
|
tree
2011-03-16
A
li G
h
olam
i
Ru
d
i
g
en: merge decrement a
n
d check in i_memcp
y
() and i_memse
t
()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: don't
s
ave var
i
able
r
e
g
ister
s
b
e
f
ore
call
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen:
a
d
d software div/mod imple
m
entation
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
ncc: set
O_SIGN for most
b
i
n
a
ry o
p
e
rat
i
on
s
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami
R
udi
n
c
c: dereference the not
exp
r
ession of ce
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform signed oper
a
tions if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: de
f
ine __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami R
u
d
i
ncc: don't cast the return
va
l
ue fo
r
void fu
n
ct
i
ons
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Rudi
gen: more
c
o
m
p
a
ct versi
o
n of me
m
cpy()
and
m
emset()
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
gen: don't
output
r
elocations
whe
n
o_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neatcc
a
rm port
commit
|
commitdiff
|
tree
2011-03-08
A
li Ghol
a
mi R
u
di
clean up the interfac
e
between ncc
.
c
,
gen
.
c a
n
d
o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rudi
npp: remo
v
e com
m
ents after preprocessi
n
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cpp: don'
t
remove non-ma
c
ro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
am
i
Rudi
n
p
p: all
o
w using n
e
atcc'
s
preprocessor as a stan
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gh
o
lami Rudi
cpp: d
o
n't
s
kip non-eol macro b
a
ckslashes
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami R
u
di
g
e
n: fix
o
p_
r
s() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghol
a
mi Rudi
gen: u
s
e better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholam
i
Rudi
cpp: define
_
_i386__; __x86
_
64__ i
s
no l
o
n
ger suppo
r
ted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
g
e
n
: loa
d
the first tm
p
be
f
ore calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholam
i
Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
hola
m
i Rudi
n
c
c: fix
n
a
me->name
str
i
nitializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allo
w
e
x
te
r
n array
d
e
c
laration
s
witho
u
t size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp:
i
nclude st
d
d
e
f
.
h
f
or using of
f
setof(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Ghol
a
mi Rudi
tok: parse
u
ppercase hex
n
u
mbers
commit
|
commitdiff
|
tree
2010-07-25
A
l
i
Gholam
i
R
u
di
ncc: fi
x
setting
F
_
I
N
IT
for e
a
c
h d
e
f
ined na
m
e
commit
|
commitdiff
|
tree
2010-07-14
A
li G
h
olami Rudi
cpp: ha
n
dl
e
nested mac
r
o c
a
lls like M(M(1
)
)
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok:
don't
g
o b
e
yond buf l
e
n for 3-char tok
e
ns
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Ghola
m
i Rudi
t
a
b
.
h
:
use the standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
ud
i
ncc:
fix callin
g
ts_pop() prematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Ghola
m
i Rudi
gen:
ignore the sign of the second operand
i
n
/
and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
h
o
l
ami
R
udi
ncc:
fi
x
& a
n
d *
o
n f
u
n
ctions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami
R
udi
g
en: don't ov
e
rwrite pushed ebx,
e
si and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: change s
t
ack al
i
gnment to
4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: don't cha
n
ge
operand order for
const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami R
u
di
gen
:
only
p
erform
c
onst o
p
for add
r
esse
s
w
hen adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami
Rudi
gen: zeroing eax doesn't
s
eem necessa
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc:
f
ix ++s
f
o
r
pointe
r
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lam
i
R
u
d
i
ncc
:
f
i
x function
pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Ghol
a
mi Rudi
gen:
r
emove the
u
nused
c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
holami Rudi
gen: use tmp->o
f
f
f
or lo
c
als too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami R
u
di
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami
R
udi
gen: functions for p
e
rformi
n
g optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gh
o
lami Rudi
gen: fix t
w
o-
b
yte
o
pcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
l
a
mi Rudi
gen: use an i
n
t fo
r
o
perators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
replace
o_*()
f
u
ncti
o
ns with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
Gh
o
l
ami Rudi
add
spec
i
alized in
c
/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami R
u
di
gen: let all grps be u
s
ed as byte regist
e
rs
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
mi Rudi
out:
d
on't
ne
e
d MAXSE
C
S anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
la
m
i Rudi
tab: let table size be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Ru
d
i
o
u
t
: merge all
sec
t
ions into o
n
e
text se
c
t
i
on
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
a
mi
R
udi
c
pp: reset
a
rg count on macro
redefi
n
i
t
ion
commit
|
commitdiff
|
tree
2010-06-19
A
li G
h
olami Rudi
out: make neatcc work
w
it
h
g
n
u ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
gen: ha
n
dle ch
a
r argum
e
n
ts
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
ncc:
a
l
i
g
n struc
t
s based on the
f
irst
f
iel
d
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
holami Rudi
mov macro hash t
a
ble to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami
R
udi
gen: handle unsigned -
>
l
o
ng
c
as
t
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
cpp: sav
e
macro names in a
hash
table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: divide
(ptr - ptr
)
result o
n
ly if s
i
ze > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: u
s
e
m
ovsx
d
only when src i
s
s
igned
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
tok: 0x1 should
b
e
unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
gen: fix the con
d
i
t
io
n
s for movxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix g
e
tting i
'
s type i
n
++i
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ncc:
handle p
t
r
o
perations on
s
tructs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc
:
f
i
x calli
n
g
function
p
o
int
e
rs with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ncc: don't ta
k
e
c
ase exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
g
e
n: don't generat
e
code af
t
er o_nog
e
n
()
in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami
R
udi
al
l
t
m
ps sho
u
l
d
b
e the sa
m
e in condit
i
onal
branches
commit
|
commitdiff
|
tree
2010-06-17
A
li Gholami Rudi
gen: fix loading
b
ack tmps in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
let tok
_
n
u
m() ret
u
rn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami Rudi
gen:
r
e
l
ocation addr
e
s
s
size is al
w
ays
4
fo
r
now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami
R
u
d
i
ge
n
: fix
S
YM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen
:
fix
!
!ex
p
r
commit
|
commitdiff
|
tree
2010-06-15
Ali
Ghol
a
mi
Rudi
ncc
:
let shift
a
mount be an un
s
ig
n
ed
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
gen:
c
leanup tmp han
d
ling and
f
ix regs array
i
n o_swa
p
()
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holami Rudi
n
c
c: align s
t
r
uct members
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gholami R
u
di
ge
n
:
mark copied regi
s
ter as the o
w
n
er in o_t
m
pcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
hola
m
i
R
udi
ge
n
: fix "if
(!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
R
udi
ncc: f
i
x point
e
r arithmetic on
s
tr
u
c
t
ptrs
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Ghol
a
mi Ru
d
i
show an error msg if no input file
commit
|
commitdiff
|
tree
2010-06-13
A
li Gholami R
u
di
t
ok: accept
upper
c
ase hex digi
t
s
commit
|
commitdiff
|
tree
2010-06-13
A
l
i
G
h
ola
m
i
R
u
di
show
syntax err
o
r location
commit
|
commitdiff
|
tree
2010-06-12
Ali Ghol
a
mi Rudi
g
e
n: fix
i
gnorin
g
regop
1
() return
v
al
u
e
commit
|
commitdiff
|
tree
2010-06-11
Ali Ghol
a
m
i R
u
d
i
gen:
d
o
n't
cha
n
g
e
tmp
-
>bt when st
o
ring an
lvalu
e
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
ge
n
: e
x
tend eax to edx for mul/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Ghola
m
i Rud
i
ncc: a
r
rays should
be processed in the reversed order
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
g
e
n
:
fix th
e
order of MOV
S
XD'
s
ope
r
ands
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholam
i
R
udi
gen: fix fre
e
ing regis
t
e
r
s before cal
l
commit
|
commitdiff
|
tree
2010-06-10
Al
i
Gh
o
lami Rud
i
i
n
v
a
l
idate las
t
_c
m
p if tm
p
s
are changed
commit
|
commitdiff
|
tree
2010-06-10
Al
i
Gho
l
ami Rudi
d
e
reference
b
oth sid
e
s of a conditi
o
n
a
l
e
xpression
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
c
p
p: check buffer s
t
ack instea
d
of cppeval variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Rudi
cpp: prevent
r
ecursive macr
o
s
commit
|
commitdiff
|
tree
2010-06-09
Ali Gh
o
l
ami R
u
di
c
p
p:
m
u
l
ti-argument ma
c
ros
commit
|
commitdiff
|
tree
2010-06-08
Ali Gho
l
ami Rudi
cpp: space bet
w
e
en macro
and '('
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
holami Rudi
ncc: ex
i
t
i
f number of
elements
e
xceeds its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ncc: only ad
d
used extern
a
l
s
ymbols to elf symta
b
commit
|
commitdiff
|
tree
2010-06-08
A
li G
h
ola
m
i Rudi
handle #if and
#
elif
commit
|
commitdiff
|
tree
next