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: pass the number of arguments to o_func_beg()
2011-04-01
Ali
G
h
o
l
a
mi R
u
di
gen:
pa
s
s
the
number of argu
m
ents to
o
_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
ho
l
ami
Ru
d
i
gen: encode 0xf0000000
a
s an i
m
mediat
e
commit
|
commitdiff
|
tree
2011-03-31
Al
i
G
h
ol
a
mi R
u
di
ge
n
: swap the immediate if need
e
d for == a
n
d !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
Rudi
gen: encode cmp+immed
i
ate ins
t
ructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
mi Rudi
g
e
n: put the immediate i
n
t
he opcode
i
f possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghola
m
i Rudi
g
e
n
: remov
e
cmp+branch opt
i
miz
a
tion; mo
v
ed
t
o
opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gh
o
lami Rudi
cpp: handle f
u
nction macros w
i
th
no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: re
n
ame d
a
t_bss() and da
t
_dat() to begin with o
_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: group fu
n
cti
o
ns
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
udi
gen: rese
t
last_set
after c
m
p+b optimizatio
n
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: f
i
x ~ ope
r
ator imp
l
ementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: dereference functio
n
p
o
inte
r
s li
k
e any othe
r
var
i
ables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholam
i
Rudi
gen
:
don't remo
v
e the
l
ast return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
g
en: don't let o_cas
t
() change deref
e
renced ty
p
e
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
ami Rudi
ncc: use to
k
_jmp()
i
nstead of tok_
(
see
|
get)()
in
e
num_create
(
)
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Ghol
a
mi Rud
i
gen: ha
n
dl
e
large offsets for s
t
r
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami
Rudi
g
en: replace TMP
_
R
E
G*
m
ac
r
os w
i
th reg_fortmp(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: change
o_nogen(
)
/o_
d
ogen()
t
o
be recu
r
s
i
ve
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
ami Rudi
gen: don
'
t
g
ene
r
ate excess jumps for
t
he last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi
R
udi
gen: don'
t
add duplicate
d
ata to n
u
mber
p
ool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call tmp_to() in for lo
a
ding
r
hs in o_ass
i
n
g()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Gh
o
lami Rudi
gen:
ig
n
ore O_SIGN
E
D
when che
c
king the o
p
code
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami R
u
di
gen: fix
signe
d
division to negate the
rem
a
in
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
g
e
n: merg
e
decrement and
c
heck in i_memcpy
(
) and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali
Ghola
m
i Rud
i
ge
n
:
don't save variable registers befo
r
e
c
alls
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i R
u
d
i
g
en:
a
d
d
s
o
f
t
war
e
d
i
v/mod imp
l
ement
a
tio
n
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gho
l
ami
Rudi
ncc: set O_SIG
N
f
or most bina
r
y
o
perat
i
ons
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami R
u
di
ncc: dere
f
e
rence
t
he not ex
p
ression
of cexp
r
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform signed
o
perations if O
_
S
IGNE
D
bit
is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Rud
i
cpp: de
f
ine __arm
_
_
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
n
cc:
d
on'
t
cast
the return value
for v
o
i
d functi
o
ns
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami R
u
di
gen: more co
m
p
a
ct
v
ers
i
on of memcpy() and m
e
m
se
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rud
i
gen
:
d
on
'
t output re
l
oc
a
tions when
o
_no
g
en() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
lami R
u
di
neat
c
c
a
rm port
commit
|
commitdiff
|
tree
2011-03-08
A
li Gholam
i
Rud
i
cl
e
a
n up the i
n
terface betw
e
en ncc
.
c
, gen
.
c a
n
d out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rudi
n
p
p
:
remo
v
e comments after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
d
i
cpp: don't remove
n
on-macro num
b
er signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i
Rudi
n
p
p: a
l
low using neatcc's p
r
eprocessor as a
s
tand
a
l
on
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholami Rudi
cp
p
:
don'
t
skip non-eol macr
o
bac
k
slashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: fix
op_rs() o
p
timiz
a
tion fun
c
tion
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholam
i
Rudi
g
en: use better name
s
for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: define
_
_i386__; _
_
x86_6
4
_
_
is no long
e
r supported
commit
|
commitdiff
|
tree
2010-11-20
Ali G
h
olam
i
Rudi
gen: load the first tmp befor
e
c
a
l
l
ing TM
P
_R
E
G
2()
commit
|
commitdiff
|
tree
2010-09-16
Ali
Ghol
a
mi
R
udi
add
REA
D
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
R
ud
i
ncc: fix name->name
str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Ru
d
i
al
l
ow extern array declarations
w
ithou
t
size
commit
|
commitdiff
|
tree
2010-07-29
Ali G
h
olami Rudi
cpp:
i
n
c
lude stdd
e
f
.
h
for usi
n
g
of
f
s
e
tof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami
Ru
d
i
tok
:
parse up
p
ercase he
x
nu
m
ber
s
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Gholami Rud
i
ncc: fi
x
setting F_INIT for e
a
ch
d
efi
n
ed name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Ru
d
i
cpp: handle nested macro calls like
M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
di
tok: don't go
beyond buf len fo
r
3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
A
li
G
ho
l
am
i
Rudi
t
ab
.
h: use the stan
d
a
rd offse
t
of
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
ncc: fix call
i
ng
t
s
_pop(
)
prema
t
urely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
gen
:
ignor
e
the sig
n
of the
s
ec
o
nd
op
e
rand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Al
i
G
h
ola
m
i
Rudi
ncc: fix &
a
n
d
* on functions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
Gholami
R
udi
gen: don'
t
overwrite pushed ebx,
e
si and edi
commit
|
commitdiff
|
tree
2010-07-09
A
li
Gho
l
ami Ru
d
i
gen: change stack alignment t
o
4
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami Rudi
ncc: don't ch
a
nge operand order
f
or const
o
ps
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami Rudi
gen: only p
e
rform const op for addre
s
s
e
s when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
h
olam
i
Ru
d
i
gen
:
ze
r
oing eax d
o
esn't seem
n
ecessary
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gho
l
a
mi Rudi
n
cc: fix ++s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Rudi
n
cc
:
fix function pointer
a
r
r
a
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami Rudi
gen:
remove the un
u
sed c_op()
commit
|
commitdiff
|
tree
2010-06-30
Al
i
G
holami Rudi
gen: use tm
p
->off
f
or
lo
c
a
l
s to
o
commit
|
commitdiff
|
tree
2010-06-28
Al
i
Gholami Rudi
p
o
rt neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
A
li
G
holami
R
udi
g
e
n:
f
u
n
c
tions fo
r
p
erforming opt
i
m
ized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gholami Rudi
gen: f
i
x two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use an int for opera
t
o
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali
G
h
o
lami Rudi
replace o_*() fun
c
t
ion
s
w
ith o
_
bo
p
() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghola
m
i Rudi
add speciali
z
e
d
inc/dec o
p
eratio
n
s
commit
|
commitdiff
|
tree
2010-06-21
Ali
Gho
l
ami
R
u
di
gen: let all
g
r
ps be us
e
d as byte re
g
ister
s
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: don'
t
need MA
X
SECS
a
nymo
r
e
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholam
i
Ru
d
i
tab:
l
et
t
a
ble size be HASHITE
M
S
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Rudi
out: merge
all sections i
n
to o
n
e text
s
ection
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
m
i Rudi
c
p
p: reset
a
rg count o
n
macr
o
redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami
Ru
d
i
out:
make ne
a
tcc wo
r
k with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
gen:
h
and
l
e char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami R
u
d
i
nc
c
: al
i
gn
s
tructs based on the first fi
e
ld
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
holami Rudi
mov macro hash table to t
a
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Ru
d
i
gen: ha
n
dle unsigned -> long
c
ast
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hol
a
mi Rudi
cpp: save mac
r
o names in
a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: divide (
p
tr - pt
r
) result only
if si
z
e > 1
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
gen: u
s
e movsxd only when
s
rc
i
s signe
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
tok
:
0x
1
should be
u
nsign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: fix the co
n
ditions fo
r
movx
x
ope
r
ations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
ncc: fix ge
t
ting i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: handle ptr operati
o
ns on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ncc: fix c
a
lli
n
g
fun
c
ti
o
n poi
n
te
r
s
w
i
t
h
a
r
guments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
ncc: d
o
n't take c
a
se ex
p
rs as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
l
a
mi
Rudi
gen:
d
on't generate cod
e
a
f
ter o_
n
ogen() in oi
(
)
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami
R
u
di
all tmps should be t
h
e sa
m
e
in
c
onditi
o
na
l
branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen: fix loading back tm
p
s in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
A
l
i
Gholami Rudi
let t
o
k
_num(
)
ret
u
r
n the bt
commit
|
commitdiff
|
tree
2010-06-17
A
li Gholami
R
u
di
gen
:
re
l
ocat
i
on addr
e
ss size is
a
lw
a
ys 4 fo
r
now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen:
f
ix SYM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix !
!
ex
p
r
commit
|
commitdiff
|
tree
2010-06-15
Ali
G
holami Rudi
ncc: l
e
t
shift amo
u
nt be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali G
h
o
l
ami Rudi
gen: cleanup
t
mp
h
andling and fix regs a
r
ray i
n
o_
s
wap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
Rudi
ncc: align struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
R
u
d
i
g
en: mark
c
opied regist
e
r as th
e
owner in o
_
tmpcopy()
commit
|
commitdiff
|
tree
next