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: handle sym+off function calls
2011-04-29
Ali Gholami
Rud
i
gen: handle sym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
gen: mo
v
e architecture-
s
pecific functions
to the e
n
d
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
holami Ru
d
i
g
e
n:
u
se i_set() in i
_
lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghol
a
mi Rudi
ge
n
: pass th
e
number of argu
m
ents to
o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami Rudi
gen: encod
e
0xf0000000 as an immed
i
a
t
e
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
mi Rudi
g
e
n: swap the
i
mmediate if neede
d
for == and !
=
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Ghol
a
mi Rudi
gen: encode
cmp+
i
mme
d
iate
i
nstructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
mi Rudi
gen: put t
h
e imm
e
diate in the opcode
i
f pos
s
ible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholam
i
Rudi
gen: remove
c
mp+branch optimizatio
n
;
moved to
opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali
Gholami R
u
di
cp
p
: ha
n
dle fun
c
tio
n
macr
o
s with no ar
g
u
ments
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i R
u
di
gen:
rena
m
e
d
a
t_bss()
a
nd
d
at_dat() to begin with
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami
Rudi
gen: group functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
gen: re
s
et
last_set
a
f
t
e
r
cmp
+
b op
t
im
i
zation
commit
|
commitdiff
|
tree
2011-03-28
Ali
Ghola
m
i Rudi
g
en
:
fix ~
o
p
erator implementation
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami
R
udi
n
c
c
:
dereference function pointers like
any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gho
l
ami Rudi
gen: do
n
't remove the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghol
a
mi Rudi
gen
:
d
o
n't le
t
o_cast() chang
e
deref
e
renced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami
Rudi
ncc: use tok_jmp() i
n
stead of
t
ok_(see|get)()
in enu
m
_cre
a
t
e
()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghola
m
i
R
udi
gen: handle large offse
t
s for str
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
ola
m
i Rudi
gen: replace TMP_RE
G
* macr
o
s wit
h
reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holami Rud
i
gen
:
chang
e
o_nogen()/o_dogen() to be
r
ecursiv
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
Rudi
gen: don't generate
e
x
c
ess jumps for
the
l
a
st return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: d
o
n'
t
ad
d
dup
l
ica
t
e data to
numb
e
r
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami
Rudi
g
en: cal
l
tmp_t
o
()
in for loading rh
s
in o_
a
s
sing()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i G
h
olami Rudi
gen: ignore O_SIGNED when checking t
h
e op
c
ode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen: fix signed divi
s
ion to ne
g
a
t
e the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: merge decrement a
n
d check in i_memc
p
y
() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami R
u
di
gen: don't save
v
ari
a
ble r
e
gisters bef
o
re
c
alls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami
Rudi
gen: add
s
oftware d
i
v/mod impl
e
mentation
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
nc
c
: set O_SIG
N
for most b
i
n
ary o
p
era
t
ions
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
ncc:
d
ereference the
not expressio
n
of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
perf
o
r
m
s
i
g
n
ed op
e
ration
s
if O_SIGNED bit is se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Ru
d
i
cp
p
: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gh
o
lami Rudi
ncc: don't cast
t
h
e
r
eturn value fo
r
voi
d
f
u
nctions
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi Rudi
gen:
m
o
r
e compa
c
t version
of memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
hol
a
m
i
Rudi
ge
n
:
d
on
'
t outpu
t
relocations
w
hen o_nogen() is calle
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholam
i
Ru
d
i
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean up th
e
interface be
t
ween n
c
c
.
c, gen
.
c
a
n
d
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Ru
d
i
npp:
r
emove comments after preprocessin
g
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gh
o
lami R
u
di
cpp
:
don't remove n
o
n-macro number
sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
n
pp
:
allow using neatcc's
pre
p
r
o
ces
s
or as a
s
t
andal
o
ne
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
c
p
p: don't
s
kip non
-
eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami Rudi
gen:
fix op_rs() opt
i
mization functio
n
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
o
la
m
i Rudi
gen: use better names for o
p
codes
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghol
a
mi
R
udi
cpp: define __
i
386__; __x86_64_
_
i
s
n
o
l
onge
r
s
upport
e
d
commit
|
commitdiff
|
tree
2010-11-20
Ali
Gholami R
u
d
i
gen:
load
the
f
i
r
s
t
t
m
p
b
efore
ca
l
l
i
ng TMP_
R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gh
o
lami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc
:
fix name
-
>name
s
tr initi
a
lizer
commit
|
commitdiff
|
tree
2010-08-13
A
li Gholami R
u
di
allow exte
r
n array declarations w
i
th
o
ut s
i
ze
commit
|
commitdiff
|
tree
2010-07-29
A
li G
h
olami Rudi
cpp: incl
u
de std
d
e
f
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami
R
udi
tok
:
p
arse
u
p
p
erc
a
se hex numbe
r
s
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc:
f
i
x
se
t
ting
F_INIT f
o
r e
a
ch define
d
name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
u
di
cpp
:
han
d
le n
e
sted macro calls like
M(M(1)
)
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok: don't go
be
y
ond b
u
f le
n
for 3-char to
k
ens
commit
|
commitdiff
|
tree
2010-07-14
A
li G
h
olami
R
udi
tab
.
h: use
t
he standard offseto
f
()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
ho
l
ami Rudi
n
c
c: fix
calling ts_pop()
p
r
ematurely in opa
s
sign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami Rudi
gen:
ignore th
e
sign
o
f the
sec
o
nd operand in / a
n
d %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Ru
d
i
ncc:
f
ix & and * on f
u
n
ctions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gho
l
ami Rudi
gen: don't ove
r
write
p
ushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: change
st
a
ck alignme
n
t to
4
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i Rudi
ncc: don't change
o
perand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
holami Rud
i
g
e
n: only
p
erform const
op for addresses when
a
d
ding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
ho
l
ami
Rudi
gen: zeroing eax do
e
sn't seem n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami R
u
di
ncc: fix
+
+s f
o
r pointers
commit
|
commitdiff
|
tree
2010-06-30
A
l
i G
h
o
l
ami R
u
d
i
ncc: fix function pointer arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
gen: remove the unused
c_op()
commit
|
commitdiff
|
tree
2010-06-30
A
li
G
holami Rudi
gen:
u
se
t
mp-
>
off for l
o
c
a
ls
too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port
n
e
a
tcc to
x
86
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami Rudi
gen: functio
n
s for perfo
r
ming optimized op
s
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gholami Rudi
gen: fi
x
two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
A
l
i
G
h
olam
i
R
u
di
ge
n
:
use
a
n int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gho
l
ami Rudi
replace o_*() func
t
ions with o_bop() and o_
u
op()
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gh
o
lami Rudi
a
d
d sp
e
cialized inc/dec oper
a
tions
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gho
l
ami Ru
d
i
ge
n
: let all grps be used as byte r
e
g
isters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholam
i
Rudi
o
u
t: don't need MAXS
E
CS any
m
ore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Ru
d
i
tab: let ta
b
le size be HAS
H
ITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghola
m
i Rudi
out: merge all sections into one text s
e
ct
i
on
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
cpp:
r
eset arg
c
ount on mac
r
o re
d
efinition
commit
|
commitdiff
|
tree
2010-06-19
Ali
G
holami
R
udi
o
u
t: make neatcc work with
g
nu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
gen: handle char
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: ali
g
n
stru
c
ts based on
t
h
e
first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
m
o
v m
a
cro h
a
sh tabl
e
to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
gen: handle unsi
g
ned -
>
long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rud
i
cpp: save mac
r
o nam
e
s in a hash t
a
ble
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
ncc: divide (p
t
r -
p
tr) result
o
nly if size > 1
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholam
i
Rudi
gen: use movs
x
d only
when s
r
c
is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
tok: 0x1 shoul
d
be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ge
n
: fix the conditions
f
o
r movxx operat
i
ons
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix getti
n
g
i
's type i
n
++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc:
h
andle
p
tr op
e
rations on s
t
ructs pt
r
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
ncc: fix cal
l
ing f
u
n
c
tion pointe
r
s
wit
h
arg
u
ments
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
holami R
u
d
i
ncc:
don't take case exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
m
i
R
u
di
gen: don't g
e
nerate code after o_nogen
(
) in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
o
lam
i
Rudi
all tmps should b
e
the
same in conditional
branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
g
en: fi
x
load
i
ng back tmps in mem w
i
thout de
r
ef
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami Rudi
let tok_num() return the bt
commit
|
commitdiff
|
tree
2010-06-17
A
li G
h
olami Rudi
gen:
r
eloca
t
ion
a
ddress
size is always
4
for
n
ow
commit
|
commitdiff
|
tree
2010-06-16
Ali Gh
o
lami Rudi
gen:
f
i
x SYM_PTR() ma
c
r
o
commit
|
commitdiff
|
tree
2010-06-16
Ali
G
h
o
lami
Rudi
gen: f
i
x
!
!e
x
pr
commit
|
commitdiff
|
tree
2010-06-15
Al
i
Gh
o
lami Rudi
ncc: let shift amoun
t
be an unsigne
d
commit
|
commitdiff
|
tree
next