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
ncc: switch default labels when not appearing at the end
2011-05-09
A
li Gholami Rudi
nc
c
:
switch default
l
abels wh
e
n not appearin
g
a
t
t
he end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
a
m
i Rudi
ncc
:
opas
s
ign should us
e
th
e
time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
n
c
c: move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami
Rud
i
nc
c
:
always initi
a
lize output filena
m
e
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
R
EADME:
ignored
k
eywords are now b
u
ilt into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
o
l
a
m
i
R
udi
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
ncc: h
a
ndle ext
e
r
n
f
u
nction d
e
clar
a
tions inside
functio
n
s
commit
|
commitdiff
|
tree
2011-05-06
Ali
G
h
olami Rudi
ncc: handle e
x
tern variable decl
a
rat
i
ons in
s
ide functi
o
ns
commit
|
commitdiff
|
tree
2011-05-04
A
li Gholami Rudi
ncc: move macros lik
e
_
_ST
D
C__
to nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Ru
d
i
tok
:
hand
l
e
/
/
c
o
mments
commit
|
commitdiff
|
tree
2011-05-04
A
li Gholami
Rudi
nc
c
: ignore the keywor
d
s neatcc
d
oesn't car
e
about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rud
i
g
en: reset last_cmp in i
_
p
r
olog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen: back-port cmp+bcc o
p
timiz
a
tion agai
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi R
u
di
gen:
move op
c
odes
to arch secti
o
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i Rudi
gen: rename
FO
R
K
_
REG to R
E
G_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
ge
n
: pass o
n
ly O
_
*
c
onst
a
nts t
o
i_*() f
u
nctions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
e
n
: ha
n
dle sym+off functi
o
n
c
alls
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gh
o
lami R
u
di
g
en: move arch
i
tecture-sp
e
cific
f
u
n
c
tions
t
o
the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
holami Ru
d
i
gen: use
i_set()
i
n
i
_
l
not
(
)
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: pass the number of arguments to o_func_
b
eg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami R
u
d
i
g
en:
e
ncode
0xf0000000 as an
i
m
m
edia
t
e
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami Rudi
g
en: swap the immediate if
neede
d
f
or == and !=
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rudi
g
en: encode
c
mp+immediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami Ru
d
i
gen:
p
ut th
e
imm
e
diate in the opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
A
li Gholami
R
u
d
i
g
e
n: remove cmp
+
branch
o
ptimi
z
ati
o
n; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
A
l
i Gholami Rudi
cpp: handle fu
n
ction macro
s
wit
h
no arg
u
men
t
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
ge
n
: rename
d
a
t_
b
ss() and dat_dat() to b
e
gi
n
with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rudi
gen
:
g
r
oup fu
n
ctions
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami Rud
i
gen: reset last_set af
t
er cmp+b
optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen
:
fix ~
op
e
rator
i
mplementation
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holam
i
Rudi
ncc: derefer
e
nce function point
e
rs like any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen:
d
on't remove
t
he last retu
r
n jump
commit
|
commitdiff
|
tree
2011-03-27
A
l
i G
h
olami Rudi
gen: don'
t
l
et o_c
a
s
t
() change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholam
i
Rudi
ncc: use tok_j
m
p()
i
nstead
o
f
t
ok_(see|get)() in en
u
m
_
create()
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami
R
u
di
gen: handle
l
arge of
f
sets f
o
r str
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holami Rudi
gen
:
repl
a
ce TMP_REG* macros with reg
_
for
t
m
p
()
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
gen:
chang
e
o_no
g
en()/o
_
dogen()
t
o
be recursi
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holami Rudi
gen: don
'
t gene
r
ate ex
c
ess jumps f
o
r
t
h
e l
a
s
t
return
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olami Rudi
gen: don'
t
a
d
d dup
l
icate data to number
p
o
ol
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghol
a
mi Rudi
gen: c
a
ll tmp_to() in for load
i
n
g
rhs in
o
_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
ge
n
: i
g
nore O_SIGNED
when ch
e
cking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami R
u
d
i
g
e
n
: fix sign
e
d div
i
si
o
n
t
o
n
egate the rema
i
nder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami
R
udi
gen: merge d
e
creme
n
t and check i
n
i_memcp
y
()
a
n
d i_memset
(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
gen: don't save
v
ar
i
able regi
s
ters before calls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami
R
u
d
i
gen: add
s
oftw
a
re div/
m
od implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
n
cc: se
t
O
_S
I
GN for most bin
a
ry ope
r
ati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
ncc: dereference the
n
ot expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
perf
o
rm signed
o
perations
i
f O_
S
IGN
E
D
bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi Rud
i
ncc:
don't cast the retu
r
n value
f
or void functio
n
s
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: mor
e
compact
v
ersion o
f
memcpy(
)
a
n
d memset()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Ghol
a
mi
Rudi
gen
:
don't
output
r
elocations whe
n
o_no
g
e
n() is
called
commit
|
commitdiff
|
tree
2011-03-13
Ali G
h
olami Rudi
ne
a
tcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali
G
ho
l
ami
R
udi
c
lean up the inter
f
ace between
n
c
c
.
c, gen
.
c and
o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lam
i
Rudi
npp: remove c
o
mment
s
after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
R
udi
cpp
:
don't remove non-
m
acro nu
m
b
e
r s
i
g
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Rudi
npp: allow using neatcc's preprocessor a
s
a
s
tandalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li Ghola
m
i Rudi
cp
p
: don'
t
skip n
o
n-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: fi
x
o
p
_rs() opti
m
ization func
t
ion
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: use
b
e
tter
names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Gholami Rudi
cpp: define __i38
6
__; __
x
86_64__ is no long
e
r sup
p
ort
e
d
commit
|
commitdiff
|
tree
2010-11-20
Ali G
h
olami Rudi
ge
n
:
l
o
ad the first tmp before c
a
lli
n
g
T
MP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
li Ghola
m
i
R
udi
add R
E
ADME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
Rudi
nc
c
: fix nam
e
->n
a
me str ini
t
ializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow extern array declar
a
tions
with
o
ut siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali
Gho
l
ami Rudi
cpp:
include stddef
.
h
for
u
si
n
g
of
f
se
t
of()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gho
l
ami Rudi
to
k
: parse uppercas
e
hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
Gholami Rudi
ncc: fix s
e
tting F_INIT for
each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
o
l
ami Ru
d
i
cpp: h
a
n
d
le nest
e
d mac
r
o
c
alls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
di
tok:
don't
go bey
o
nd b
u
f
len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
ta
b
.
h
: use th
e
sta
n
dard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholami Ru
d
i
ncc: f
i
x calling
t
s_p
o
p()
premat
u
rel
y
in op
a
ssign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gh
o
lami Ru
d
i
g
e
n:
ignore th
e
sig
n
of t
h
e se
c
ond ope
r
and in / and
%
commit
|
commitdiff
|
tree
2010-07-10
A
l
i Gholami
Rudi
nc
c
: fix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
holami Rudi
gen: d
o
n'
t
o
verw
r
ite
p
ush
e
d eb
x
, esi
a
nd ed
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: change stack alig
n
m
e
nt to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rudi
ncc:
d
on't change operand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami
R
u
d
i
gen: onl
y
perform co
n
st
o
p
for addresses
when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Ghola
m
i Rudi
gen
:
zer
o
ing e
a
x
doesn't seem ne
c
e
ssary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
l
ami
R
ud
i
ncc
:
fix ++s for poin
t
ers
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i R
u
di
ncc: fix functio
n
pointer
a
rra
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Rudi
g
en: remove the unuse
d
c_op(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i
R
ud
i
g
e
n
:
u
se tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
A
l
i
Gho
l
a
m
i
Rud
i
port ne
a
tc
c
to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i
R
ud
i
gen: fu
n
cti
o
ns for
p
er
f
orming
optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami
Rudi
g
e
n: fix two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: us
e
an int f
o
r operator
s
commit
|
commitdiff
|
tree
2010-06-23
Ali
Gholam
i
R
u
di
replace o_*() functi
o
ns
with o_bo
p
() and o_uop
(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali G
h
o
l
ami Rudi
add sp
e
cializ
e
d inc
/
dec operatio
n
s
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
gen: let all g
r
p
s
be us
e
d as b
y
te register
s
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Rudi
out
:
don
'
t
need MAXSECS anym
o
re
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
tab: let
t
ab
l
e
size
be HASH
I
TEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami Rudi
out: merge all sections into one
tex
t
section
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami
Rudi
c
pp: reset arg
coun
t
on
macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out: ma
k
e neatcc
w
ork with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami R
u
di
gen: handle
c
ha
r
argumen
t
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
ncc: align struc
t
s based on the first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
mov macro hash table to
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami
Rudi
gen: ha
n
d
l
e
unsigne
d
-> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
cpp
:
save macro n
a
mes in
a
hash table
commit
|
commitdiff
|
tree
next