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 0xf0000000 as an immediate
2011-03-31
Ali Gholami Rudi
gen: encode
0
xf00000
0
0 as
a
n immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
e
n:
s
wap the i
m
mediate if needed
f
o
r == and
!=
commit
|
commitdiff
|
tree
2011-03-31
A
li
G
h
o
lami Rudi
g
e
n:
e
ncode cmp+immediate inst
r
u
c
tio
n
s
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami R
u
di
g
e
n
: put the immediate in the opcode if
p
o
ss
i
ble
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen:
r
e
m
o
v
e cmp+branch
opt
i
m
ization; moved to opt
b
ranch
commit
|
commitdiff
|
tree
2011-03-30
A
l
i Ghol
a
mi Rudi
cpp: handle fun
c
tion m
a
cros w
i
th
n
o arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gh
o
lam
i
Ru
d
i
gen: renam
e
dat_bss
(
)
and
d
a
t
_dat() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
ge
n
: gr
o
up function
s
i
n
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Gholami Rudi
gen: res
e
t last_
s
et af
t
er cmp+
b
o
ptimiz
a
ti
o
n
commit
|
commitdiff
|
tree
2011-03-28
Al
i
G
h
o
l
ami Rudi
gen:
fix ~ o
p
era
t
o
r implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: dereference
function pointe
r
s like
an
y
other va
r
i
a
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i
R
udi
gen: don't r
e
move the last return j
u
mp
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami
Ru
d
i
gen: don't let o_cast() change
derefer
e
nced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholam
i
R
u
di
n
c
c
: use t
o
k_
j
m
p() instead o
f
tok_(see|get)() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
g
e
n: handle large off
s
ets f
o
r st
r
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
hol
a
mi Rudi
gen: repla
c
e T
M
P
_
REG* macro
s
wi
t
h reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami Rudi
g
en: chan
g
e
o_nogen()/o_dogen() to
be recurs
i
ve
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
Rudi
gen: don't ge
n
erate excess jumps for the last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't
a
dd duplicate
data
t
o number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
olami Rudi
gen: call
t
mp_to(
)
in for
loa
d
ing rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen:
i
g
n
ore O_SIGNED when
che
c
k
i
ng the
o
pcode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i Gholami Rudi
gen:
fix signed
d
i
vi
s
ion
t
o negate the
rem
a
in
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali
Gh
o
lami Ru
d
i
gen: merge d
e
creme
n
t and che
c
k in
i
_memc
p
y()
and
i_memse
t
()
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholam
i
Rud
i
gen: don't save variabl
e
registers before calls
commit
|
commitdiff
|
tree
2011-03-15
A
li G
h
olami Rudi
gen:
a
d
d software
d
iv/
m
od implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc
:
s
e
t O_S
I
GN for most binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi R
u
d
i
ncc: de
r
eference t
h
e n
o
t expression
of
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
perfo
r
m signed opera
t
ions if O_SIGNE
D
bit is
set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
c
p
p: define
__arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
nc
c
:
don't cast the return value
for v
o
i
d funct
i
o
ns
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholam
i
Rudi
ge
n
:
m
ore compact versi
o
n
of me
m
cpy
(
) and
m
ems
e
t()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
gen:
d
o
n't output r
e
locations when
o_
n
o
gen()
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali G
h
ol
a
mi Rudi
neatcc arm
port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami
R
udi
clea
n
up the interface
b
e
t
ween ncc
.
c
,
gen
.
c
a
nd out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
l
a
mi Rudi
npp:
r
emove comments
after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rudi
cpp: don
'
t rem
o
v
e
n
on
-
m
a
cro
n
um
b
er signs
commit
|
commitdiff
|
tree
2011-02-19
A
l
i G
h
ola
m
i
Rud
i
npp: allow u
s
ing neatcc's preprocess
o
r as
a
standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
c
pp: do
n
't skip
n
on-eol m
a
cro backsl
a
shes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
h
o
l
am
i
Rudi
gen: f
i
x op_rs() opt
i
mization
f
u
n
c
t
ion
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gho
l
ami Rudi
gen: use
better names for opco
d
es
commit
|
commitdiff
|
tree
2010-12-11
A
li Gholami Rudi
cpp: def
i
ne
_
_
i3
8
6__;
__x86_64
_
_ is n
o
l
o
nger su
p
po
r
ted
commit
|
commitdiff
|
tree
2010-11-20
A
li Gholami Rudi
gen: load th
e
f
i
rst tmp bef
o
re calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
l
i Gholami Rudi
add
R
E
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gho
l
ami Rudi
ncc: fi
x
name->name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow extern ar
r
ay d
e
cl
a
rations
wi
t
hout size
commit
|
commitdiff
|
tree
2010-07-29
Ali
G
holami Rudi
c
pp:
include
s
t
ddef
.
h for using o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali
Gho
l
ami Ru
d
i
tok: parse
u
p
percase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
Gholami Rudi
nc
c
: fix setting F_INIT for each defined na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami Rudi
cpp: handle nest
e
d macro
ca
l
ls like M
(
M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
li Ghola
m
i
Rud
i
tok: don't g
o
bey
o
nd buf
l
e
n for 3-
c
har toke
n
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi
Rudi
tab
.
h: u
s
e the stand
a
rd offs
e
tof()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Gholami
Rudi
ncc: fix
c
alling ts_pop() prematurely
i
n opa
s
sign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i G
h
o
l
ami Rudi
gen:
i
gnore the si
g
n o
f
the s
e
co
n
d operand
in / and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali G
h
ol
a
mi Rudi
n
cc: fix
&
and * on functi
o
ns
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
g
e
n: don't over
w
rite
p
ushe
d
e
b
x
,
esi a
n
d edi
commit
|
commitdiff
|
tree
2010-07-09
A
li Gho
l
ami Rudi
gen: change
stack alignme
n
t to 4
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami Rudi
ncc
:
don
'
t cha
n
ge operand order for const op
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i Rudi
gen: o
n
ly perform con
s
t op for
a
ddr
e
sses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
holami R
u
di
gen:
zeroing ea
x
do
e
sn't se
e
m
nece
s
sary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix ++s for pointer
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
Rudi
ncc: fix function pointer ar
r
ays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen:
r
emove t
h
e unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
Ru
d
i
gen: use
tmp->
o
ff for
locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
por
t
neatcc
to x86
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami
R
udi
gen
:
f
u
nctions for performing optimize
d
op
s
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami R
u
d
i
gen: fix two-byte opcode b
i
t
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rud
i
gen: use an int for o
p
er
a
tors
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
r
eplace o_*()
function
s
with o_bop
(
) and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gho
l
ami Rud
i
a
dd sp
e
ciali
z
ed inc/dec operatio
n
s
commit
|
commitdiff
|
tree
2010-06-21
A
li Gholami Rudi
g
en: let all
grps
be used
a
s byte re
g
i
s
ters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
R
udi
out: don'
t
n
e
ed MAX
S
ECS
a
nymore
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami
Rud
i
tab: let t
a
ble
size b
e
HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: merge all s
e
cti
o
n
s
into
one
t
e
x
t
s
ection
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
ami Rudi
c
p
p: re
s
et arg
c
o
u
nt on macro
r
edefin
i
tion
commit
|
commitdiff
|
tree
2010-06-19
Ali
Ghola
m
i
Rudi
out:
m
a
ke
neatcc work with g
n
u ld
commit
|
commitdiff
|
tree
2010-06-18
A
li
Gholami Rudi
gen: hand
l
e char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
ncc:
alig
n
structs b
a
s
ed on
t
he first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
mov macro hash tab
l
e to
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: ha
n
dle unsigne
d
-> lo
n
g cast
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
cpp: save macro
names in
a
h
ash table
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami Rudi
ncc: divide (ptr - ptr) result
o
nly if siz
e
> 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
d
i
ge
n
: use movsx
d
o
n
ly when src is
s
igned
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i
Rudi
tok
:
0
x1 should be unsi
g
ned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
g
e
n: fi
x
the
conditions f
o
r mo
v
xx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ncc: fi
x
getting i'
s
type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
ncc: h
a
n
d
l
e ptr operations on structs
p
t
rs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
d
i
ncc: fix
ca
l
l
ing function poi
n
ters with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
cc: don'
t
take case exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
gen: don't generate code a
f
ter o_n
o
gen()
i
n
o
i
(
)
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
la
m
i Rudi
all tmps should be th
e
same in conditional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami
Rudi
gen: fix loading ba
c
k tmps in mem without de
r
e
f
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
let
t
o
k_num(
)
ret
u
rn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali G
h
olami Rudi
gen: relocation address size is alwa
y
s 4 for
now
commit
|
commitdiff
|
tree
2010-06-16
A
l
i Gholami
R
udi
gen: fix
S
YM_PT
R
(
)
m
a
cro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rud
i
ge
n
: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
n
cc: let shift
a
mou
n
t be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Al
i
Ghol
a
mi Rudi
gen: cl
e
anup tmp ha
n
dling and
f
i
x
regs arr
a
y in
o_s
w
ap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Ru
d
i
ncc: align st
r
uct members
commit
|
commitdiff
|
tree
2010-06-14
Al
i
G
h
o
lami
R
udi
gen:
mark c
o
p
ied
register as t
h
e owner in
o_tm
p
co
p
y
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ge
n
: f
i
x "i
f
(!ex
p
r)
"
commit
|
commitdiff
|
tree
next