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 Gholami Rudi
g
e
n: pass the nu
m
ber of argume
n
t
s
to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
Rudi
g
e
n: encode 0xf
0
000000 as an immedi
a
te
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: swap the imm
e
diate
i
f
needed for
=
= and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holami Rudi
ge
n
:
encode cmp+immediate
i
n
st
r
uction
s
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: put the immediat
e
in th
e
opcode if
poss
i
ble
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
hol
a
mi Rudi
g
en: r
e
move
c
mp+
b
ranch optimization; mo
v
e
d
to opt
b
ranch
commit
|
commitdiff
|
tree
2011-03-30
A
li Gholami Rudi
cpp: handl
e
fu
n
c
t
ion macros with
n
o
a
rguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
r
ename dat_bss() and
dat_dat() to
b
e
g
in
w
it
h
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
ola
m
i Rudi
gen: gro
u
p func
t
io
n
s
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
ge
n
: res
e
t last_set after cmp+b optimizatio
n
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
e
n
:
fix ~
op
e
rator impleme
n
tati
o
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
u
di
ncc: der
e
fe
r
ence
function pointers like an
y
othe
r
variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholam
i
R
u
di
gen: don't re
m
o
ve the last
r
eturn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
ol
a
mi
R
udi
gen: don't let o_cast() chan
g
e de
r
efere
n
ced type
commit
|
commitdiff
|
tree
2011-03-25
A
li Ghola
m
i Rudi
nc
c
:
u
se
t
o
k
_jmp() ins
t
ead of tok_(s
e
e
|get)
(
)
in enum_c
r
eate()
commit
|
commitdiff
|
tree
2011-03-25
Ali
Ghol
a
mi Rudi
g
e
n
:
handle larg
e
o
f
fsets for str
commit
|
commitdiff
|
tree
2011-03-25
A
li
G
h
o
lami Rudi
gen:
r
e
p
lace TMP_REG* macros with reg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami
R
udi
g
en:
c
hange o_
n
og
e
n
()/o_dogen() to be recursiv
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gh
o
lami Rudi
g
e
n
: don
'
t
g
ener
a
te excess jump
s
for the last retur
n
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: do
n
'
t add duplicat
e
data
to
n
u
mber pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call tmp_to(
)
i
n
f
o
r
loading r
h
s in o_assin
g
()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami
Rud
i
gen: igno
r
e O_SIGNED when
che
c
kin
g
the op
c
ode
commit
|
commitdiff
|
tree
2011-03-17
Al
i
Gho
l
am
i
R
u
di
ge
n
:
f
ix signed
d
ivision to negate
the rema
i
n
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali Ghola
m
i
R
u
di
gen: mer
g
e
de
c
rement and check
i
n i_
m
e
m
cpy
(
) and i_memset
(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami R
u
di
gen:
d
on'
t
save variable
r
egisters before ca
l
ls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
g
en:
add softwa
r
e div/mo
d
i
mplementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
nc
c
: set O_SI
G
N for most binary operat
i
ons
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Rudi
ncc: dereference the not ex
p
r
essio
n
of
c
exprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
perform
s
igne
d
operat
i
on
s
if
O
_SIGNED bit is
se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
c
pp: define __ar
m
_
_
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc: d
o
n't
cast the return value for
void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
gen:
more c
o
mpa
c
t version of memcpy() a
n
d mems
e
t()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
gen: don't output relocations wh
e
n
o
_nogen(
)
is
c
a
lled
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
lami Rud
i
n
eatcc a
r
m por
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gho
l
ami Rudi
clean up the interf
a
ce be
t
wee
n
nc
c
.
c, gen
.
c a
n
d out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gholami Rudi
n
pp:
remo
v
e comments aft
e
r pr
e
processin
g
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rudi
c
p
p: don't
rem
o
ve non-
m
acro
n
umber sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
n
p
p: allow using ne
a
tcc's preprocessor as a stan
d
al
o
ne
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp:
d
o
n
't skip non-
e
o
l macro back
s
la
s
hes
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami Ru
d
i
gen: fix op_r
s
() optimizat
i
on fun
c
tion
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami Rudi
g
en: use
b
etter names for opcode
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami
Rud
i
cpp
:
d
e
fine __i386__
;
__x86_64__ is no lo
n
ger s
u
p
ported
commit
|
commitdiff
|
tree
2010-11-20
Ali
G
h
olami Rudi
g
e
n: load t
h
e
f
irst t
m
p
before calling TMP_
R
EG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Ghol
a
mi R
u
di
add READM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc: fix n
a
me
-
>n
a
me str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghola
m
i Rudi
allow exte
r
n array decla
r
at
i
ons w
i
t
h
out
size
commit
|
commitdiff
|
tree
2010-07-29
Al
i
G
ho
l
ami Rudi
c
p
p
: includ
e
stddef
.
h fo
r
us
i
ng offsetof()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i
Ghol
a
mi
R
ud
i
tok: p
a
rse upper
c
ase hex
n
umbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
holam
i
Rudi
ncc:
fix sett
i
ng F_INIT for each d
e
fined nam
e
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami
Rud
i
cpp: handle nested
macro calls
l
ike M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami
R
udi
to
k
: don't go
beyond buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Ghola
m
i Rudi
tab
.
h: use the standard offseto
f
()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami R
u
di
nc
c
: fix cal
l
ing ts_pop() prem
a
turely in opassign(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gho
l
ami Rudi
gen:
i
gnore the sign of th
e
second operand i
n
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Gh
o
lami Rudi
ncc: fix & and *
o
n functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
udi
gen: don't overwrite
pus
h
ed
e
bx
,
esi and
ed
i
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
g
e
n: change stack align
m
ent t
o
4
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
n
c
c: don't change operand order for const
o
ps
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami
Rudi
gen: only
p
erform const
op for a
d
dresses whe
n
addi
n
g
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rud
i
gen: zeroin
g
eax doesn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix ++s
f
or point
e
r
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami
R
ud
i
ncc: fix function
pointer arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
A
li
Gholami Rudi
gen: remove the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
h
ol
a
mi Rud
i
gen
:
use
tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Al
i
Ghola
m
i Rudi
po
r
t n
e
atcc to x86
commit
|
commitdiff
|
tree
2010-06-24
A
li
G
holami Rudi
gen: functions for performing optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gh
o
lami Rudi
gen: f
i
x two-
b
yte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
a
m
i Rudi
g
en: use an
i
nt f
o
r
op
e
r
a
tors
commit
|
commitdiff
|
tree
2010-06-23
A
l
i Gholami Ru
d
i
replace
o
_*() function
s
with o_b
o
p
(
)
a
nd
o
_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gho
l
ami Rudi
add
s
pecialized inc/d
e
c operat
i
ons
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholam
i
R
u
d
i
g
e
n: let all grp
s
be us
e
d as byte registers
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Ghol
a
mi Rudi
out: don
'
t need M
A
XSEC
S
anymor
e
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
holami Rudi
tab: let table size b
e
H
A
SHITE
M
S
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
o
u
t: merge all sectio
n
s into one tex
t
section
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
cpp: reset
a
r
g
c
o
unt o
n
macro r
e
d
e
fini
t
ion
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
o
u
t
:
m
ake
neatcc work
w
i
th
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Ru
d
i
ge
n
: handle char argu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
ncc: alig
n
s
tructs
based
o
n the firs
t
fie
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
mov m
a
cro
h
ash ta
b
le to
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
gen: handle
unsigned -
>
l
ong cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
c
pp
:
s
a
v
e
m
a
c
ro names in
a
has
h
table
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami Ru
d
i
ncc: divide (pt
r
-
ptr) result only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
gen
:
use movsx
d
only when src is sig
n
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami
Rudi
tok: 0x1
s
hou
l
d be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: fi
x
th
e
conditions for mo
v
x
x operat
i
ons
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
o
l
ami Ru
d
i
n
c
c:
f
i
x
ge
t
ting i's typ
e
i
n ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: han
d
le ptr
o
perations on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i
R
udi
ncc: fix cal
l
ing fu
n
cti
o
n
pointers
w
ith ar
g
u
ments
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gho
l
a
m
i R
u
di
ncc: don'
t
take
c
ase exprs
a
s labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami
R
udi
gen: don't generate code after o_
n
og
e
n() in
o
i
(
)
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Ru
d
i
all tmps sh
o
u
l
d be the same in conditional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gh
o
l
a
mi Ru
d
i
gen: fix l
o
ading
b
ack
t
mps in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Ghola
m
i Rudi
let tok_num() return
t
he bt
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gholami
Rudi
gen:
relocatio
n
add
r
ess s
i
z
e
i
s always 4 fo
r
now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen:
fix
S
YM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
ge
n
: fix !!exp
r
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc: let sh
i
ft amount
b
e
an un
s
i
g
ned
commit
|
commitdiff
|
tree
2010-06-15
A
l
i
Gholami Rudi
g
en: cleanup tmp
h
a
ndling and
fix reg
s
array
in o
_
s
wap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
Rud
i
ncc: align
struc
t
m
e
mbers
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen: mark c
o
pie
d
regi
s
ter as th
e
own
e
r in o_t
m
pcopy()
commit
|
commitdiff
|
tree
next