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: encode cmp+immediate instructions
2011-03-31
A
l
i Gholam
i
R
u
di
g
en:
en
c
ode cmp+i
m
m
e
diate i
n
s
tructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: put
the imme
d
iat
e
in the opcode if possi
b
le
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami
Rud
i
gen: rem
o
ve
c
m
p+branch
optimization; mo
v
ed to opt branch
commit
|
commitdiff
|
tree
2011-03-30
A
li
G
holami Rudi
cpp: handle function mac
r
os with no
ar
g
uments
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami Ru
d
i
g
en: rename dat_bss() and dat_dat() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Ghol
a
mi Rudi
gen: group functio
n
s
in
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rudi
gen:
r
ese
t
last_
s
et after
cmp+b opti
m
ization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gh
o
l
a
m
i
Rudi
gen
:
fix ~ oper
a
t
or impleme
n
tatio
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: dere
f
erence function pointers l
i
ke any other vari
a
bles
commit
|
commitdiff
|
tree
2011-03-27
Al
i
G
holami Rudi
gen: don't remove
the last return jum
p
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami
Rudi
ge
n
: don't let o_cast() ch
a
nge derefere
n
ced type
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
h
ol
a
mi
R
u
di
ncc
:
use tok_j
m
p() instea
d
of t
o
k
_(see|get)()
in
e
num_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi
Rudi
ge
n
: handle large offsets for
s
tr
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
gen: repl
a
ce T
M
P
_
R
EG* m
a
cr
o
s
w
ith
r
eg
_
f
o
rtm
p
()
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholam
i
Rud
i
gen: change
o
_nogen()/o_dogen() to be
r
e
cursive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
g
en: do
n
't
genera
t
e exc
e
ss jumps
for the last re
t
u
rn
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
R
udi
gen: don't add duplicate d
a
ta
to
nu
m
ber pool
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
ol
a
mi Rudi
gen: cal
l
tm
p
_
to() i
n
for loa
d
i
ng rhs in
o_assing()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i
G
h
olami Rudi
gen
:
ig
n
ore
O
_SIGN
E
D when
checking the opc
o
de
commit
|
commitdiff
|
tree
2011-03-17
Ali Ghol
a
mi
Rudi
gen:
fix
s
igned divi
s
ion
to negate the rema
i
nder
commit
|
commitdiff
|
tree
2011-03-16
A
li Gholami Rud
i
gen:
merge de
c
rement and c
h
eck in i_memcpy(
)
and i_mem
s
et(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
hola
m
i Rudi
gen:
d
o
n
't
s
ave
v
ariable r
e
gister
s
b
efo
r
e
c
alls
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
gen: add software
d
i
v/mod i
m
ple
m
en
t
at
i
o
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
am
i
Rudi
ncc: set O_S
I
GN for most binary op
e
rations
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholami
R
udi
ncc:
dereference
the not expression of
c
e
xprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
m
i Ru
d
i
perfo
r
m signed operations if O_SI
G
NED bit is se
t
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Rudi
cp
p
: defin
e
__arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olam
i
Rudi
n
c
c: d
o
n
'
t ca
s
t t
h
e
r
eturn value for void fun
c
tions
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami R
u
d
i
g
e
n
:
more compa
c
t versio
n
of memcpy() and me
m
set(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: don't output relocations when o_nog
e
n(
)
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghola
m
i Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
A
l
i Ghol
a
mi Rudi
cl
e
an up
the
interface
b
etween ncc
.
c, gen
.
c and ou
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Ru
d
i
npp: remov
e
co
m
ments aft
e
r
p
reprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami
R
u
d
i
cpp: do
n
't
remove no
n
-macro
n
u
m
ber signs
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Ru
d
i
npp: allow
u
sin
g
ne
a
tcc's p
r
e
pr
o
cessor as a
s
ta
n
d
a
l
one
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp: don't skip non-eol macro backsl
a
shes
commit
|
commitdiff
|
tree
2010-12-18
A
l
i G
h
olami
Rudi
gen: fix op_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami
R
udi
g
en: use bett
e
r
nam
e
s for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gho
l
ami Rudi
cpp:
def
i
ne
_
_i386__; __x86_64__ is no long
e
r s
u
pported
commit
|
commitdiff
|
tree
2010-11-20
Al
i
Ghol
a
mi Rudi
gen:
l
o
ad the first
t
mp
b
efo
r
e c
a
lling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali G
h
olami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali
Ghola
m
i Rud
i
ncc:
fix name->
n
ame str in
i
t
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gholami
Rudi
allo
w
extern arra
y
declarations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
cpp: inc
l
u
de s
t
d
d
ef
.
h fo
r
using off
s
etof()
commit
|
commitdiff
|
tree
2010-07-28
Al
i
Gholam
i
Rudi
tok: par
s
e
uppercase hex
n
umbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: fix
setting F_INIT fo
r
each defined
n
ame
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
m
i
Rudi
cpp:
ha
n
dle nes
t
e
d
m
a
cr
o
calls like M(M(1
)
)
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
hol
a
mi R
u
di
tok: don't
g
o beyon
d
buf
l
e
n
f
o
r 3
-
char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
h
ol
a
mi Rudi
tab
.
h: use
t
h
e standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gh
o
lami Rudi
n
c
c:
f
ix calling ts_pop() prematur
e
ly
i
n
opas
s
ign()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gho
l
ami Rud
i
g
en: i
g
nore the
sign of
t
he second ope
r
a
n
d in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
holam
i
R
udi
ncc: fix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
l
ami Rudi
gen: don't ove
r
write pu
s
hed ebx,
esi and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rudi
gen:
c
hange stack alignment
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
u
di
ncc:
don't change
op
e
rand
o
rder for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
ho
l
ami
Rudi
gen:
o
nly perform cons
t
op fo
r
addresses w
h
en adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
holami
R
udi
gen: zer
o
i
n
g e
a
x do
e
s
n
'
t seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gho
l
ami Rudi
ncc: fix ++
s
for
pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
n
c
c: fix
f
unction po
i
nter arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rudi
gen:
r
emove the unus
e
d c_op()
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Ghola
m
i R
u
di
gen: use tmp->off for l
o
cals too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
holami Rud
i
port
neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Ru
d
i
gen: f
u
nct
i
ons for per
f
orming o
p
t
imized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
la
m
i Rudi
gen: fix two-byte opc
o
de bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use an in
t
for o
p
erators
commit
|
commitdiff
|
tree
2010-06-23
Al
i
Gholami Rudi
replace
o
_*()
funct
i
o
n
s with o_
b
op() and o
_
uop()
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Gh
o
l
a
mi Ru
d
i
add
sp
e
cialized inc/dec oper
a
tions
commit
|
commitdiff
|
tree
2010-06-21
Ali
Gh
o
l
a
m
i Rudi
gen: l
e
t
a
ll grps be used
a
s byt
e
registers
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
out: don't need MA
X
SECS anym
o
re
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
ho
l
ami Rudi
ta
b
: let
table s
i
ze
be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Ghol
a
mi
R
udi
out: merge all sections into
o
n
e tex
t
section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rud
i
cp
p
: reset a
r
g
count
on m
a
c
ro
redefinit
i
on
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Ru
d
i
ou
t
: m
a
ke neatcc work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
gen: handle cha
r
arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hola
m
i Rudi
n
c
c: a
l
ign struct
s
based
o
n th
e
first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
l
a
mi Rudi
mov macro
h
ash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen:
handle unsigned -
>
lo
n
g cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
o
lami
Rudi
cpp: save macro na
m
es
in a
h
ash
t
abl
e
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
o
lami Ru
d
i
ncc: divide
(
p
tr - ptr)
r
esult only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
h
ol
a
mi Rudi
gen: use m
o
vsxd onl
y
when src
i
s signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
tok: 0
x
1 should be unsigned
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
h
o
lami Rudi
gen: fix
t
he conditions for mo
v
xx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
nc
c
: fix get
t
i
ng i's t
y
pe in
+
+i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami
R
u
di
ncc: handle
p
t
r
op
e
rations
on
str
u
ct
s
ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
c
c: fix ca
l
ling func
t
io
n
po
i
nters with ar
g
uments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
ncc:
don't take case exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gh
o
lami Rudi
gen: do
n
't generate code af
t
er o_nogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
all tmps should be the same
i
n conditiona
l
bra
n
ches
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gholami Rudi
gen: fi
x
l
o
ading back tmps i
n
mem without deref
commit
|
commitdiff
|
tree
2010-06-17
A
l
i
Gho
l
a
mi Rud
i
let tok_num() ret
u
rn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Ru
d
i
gen: reloca
t
i
o
n addres
s
size is always 4
f
o
r now
commit
|
commitdiff
|
tree
2010-06-16
Ali G
h
olami Rudi
g
e
n
: fix S
Y
M_PTR(
)
m
a
cro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami
R
udi
gen: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Al
i
Gholam
i
Rudi
ncc:
l
e
t
shif
t
a
m
ount
be an
u
nsign
e
d
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholam
i
Rudi
gen: c
l
ea
n
up tmp handli
n
g and fix regs a
r
ray in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc: al
i
g
n st
r
u
c
t member
s
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holami
Ru
d
i
gen: mark co
p
ied r
e
gister
a
s
the owner in o_tmpcopy
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
olami Rudi
gen: fix "if
(
!expr)
"
commit
|
commitdiff
|
tree
2010-06-14
Al
i
G
h
olami Ru
d
i
ncc:
fix pointer arithmetic on struct
ptrs
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gh
o
lami Rudi
show an error m
s
g if no
i
nput
f
ile
commit
|
commitdiff
|
tree
next