repo.or.cz
/
neatcc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
gen: group functions in gen.h
2011-03-28
Ali Gholami Rudi
gen: gr
o
up functions in g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
gen:
r
eset last_set after c
m
p+b optim
i
zation
commit
|
commitdiff
|
tree
2011-03-28
A
li
G
holami R
u
d
i
gen: fix ~ operator implemen
t
at
i
on
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
ncc: dereference function pointers like any oth
e
r varia
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali Gho
l
ami
Rudi
gen: don't
r
emove the last return
jump
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Ghol
a
mi
R
u
di
gen: don't let
o
_
ca
s
t() chang
e
d
erefer
e
n
c
e
d type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc:
u
s
e
t
ok_jmp(
)
instead of t
o
k_(see|get)() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali
Ghola
m
i Rudi
g
en: handle large of
f
set
s
for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: replace TMP_REG*
m
a
c
r
o
s w
i
th reg_fo
r
tmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: c
h
ange o_nogen()/o_d
o
gen() to
b
e
r
ecu
r
si
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
R
u
d
i
g
e
n: don't ge
n
erate ex
c
ess jum
p
s for th
e
last ret
u
rn
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
en: don't add duplic
a
te data to nu
m
ber pool
commit
|
commitdiff
|
tree
2011-03-20
A
li Gholami Rudi
gen:
call tmp_
t
o() in for loading rhs in
o
_
assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: ignor
e
O_
S
IG
N
ED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
A
li Ghola
m
i
Rud
i
gen: fix
s
i
g
n
e
d
d
iv
i
s
ion to negate th
e
remainde
r
commit
|
commitdiff
|
tree
2011-03-16
Ali
G
holami Rudi
g
e
n: merge dec
r
e
ment and c
h
eck in i_memcpy() and i_memset
(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
gen: d
o
n
'
t
save variable regis
t
e
rs before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
gen: a
d
d softw
a
re div/mod i
m
plementat
i
on
commit
|
commitdiff
|
tree
2011-03-15
A
li
G
h
olam
i
R
u
di
n
c
c: set O_SIGN for
m
ost binary
o
perations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
di
ncc: d
e
reference the not e
x
p
ression o
f
c
e
x
p
rs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
perform s
i
g
n
e
d
oper
a
tions if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
o
l
ami
R
udi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc:
don'
t
cast the
r
eturn value for void f
u
nctions
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami Rudi
gen:
more com
p
act ver
s
ion of memcpy()
a
n
d
memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholam
i
Rudi
gen:
d
on't output
rel
o
cation
s
when
o
_n
o
gen()
i
s called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami R
u
di
neatcc
a
rm
por
t
commit
|
commitdiff
|
tree
2011-03-08
A
li Gholami Rudi
c
lean
up
t
he interface between ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gholami Ru
d
i
npp: remove comme
n
ts aft
e
r preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cpp: don
'
t
remove
n
on-macro nu
m
ber sign
s
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gh
o
lami Rudi
npp: allow
using neat
c
c's
p
reprocesso
r
as
a
s
t
and
a
lone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Al
i
Gholami
Rudi
cpp: do
n
't skip no
n
-eo
l
macro
b
ac
k
slashes
commit
|
commitdiff
|
tree
2010-12-18
A
li Ghol
a
mi
R
ud
i
gen: fix op_rs() optimization funct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
ho
l
ami Rudi
gen: use bett
e
r names
f
o
r
opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Ru
d
i
cpp: defi
n
e __i
3
86__; __x86_64__ is no longer suppo
r
t
e
d
commit
|
commitdiff
|
tree
2010-11-20
A
l
i Ghola
m
i
R
udi
gen:
load
the
first
t
m
p before
c
alling TM
P
_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gho
l
ami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali
Gholami Rudi
ncc: fix name->name str initi
a
lizer
commit
|
commitdiff
|
tree
2010-08-13
A
li
Gholami Rudi
allow extern arra
y
d
eclarations wit
h
out size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: includ
e
s
td
d
ef
.
h
for us
i
ng offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali G
h
olami Rudi
tok:
par
s
e
upperca
s
e
h
ex number
s
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholam
i
Rudi
ncc:
fi
x
setting F_IN
I
T
for each
d
efi
n
e
d name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
ud
i
cpp
:
ha
n
dle
n
ested
macro calls like M(
M
(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok:
don't go bey
o
nd
b
uf
l
e
n
for 3-char
tokens
commit
|
commitdiff
|
tree
2010-07-14
Al
i
G
holami Rudi
tab
.
h: use t
h
e s
t
an
d
ard
o
ffsetof()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i
G
hola
m
i
Rudi
ncc:
f
ix
callin
g
ts_pop() prematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rud
i
ge
n
: ignore the si
g
n of the
second o
p
erand in / and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc:
f
ix & an
d
*
on
functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
gen: don't
overwrite
p
us
h
ed ebx, esi
a
nd
e
di
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
e
n: c
h
ange stack ali
g
nment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: do
n
't
c
hange op
e
rand orde
r
fo
r
const ops
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami R
u
d
i
gen: only perfo
r
m cons
t
op
for
a
ddresses
when add
i
ng
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami
R
udi
gen
:
zeroin
g
eax doesn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
h
olami
Ru
d
i
ncc: fi
x
++s fo
r
pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami Rud
i
ncc: fix
f
u
nctio
n
point
e
r arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
g
e
n
: remove the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Rudi
g
e
n: us
e
tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
g
e
n
:
functions fo
r
pe
r
form
i
ng
o
ptimized ops
commit
|
commitdiff
|
tree
2010-06-24
Al
i
G
holami Rudi
gen: fix two-byte
opcode
bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghol
a
m
i
R
u
di
ge
n
: use
an int for ope
r
a
to
r
s
commit
|
commitdiff
|
tree
2010-06-23
Al
i
Ghola
m
i
R
udi
repla
c
e o_*() functions w
i
th o_bop()
and o_uop
(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami R
u
di
a
d
d specialized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Ghol
a
mi Rudi
gen: let al
l
gr
p
s
b
e used as byte re
g
iste
r
s
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
R
udi
out: don't n
e
ed MAXSECS anymo
r
e
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
t
a
b: let table size be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holam
i
Ru
d
i
out: m
e
rge
a
ll
s
ections into
o
ne text sectio
n
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: rese
t
a
rg count on macr
o
redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali G
h
olami Ru
d
i
o
u
t
: make neatcc work
w
ith gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami Rudi
gen:
han
d
le ch
a
r arguments
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
holami
Rudi
n
cc
:
align structs b
a
se
d
on the first field
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gho
l
ami Ru
d
i
mov macr
o
hash
table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
g
en: handle unsig
n
ed -> l
o
ng ca
s
t
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
d
i
cpp: save m
a
c
r
o names in
a
hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
nc
c
:
di
v
ide
(
p
t
r - ptr) re
s
ult only
i
f size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
g
en: us
e
movsxd only when src
i
s s
i
gned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
tok: 0x1
s
hould
be
u
n
si
g
ned
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami
R
u
d
i
gen: fix
the
co
n
ditions for mo
v
xx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rud
i
n
c
c: fix
getting i's type
in ++
i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: ha
n
dle ptr operations on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix calling function po
i
n
t
ers with arg
u
m
e
nts
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami
R
udi
ncc: don't take
c
ase exprs
as
l
a
bels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
gen: don't generate code a
f
ter o_nogen()
i
n oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hol
a
mi Rudi
all tmps s
h
ould be
t
he sa
m
e in condi
t
ional bran
c
h
es
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
h
o
l
ami R
u
di
ge
n
:
f
i
x l
o
ading back tm
p
s
in me
m
witho
u
t d
e
ref
commit
|
commitdiff
|
tree
2010-06-17
A
li Gholami
Rudi
let tok
_
num() retur
n
t
he bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
g
e
n: relocat
i
on address size i
s
a
l
ways 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Ghol
a
mi R
u
di
gen: fix
S
YM_PTR(
)
m
ac
r
o
commit
|
commitdiff
|
tree
2010-06-16
A
l
i G
h
olami Rudi
ge
n
: fi
x
!!exp
r
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc: let shift amount be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gho
l
a
m
i Ru
d
i
gen:
clea
n
up t
m
p hand
l
i
n
g and fix regs array i
n
o_swap
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
nc
c
:
align struct
members
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
olami
R
udi
ge
n
: mark
c
op
i
ed register a
s
the owner in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen
:
fix "if (!e
x
pr
)
"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc:
f
ix pointer a
r
ithmeti
c
on
s
truct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
am
i
Rudi
show
an er
r
or ms
g
if
no input file
commit
|
commitdiff
|
tree
2010-06-13
Ali
G
holami Rudi
tok:
accept u
p
p
e
rcase hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Ghola
m
i Rudi
sh
o
w
sy
n
t
a
x err
o
r l
o
cation
commit
|
commitdiff
|
tree
2010-06-12
Ali G
h
olami Ru
d
i
gen: fix ignoring r
e
gop1()
re
t
u
rn value
commit
|
commitdiff
|
tree
2010-06-11
Ali G
h
o
l
a
m
i Rudi
g
en: don't change tmp->bt w
h
e
n stori
n
g an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami
Rudi
g
e
n: extend eax
to edx for mu
l
/div op
commit
|
commitdiff
|
tree
next