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
cpp: merge cur++'s in readarg()
2011-05-22
Ali Gho
l
ami Rud
i
cpp: m
e
r
ge c
u
r++
'
s
i
n read
a
rg()
commit
|
commitdiff
|
tree
2011-05-22
A
l
i Gholami Rudi
gen: fix reg_fortmp() indentat
i
on
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
n
cc: ha
n
dle
o
v
e
rl
a
pping conditional expressions
commit
|
commitdiff
|
tree
2011-05-19
A
li
Gholami Rudi
n
c
c: handle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
nc
c
: m
a
ke sure
t->addr == 0 before calling o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali
Gholami Rudi
ncc: ignore the sem
i
c
olo
n
after do-wh
i
le
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
nc
c
:
s
w
itch defaul
t
labels w
h
e
n
not a
p
pea
r
i
n
g at the
e
nd
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
a
m
i
Rudi
ncc: opass
i
gn should
u
s
e th
e
time
of l
h
s
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami Rud
i
ncc
:
move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Ru
d
i
ncc: a
l
w
ays in
i
tialize output filename
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gho
l
ami Ru
d
i
READ
M
E: ig
n
ored
k
eywor
d
s are now b
u
ilt into
n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
Ghol
a
mi Rudi
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rud
i
ncc: handle extern function decla
r
ations i
n
side func
t
i
ons
commit
|
commitdiff
|
tree
2011-05-06
Ali
Gho
l
ami Rud
i
ncc: handl
e
extern v
a
riable declarations in
s
ide
func
t
i
ons
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
h
olami Rudi
ncc: move mac
r
os li
k
e __STDC__
t
o
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gho
l
ami Rudi
tok:
h
a
n
dle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Ru
d
i
ncc: ignore
t
he keywords n
e
atcc doe
s
n't care
a
bou
t
commit
|
commitdiff
|
tree
2011-05-01
Ali
Gh
o
lam
i
Rudi
gen: reset
last_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami
Rudi
g
e
n
: back-port cmp+b
c
c optimizatio
n
again
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami R
u
di
gen:
m
ove
opcodes
to
a
rch section
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
hol
a
mi Ru
d
i
g
en: re
n
a
m
e
F
O
R
K
_REG
t
o REG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Ru
d
i
gen: pass only O_
*
constants to i_
*
() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Rudi
gen: hand
l
e sym
+
o
f
f f
u
nctio
n
cal
l
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move architecture-specific
f
u
nctions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gho
l
ami Rudi
gen
:
us
e
i
_
set() i
n
i
_
lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
ho
l
ami Rudi
gen: pa
s
s the nu
m
ber of argum
e
nts to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami Rudi
gen: encode 0xf000
0
000 as an
i
m
mediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami R
u
di
gen: swa
p
the immed
i
ate if needed for ==
a
n
d
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali
Ghol
a
mi Rudi
gen: encode cmp+immedi
a
te i
n
structions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
en: put the imme
d
iat
e
in the opcode
i
f possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen
:
remo
v
e cmp
+
bra
n
ch optimizati
o
n; mo
v
ed
to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp: h
a
ndle function macros wit
h
n
o
arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
ami Rud
i
gen:
rename dat_bss() and d
a
t_dat()
to
b
egin
with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: g
r
oup functions in ge
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami R
u
d
i
gen: reset last_s
e
t after
cmp+b op
t
i
mization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: fix ~ o
p
era
t
o
r implementati
o
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i Rudi
n
c
c: de
r
ef
e
r
enc
e
function pointe
r
s like
a
ny
o
ther variables
commit
|
commitdiff
|
tree
2011-03-27
A
li Gholami
R
udi
g
en
:
don
'
t r
e
move the last return j
u
mp
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami
R
udi
gen: don't let o_cas
t
() change dereferenced
t
ype
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
h
olami Rudi
ncc: use tok_jmp() instead of tok_(see|g
e
t
)
(
)
in enum_
c
reat
e
()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghola
m
i Rudi
gen: handle large offsets for
s
t
r
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholam
i
Rudi
ge
n
: replace TMP_REG* macros wi
t
h reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
G
hol
a
m
i Rudi
gen:
chang
e
o
_
nogen()/o_dog
e
n()
to
be
r
ecursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't
g
enerat
e
excess jumps for t
h
e last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
ami Rudi
gen
:
don't add duplicate dat
a
to number pool
commit
|
commitdiff
|
tree
2011-03-20
Al
i
G
h
olami Rudi
gen: ca
l
l
t
mp_
t
o(
)
in for loading rhs in
o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen
:
ign
o
re O_SIGNED
when checking
t
he opc
o
d
e
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholam
i
Rudi
g
e
n
:
f
i
x sign
e
d di
v
ision t
o
negate the
r
e
mainde
r
commit
|
commitdiff
|
tree
2011-03-16
A
li Gholami Rudi
g
e
n
: merge decre
m
ent and check in i_memc
p
y() and
i_
m
e
mset()
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
g
en: do
n
't save va
r
iable registers
bef
o
re c
a
lls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
g
en: add
s
oftware div/mod imp
l
emen
t
ation
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Rudi
ncc
:
set O_SIGN for most binar
y
operations
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami R
u
di
ncc
:
derefer
e
nce th
e
not express
i
on of
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i
R
udi
perform sig
n
ed ope
r
ations if O_SIGNED bit
is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
cpp: def
i
ne __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc: don't
cast the re
t
ur
n
val
u
e
for
v
oid fu
n
ctions
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
g
e
n:
more compact version of memcpy()
a
nd memset(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami Rudi
gen: don't
ou
t
put relocations when o_
n
oge
n
() is called
commit
|
commitdiff
|
tree
2011-03-13
A
l
i Gholami Rudi
n
e
atc
c
arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean up the inter
f
ace between ncc
.
c, ge
n
.
c and
o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
Rudi
npp: remove comm
e
n
t
s after prep
r
oce
s
sing
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gho
l
ami Ru
d
i
cpp:
don't re
m
ove non
-
macro number sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
R
udi
n
pp: allow using ne
a
tcc's preproces
s
or as
a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp:
don't skip non-eol m
a
cro
b
ackslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami Rudi
gen: fix op_r
s
() opti
m
i
z
ation f
u
nc
t
i
o
n
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gh
o
lami
Rudi
gen: use better
na
m
es for opcodes
commit
|
commitdiff
|
tree
2010-12-11
A
l
i G
h
o
l
ami Rudi
cpp: d
e
f
ine __i386__;
_
_x8
6
_64__ is no longer supported
commit
|
commitdiff
|
tree
2010-11-20
A
li Gholami Rudi
g
e
n: lo
a
d th
e
first tmp before calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali
G
holami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholam
i
Rudi
ncc: fix na
m
e->name str ini
t
ializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghol
a
mi Rudi
allo
w
extern
a
rray declarations without s
i
z
e
commit
|
commitdiff
|
tree
2010-07-29
A
li Ghola
m
i Rudi
cp
p
: include stddef
.
h
f
or
u
sing offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami
Rudi
tok: pars
e
uppercase hex nu
m
b
e
r
s
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholam
i
Rudi
ncc: fix set
t
ing F_INIT for
e
ach define
d
name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi R
u
di
c
p
p: handle nested
macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
h
olami
Rud
i
tok: don't go beyo
n
d bu
f
len for 3-char token
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
di
tab
.
h:
u
se the
s
tandard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Ru
d
i
ncc
:
fix c
a
l
l
i
n
g ts_pop() prem
a
t
u
rely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami
R
u
di
gen: ignore the sign of
the seco
n
d ope
r
and in / and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Gh
o
lami Rudi
ncc
:
fix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i R
u
di
gen: don't overwrite pushed
e
bx, es
i
and
e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
holam
i
R
u
di
gen:
c
ha
n
g
e stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami Rudi
ncc:
don't
c
hange operan
d
order for c
o
nst
ops
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
G
h
olami Rudi
gen: only
p
e
rf
o
rm c
o
nst
o
p for a
d
dres
s
es
w
hen adding
commit
|
commitdiff
|
tree
2010-07-08
Al
i
Ghol
a
mi Rudi
gen: zeroing eax doe
s
n
'
t
seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholam
i
Rudi
ncc:
f
ix ++s for po
i
nter
s
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
Ghola
m
i Rudi
ncc: fix function pointer
a
rr
a
ys
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: remove the u
n
used
c
_
o
p()
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi Rudi
gen: use t
m
p
-
>off for locals too
commit
|
commitdiff
|
tree
2010-06-28
A
li Gholam
i
Rud
i
port neat
c
c to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: func
t
ions fo
r
performing optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghol
a
mi Rud
i
g
e
n: fix
two
-
byte o
p
c
o
de bit
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
olami
R
u
d
i
g
e
n: use an int fo
r
ope
r
ators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gh
o
lami Rudi
r
eplace o_*() functio
n
s
w
i
t
h o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rud
i
add spec
i
alize
d
inc/dec operatio
n
s
commit
|
commitdiff
|
tree
2010-06-21
Ali Gh
o
lami Rudi
g
e
n:
le
t
all grps be used a
s
byte r
e
g
i
sters
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Rudi
out: don't ne
e
d MA
X
SECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
mi R
u
d
i
tab: le
t
table size b
e
H
ASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: merg
e
al
l
sections i
n
to one
text sec
t
ion
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami Rudi
c
p
p
:
reset arg co
u
n
t on macro redefinition
commit
|
commitdiff
|
tree
next