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 generate excess jumps for the last return
2011-03-23
Al
i
Gho
l
ami
R
udi
gen: d
o
n't generate exces
s
ju
m
ps for the last return
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
Gholam
i
Rudi
gen: don't
a
dd duplicate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen:
call tmp_
t
o() in for loading rhs in o_assin
g
()
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
hola
m
i
Rud
i
gen: ignore O_SIGNED when
c
h
ecking the opco
d
e
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
holami Rudi
gen: f
i
x si
g
ned
d
iv
i
sion to negate
t
h
e
remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: m
e
rg
e
dec
r
ement and
c
heck in i_memcpy(
)
and i_
m
e
m
s
et()
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Rudi
gen: don'
t
save
v
a
riable regi
s
t
ers before ca
l
ls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami Rudi
gen: add
s
oftware div/
m
od implementa
t
ion
commit
|
commitdiff
|
tree
2011-03-15
Ali
Ghol
a
mi
Rudi
ncc: set O_SIGN for mo
s
t
b
i
nary op
e
rations
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
nc
c
: de
r
eference the not ex
p
r
e
s
s
ion of cexp
r
s
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
G
holami R
u
di
pe
r
for
m
si
g
n
e
d operations if O_SIGNED b
i
t
is set
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
o
lami Ru
d
i
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gholami Rudi
ncc: do
n
't cast t
h
e return value fo
r
void
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali
Ghola
m
i
R
udi
gen: more compact ve
r
s
i
on of memcpy() and
m
emset()
commit
|
commitdiff
|
tree
2011-03-14
A
li Gho
l
a
m
i Rud
i
gen: don't output relocations wh
e
n
o_noge
n
(
)
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali
G
ho
l
a
m
i Ru
d
i
neatcc ar
m
port
commit
|
commitdiff
|
tree
2011-03-08
A
li Gholam
i
Ru
d
i
c
lean
u
p
the int
e
rface between
n
cc
.
c, gen
.
c a
n
d
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
l
ami Rudi
npp:
r
e
move commen
t
s
after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Gholami Rudi
cpp
:
don
'
t re
m
o
v
e non-ma
c
ro number signs
commit
|
commitdiff
|
tree
2011-02-19
Al
i
G
ho
l
ami Rudi
npp: allow
using n
e
atcc's pre
p
r
ocessor as a standa
l
one
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Ghol
a
mi Ru
d
i
cpp:
d
on't skip non-eol macro backsla
s
hes
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholam
i
Rudi
gen:
fix op_rs()
o
ptim
i
zation fun
c
tio
n
commit
|
commitdiff
|
tree
2010-12-18
Ali Gho
l
a
m
i Rudi
g
e
n: use bette
r
names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
A
li G
h
olami Ru
d
i
cpp: d
e
fine __i386__;
_
_x86_
6
4__ is no longer
supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: load the first t
m
p before c
a
lling
T
MP
_
R
E
G
2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
hola
m
i Rudi
n
c
c: fix na
m
e->name str
i
n
i
t
ia
l
ize
r
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghola
m
i
Rudi
allo
w
extern array decl
a
rations
w
ithout si
z
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: include stddef
.
h for usi
n
g
o
ffseto
f
()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gho
l
ami Rudi
to
k
:
p
arse uppercase
h
ex num
b
ers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: fix setting
F_INIT for e
a
ch defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp: handle nest
e
d macro ca
l
l
s
like M
(
M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
t
ok
:
don'
t
go
beyond buf l
e
n for 3-char tok
e
ns
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami R
u
di
t
ab
.
h: use
t
he standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
ncc: fix call
i
ng ts_pop() prematu
r
e
l
y in
op
a
ssign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rud
i
gen:
ignore the sign of the second
o
perand i
n
/ and %
commit
|
commitdiff
|
tree
2010-07-10
A
li Gholami Ru
d
i
ncc: fix & and
*
on f
u
nct
i
ons
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
ho
l
ami R
u
di
gen: don't ove
r
write pushed ebx, es
i
and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rudi
g
en:
c
h
ange stac
k
al
i
gnment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lam
i
Rudi
ncc: don't
c
ha
n
ge
o
p
erand
o
r
der for
c
ons
t
ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rud
i
gen:
only perform
c
o
n
s
t op for addresses when a
d
ding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami
R
udi
gen
:
zeroi
n
g ea
x
doesn't s
e
em necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix ++
s
for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix function poin
t
er
a
rray
s
commit
|
commitdiff
|
tree
2010-06-30
A
li G
h
o
l
ami Rudi
gen
:
remove the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi R
u
di
gen: use tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Al
i
Gholami
R
udi
port
neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
ami Ru
d
i
g
en: functi
o
ns for
p
erforming optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami R
u
di
gen: fix two-byte
o
pcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami
Rudi
gen: u
s
e an
int for o
p
erato
r
s
commit
|
commitdiff
|
tree
2010-06-23
A
l
i
Gh
o
lami Rudi
r
e
pl
a
ce
o
_*() functi
o
ns with o_bop() an
d
o
_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
ho
l
ami Rudi
add
specia
l
ized inc/dec operatio
n
s
commit
|
commitdiff
|
tree
2010-06-21
Ali G
h
olami Rudi
gen:
l
et all grps be used as
b
yte r
e
gist
e
rs
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
Rudi
out: don't need MAXSECS
a
nym
o
re
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Ghol
a
m
i Rudi
tab:
l
et table size
be
H
ASHI
T
EM
S
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami Rudi
out: me
r
ge all sections int
o
o
n
e
t
ext secti
o
n
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
h
o
l
ami Rudi
cpp:
r
e
set a
r
g
count on macro redefini
t
ion
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Gholami
Rudi
out:
make neatcc
wor
k
wit
h
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
l
a
m
i
Rud
i
gen: handle cha
r
arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
d
i
ncc:
a
lig
n
structs based on th
e
first field
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Ghola
m
i
R
udi
mov macro hash ta
b
le to ta
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ola
m
i
R
udi
ge
n
: han
d
le un
s
igned -
>
l
o
ng ca
s
t
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
cpp
:
s
ave macro n
a
mes in
a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi
R
u
d
i
ncc: divid
e
(ptr - ptr) result only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami Rudi
gen: use movsxd on
l
y
when src is signed
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
tok:
0
x1 should
be
unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi
Rudi
g
en: fix the
condit
i
o
n
s for
m
ovxx operations
commit
|
commitdiff
|
tree
2010-06-18
A
li Ghola
m
i Rudi
n
c
c: fix getting i's ty
p
e in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
nc
c
: han
d
le ptr operations on stru
c
ts ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
c
c: f
i
x calling function pointe
r
s with
argu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
n
c
c
:
don't take case
exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
mi R
u
d
i
g
en: don't generate cod
e
after o_nogen()
in oi
(
)
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
all tmps should be the
s
ame in conditional b
r
anches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gh
o
lami Rudi
g
e
n:
f
ix loading back tmps in mem with
o
u
t deref
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
hola
m
i Rud
i
let tok_num
(
)
return the
b
t
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
h
o
lam
i
Rud
i
gen: relocatio
n
address s
i
ze is always 4
f
or now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Ru
d
i
gen
:
fix SY
M
_PT
R
() ma
c
ro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gh
o
lami Rudi
gen:
fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Al
i
Gholami Rud
i
ncc:
l
et
shift a
m
ount b
e
a
n
unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholam
i
Rudi
gen:
c
leanup
tmp handling a
n
d fix regs arr
a
y in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc: al
i
g
n struct mem
b
ers
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
Rudi
gen: mark c
o
pied register as
t
he owner in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gh
o
lami
Rudi
ge
n
: fix "if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc: fix p
o
in
t
er ar
i
thmetic on struct p
t
rs
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gholami Rudi
sh
o
w
an err
o
r msg
i
f no input f
i
le
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
tok: accept up
p
e
r
c
a
s
e
hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Ghol
a
mi Rudi
show syntax error location
commit
|
commitdiff
|
tree
2010-06-12
Al
i
Gholami Rudi
gen:
fix
ignoring regop1(
)
retu
r
n value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
gen: do
n
'
t change tmp->bt when stori
n
g
a
n
l
value
commit
|
commitdiff
|
tree
2010-06-11
Ali Ghola
m
i Ru
d
i
gen: extend
e
ax t
o
e
d
x for
m
u
l/div
op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami R
u
di
ncc: a
r
r
a
ys should be processed in
t
he reversed or
d
er
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
gen: f
i
x the order of MOVSXD'
s
operands
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
g
e
n
: fix freei
n
g registers
before cal
l
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Ru
d
i
invalida
t
e last_cmp if tmps are changed
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
dereference
b
o
t
h
si
d
es of a
c
on
d
i
tional e
x
p
ression
commit
|
commitdiff
|
tree
2010-06-10
A
l
i
G
holami
R
udi
cpp:
check b
u
ffer stack instead
of
c
ppeval variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Rudi
cpp: pre
v
ent recursi
v
e macro
s
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Rudi
c
pp
:
mul
t
i
-
argument
macros
commit
|
commitdiff
|
tree
2010-06-08
A
l
i
G
holami Rudi
cpp: space betwee
n
macro an
d
'('
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rud
i
ncc: exit if number
o
f
eleme
n
ts exceeds its
max
commit
|
commitdiff
|
tree
next