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: remove cmp+branch optimization; moved to opt branch
2011-03-30
Ali Gh
o
lami Rudi
g
en
:
remo
v
e
cm
p
+branch
o
ptimization; moved
t
o opt
b
ranch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp: handle function macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami
R
udi
gen: re
n
ame d
a
t_bss
(
)
a
n
d
dat_dat() t
o
begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
g
roup funct
i
on
s
in
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi
Rudi
gen:
r
eset
l
a
s
t_set af
t
e
r
cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
ami Rudi
gen: fix
~
operator
im
p
le
m
entati
o
n
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
n
cc: dereference funct
i
on pointers l
i
ke any oth
e
r variables
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami Rudi
gen:
d
o
n't rem
o
v
e
the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami R
u
di
gen: don't let o
_
cast() change deref
e
r
e
n
c
ed type
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi Rudi
ncc: use to
k
_jmp(
)
instead of tok_(see|get)() in
e
num_create(
)
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen:
h
an
d
le lar
g
e
o
f
fsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghola
m
i Ru
d
i
g
en: replace TMP_REG
*
macros with
r
eg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rudi
gen:
cha
n
ge o_
n
ogen()/o_d
o
gen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Ru
d
i
g
e
n: don't generate ex
c
ess jumps fo
r
the l
a
st
return
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
gen
:
don't add duplica
t
e data
to num
b
er p
o
ol
commit
|
commitdiff
|
tree
2011-03-20
A
l
i G
h
olami Rudi
gen: call tm
p
_to() in for loading rhs in
o
_assing
(
)
commit
|
commitdiff
|
tree
2011-03-20
A
l
i
Gholami Rudi
g
en: ignore O_
S
IGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i
Gholami Rudi
gen: fix
s
igned
d
ivision to negate the
r
e
mainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami
Rud
i
gen: me
r
ge decrement and check in i
_
mem
c
py() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen:
don't sav
e
v
a
riable
registe
r
s
b
ef
o
re
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen:
add software div/mod implem
e
ntation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
nc
c
: se
t
O_SIGN for most
b
inary operati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
nc
c
:
d
e
r
eferen
c
e the
n
ot exp
r
es
s
ion
of ce
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
perform
s
ig
n
ed opera
t
io
n
s
if O_SIGNED
bit is s
e
t
commit
|
commitdiff
|
tree
2011-03-14
A
li Ghol
a
mi
R
udi
cpp: defi
n
e __a
r
m__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rudi
ncc: don't
cast the r
e
turn
value f
o
r
void functions
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
G
h
o
l
ami Rudi
gen: more compact version of memcpy() and
memse
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
u
d
i
gen: don't
o
utput reloca
t
i
o
ns when o_nogen
(
) is cal
l
ed
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
lami
Rudi
neatcc arm
por
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean
u
p
the interface between ncc
.
c
,
gen
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: re
m
o
v
e comments after prepr
o
cessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
Rudi
cpp:
don't remov
e
no
n
-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghol
a
m
i Rudi
npp
:
allow u
s
ing
n
ea
t
cc's preprocessor
as a st
a
ndal
o
ne
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gho
l
ami Rudi
cpp:
d
on'
t
s
kip non-eol m
a
cro backslas
h
es
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami Rudi
gen: fi
x
o
p
_rs() opt
i
mization function
commit
|
commitdiff
|
tree
2010-12-18
Al
i
G
h
o
lami Rudi
g
e
n: u
s
e better names for opc
o
d
e
s
commit
|
commitdiff
|
tree
2010-12-11
Ali G
h
olami Rudi
cpp: define _
_
i386__;
__x86_
6
4
_
_ is no l
o
nger supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami
Rudi
gen: load the fi
r
st
t
m
p
befor
e
ca
l
ling
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
R
u
di
a
dd REA
D
ME
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Rudi
ncc: fix name->name
s
tr initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
all
o
w extern
a
rray de
c
laratio
n
s w
i
t
h
out si
z
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghol
a
mi Rudi
cpp: include stddef
.
h
for using offs
e
tof()
commit
|
commitdiff
|
tree
2010-07-28
Ali
G
h
olami Rudi
tok: pa
r
se up
p
ercase
hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
Gholami Rudi
n
c
c
: fix set
t
in
g
F_INIT for each
def
i
ned nam
e
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
G
holami Rud
i
c
p
p: han
d
le n
e
ste
d
macro
calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok: do
n
't go beyon
d
bu
f
l
e
n for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
t
a
b
.
h
:
use the stan
d
ard o
f
fs
e
tof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gho
l
ami Rudi
ncc: fix
calling ts_
p
o
p
(
) premat
u
r
e
l
y
i
n opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gh
o
l
am
i
Rudi
g
e
n: ignore the sign of the second op
e
rand in /
a
nd %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: fix & and *
o
n functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
en: d
o
n't
o
ver
w
rite pushed e
b
x, esi and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi Rudi
gen:
change stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
a
m
i
Rudi
ncc: don't change operand ord
e
r for c
o
nst ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
ol
a
mi R
u
di
g
en: only perform con
s
t
o
p
for addresses when ad
d
ing
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami
R
ud
i
ge
n
:
zeroing
e
ax
d
o
e
sn
'
t
s
eem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gh
o
lami Rudi
ncc:
fix ++s for pointer
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi Rudi
ncc: f
i
x function
p
ointer arrays
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gh
o
l
ami Rudi
gen: remove th
e
unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
ho
l
ami Rudi
gen: use tm
p
->off for locals
t
oo
commit
|
commitdiff
|
tree
2010-06-28
A
li Gholami Rudi
port n
e
atcc to x86
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rud
i
gen: functions for performin
g
op
t
imize
d
ops
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami
R
u
di
gen: f
i
x two-by
t
e opcode bit
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
gen: use an
i
nt fo
r
operators
commit
|
commitdiff
|
tree
2010-06-23
Ali G
h
olam
i
Rudi
re
p
lace o_*()
function
s
with o_bop() and o_uo
p
()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
Ru
d
i
add s
p
ecialized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
A
li
G
holami Rudi
gen: let al
l
grps be used as
byte
regis
t
ers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholam
i
R
udi
out: don't
need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Al
i
G
h
o
lami R
u
di
tab
:
let table size be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami Rudi
out:
m
e
rge
all sectio
n
s into o
n
e te
x
t
se
c
tion
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Ru
d
i
cpp:
r
eset arg
cou
n
t on ma
c
ro redefinit
i
on
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Gholami Rudi
out: make neatcc work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen
:
h
andle char
arguments
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami
R
udi
ncc: alig
n
structs base
d
on the firs
t
field
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rud
i
mov
m
acro hash
table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami
Rudi
gen: h
a
ndle
unsig
n
ed ->
l
ong cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
cpp: save
macro names in
a
has
h
table
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
ncc: divide (ptr - p
t
r) result only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami
R
u
di
gen
:
use movsxd
only w
h
en src is signed
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Ghola
m
i Rudi
t
ok: 0x1 should be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Ru
d
i
gen: fix
t
h
e
c
o
nd
i
tions for movxx operatio
n
s
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gho
l
ami Rud
i
n
cc: fix gettin
g
i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: handle ptr operations
on struc
t
s ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami Rudi
ncc: fix calling fun
c
tion
p
o
in
t
ers
w
i
th arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
l
a
mi Ru
d
i
ncc: don't
t
ake case ex
p
rs as label
s
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
gen: don'
t
generate
c
ode
a
fter
o_nogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
all tmps should be th
e
same
in condition
a
l branch
e
s
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rud
i
gen: f
i
x
l
oading bac
k
t
m
p
s in
m
em with
o
ut de
r
ef
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
l
et to
k
_num() return th
e
bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gho
l
ami
R
udi
g
e
n: r
e
l
oca
t
ion address siz
e
is a
l
w
a
y
s 4 f
o
r
n
ow
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami Rudi
ge
n
:
fix SYM_PTR() m
a
cro
commit
|
commitdiff
|
tree
2010-06-16
A
l
i
G
holam
i
Rudi
gen: fix !!
e
xpr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
n
c
c: let shift amount be an u
n
signed
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
gen: cleanup
t
mp handling and fix regs
ar
r
ay in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
nc
c
:
al
i
gn struct members
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Ghola
m
i Rudi
gen: mark cop
i
e
d
register as the owner in o_tmp
c
op
y
()
commit
|
commitdiff
|
tree
2010-06-14
A
li Gholami Rudi
gen
:
fix "i
f
(!e
x
p
r
)"
commit
|
commitdiff
|
tree
2010-06-14
A
li Gh
o
la
m
i Rudi
nc
c
: fix p
o
inte
r
a
r
ithmeti
c
o
n
s
t
r
uct
p
t
rs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gh
o
lami Rudi
show an error msg if no input
f
i
le
commit
|
commitdiff
|
tree
2010-06-13
A
l
i Gholami
Rudi
tok:
accept uppercase hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Gh
o
l
a
mi Rudi
show syntax error location
commit
|
commitdiff
|
tree
next