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: always initialize output filename
2011-05-08
Al
i
Ghola
m
i
R
u
di
n
c
c: alway
s
ini
t
ialize output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
am
i
Rudi
READM
E
: ig
n
ored keywords are now
built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi Rudi
n
cc
:
support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami Rudi
ncc: ha
n
d
l
e extern
f
uncti
o
n declarations inside
f
unc
t
ions
commit
|
commitdiff
|
tree
2011-05-06
A
li Gholam
i
Rudi
ncc:
handle extern
v
ariable declarations inside functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami Rudi
ncc:
m
ove macros lik
e
__STDC
_
_
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rud
i
t
o
k: handle //
comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
nc
c
: ignore th
e
k
e
yw
o
rds neatcc doesn't ca
r
e about
commit
|
commitdiff
|
tree
2011-05-01
A
l
i Gh
o
lami
Ru
d
i
gen: reset last_cmp in i_
p
rolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
udi
gen: back-por
t
cmp+b
c
c
o
pt
i
mization ag
a
i
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: m
o
v
e
opcodes t
o
arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
gen
:
renam
e
FORK_REG to REG_FO
R
K
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami Rudi
gen: pass only O_* c
o
nstants
t
o
i_*() func
t
ion
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Ru
d
i
gen: handle
s
ym+off f
u
nction c
a
l
ls
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami R
u
di
gen
:
move architectu
r
e-
s
pecific functions to
t
he end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghola
m
i R
u
di
gen: use i_set() in i_ln
o
t()
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Gholami Rudi
gen:
pas
s
the num
b
er of arguments to o
_
func_be
g
(
)
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
h
olami Rudi
gen: enco
d
e 0
x
f
0000000 as an im
m
edi
a
te
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
ami Rudi
gen: swap the
im
m
edi
a
te i
f
n
e
e
d
e
d for == and
!
=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: e
n
code cmp+imm
e
d
i
ate inst
r
u
c
t
ions
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gho
l
ami
Ru
d
i
ge
n
: put
t
he immediate in the opcod
e
if poss
i
b
l
e
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Ru
d
i
g
en: rem
o
ve cmp+branch op
t
i
m
izat
i
o
n; m
o
v
e
d to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi Rudi
c
p
p
:
h
andle fu
n
ction macros with no argume
n
ts
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
g
en: rename dat_bss
(
) and da
t
_da
t
(
)
to
b
e
gin with
o
_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: group functions in
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
gen: reset last_set after cmp+b optimiz
a
tio
n
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
gen:
f
ix ~ oper
a
tor imp
l
ementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Ru
d
i
nc
c
:
derefere
n
ce functi
o
n
pointers like any other varia
b
l
e
s
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
g
e
n: don't remove
t
h
e
l
a
s
t return jump
commit
|
commitdiff
|
tree
2011-03-27
A
li
Gholami Rudi
gen: don't l
e
t
o
_
c
ast() cha
n
ge dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami Rudi
ncc: u
s
e t
o
k_jmp() instead
of tok_(se
e
|get)()
i
n
enum_
c
r
e
ate()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen: handle
large offs
e
ts
f
or s
t
r
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
gen: replace T
M
P
_
REG* macr
o
s
w
ith reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rud
i
gen: change o_nogen()/o_dogen() t
o
be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
R
udi
gen
:
do
n
't generate
e
xcess jumps fo
r
the last retu
r
n
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
R
udi
g
e
n:
d
on't add dup
l
i
cate data t
o
number pool
commit
|
commitdiff
|
tree
2011-03-20
A
li Gholami Rudi
gen: cal
l
t
m
p_to() i
n
f
or loading rhs i
n
o_a
s
s
i
ng()
commit
|
commitdiff
|
tree
2011-03-20
A
li
G
holam
i
Rudi
gen: ig
n
o
re O_SIGNED whe
n
checki
n
g th
e
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Ghol
a
mi Rudi
gen: fix
s
i
gned division to
n
egate the remain
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
g
e
n: merge decrem
e
n
t and
c
heck in i_memc
p
y() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
g
e
n: don
'
t save variable
registers before calls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami R
u
di
gen: add softw
a
re
d
iv/m
o
d implementation
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
ncc: set O_
S
IGN for most binary o
p
erat
i
ons
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
n
c
c: dereference the
n
o
t
e
xpres
s
ion of
c
exprs
commit
|
commitdiff
|
tree
2011-03-15
Al
i
G
holami Rudi
perf
o
rm
s
i
g
n
ed opera
t
ions if
O
_
S
I
G
NE
D
bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami R
u
di
c
pp: d
e
f
i
n
e __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lami Rudi
ncc: d
o
n
'
t cast the ret
u
r
n
v
a
lue for void functi
o
ns
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
o
lam
i
Rudi
gen: mor
e
compact ver
s
ion
o
f
m
emcpy
(
) and memse
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gh
o
lami Rudi
gen: don
'
t
o
u
tput relo
c
a
ti
o
ns w
h
en
o_n
o
gen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami R
u
d
i
neatcc ar
m
p
o
rt
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami
Rudi
clean up the interfac
e
between ncc
.
c,
gen
.
c a
n
d out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Ru
d
i
npp: remove
c
omments af
t
e
r
p
r
eprocessi
n
g
commit
|
commitdiff
|
tree
2011-02-19
A
li Gh
o
l
a
mi
Rudi
cpp: don't remove non-macro nu
m
ber
sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rud
i
npp: a
l
low using neat
c
c's p
r
eprocessor as a
standa
l
o
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
G
h
o
lami Rudi
cpp:
don't skip non-eol
m
acro backslashe
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami
Rudi
g
e
n: fix o
p
_rs() op
t
imiz
a
tion function
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami
R
u
di
g
en: use be
t
ter names fo
r
opcod
e
s
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
holami Rudi
c
p
p: define __i386__; __x86_64__
is no longer s
u
pported
commit
|
commitdiff
|
tree
2010-11-20
A
li Gholami Rudi
gen:
load the fi
r
st tm
p
b
efore call
i
n
g TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
l
i G
h
o
l
ami
Rudi
a
dd REA
D
ME
commit
|
commitdiff
|
tree
2010-08-13
A
li Gholami Rudi
nc
c
:
fix name->
n
ame st
r
initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghola
m
i Rudi
allow extern array dec
l
arations
w
ithout
s
ize
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
c
p
p: incl
u
de stddef
.
h f
o
r
us
i
ng
offseto
f
()
commit
|
commitdiff
|
tree
2010-07-28
Ali
G
holami Ru
d
i
to
k
: parse upper
c
ase h
e
x numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
Gholami
R
udi
ncc
:
fix set
t
ing F_INIT for each defined n
a
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp: handle n
e
sted
macro ca
l
ls like M(
M
(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
u
d
i
tok: don't go bey
o
n
d
buf len for 3
-
char
tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gho
l
ami Rudi
t
ab
.
h: us
e
the
s
tandard offs
e
tof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
h
olam
i
Rud
i
ncc: fix calling ts_pop() prematurel
y
in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
gen: ig
n
ore the sign of
the se
c
on
d
operand in / and
%
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Gholami Rudi
n
c
c
:
fix & and
*
on
f
u
n
cti
o
ns
commit
|
commitdiff
|
tree
2010-07-09
A
li Gho
l
ami Rudi
gen: don't overwrite pushed
ebx, esi an
d
edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
Rudi
gen: chan
g
e stack
a
lignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
Ru
d
i
ncc: don't c
h
ange operand
o
rder for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i Ru
d
i
g
e
n
: only
p
e
rform const op for
a
ddress
e
s
when
adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
ge
n
:
z
eroing eax do
e
sn't see
m
nec
e
s
s
ary
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Rudi
ncc: fix ++s for p
o
in
t
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rud
i
ncc: fix func
t
i
o
n pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
Gholami Rudi
gen: remov
e
the unuse
d
c_op()
commit
|
commitdiff
|
tree
2010-06-30
A
li Ghola
m
i Rudi
gen: u
s
e
t
m
p
->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Al
i
Gh
o
lami Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: functions for perfor
m
i
ng optim
i
zed ops
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
olami Rudi
g
en: fix two-byte o
p
c
o
d
e
bit
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholam
i
Rudi
gen: use an int for operator
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
replace o_*() functions with
o_bop()
and o_
u
op()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholam
i
Rudi
add
specialized inc/dec op
e
rations
commit
|
commitdiff
|
tree
2010-06-21
A
li Gholami Rudi
gen: l
e
t a
l
l grps be
u
sed as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
a
m
i Rudi
out: d
o
n't need M
A
XSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
h
o
lami Rud
i
t
ab
:
l
et ta
b
le size b
e
HASHITE
M
S
commit
|
commitdiff
|
tree
2010-06-20
Al
i
G
h
olami Rudi
o
u
t: merge all
s
ections into one text section
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami
Rud
i
cpp: reset
a
rg
c
o
unt
o
n macro red
e
finition
commit
|
commitdiff
|
tree
2010-06-19
Al
i
Gholami Rud
i
out: mak
e
neat
c
c
w
ork wit
h
gn
u
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
gen
:
handle char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: align structs based on
t
he first field
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ol
a
m
i
Rudi
mov macro
hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami R
u
di
g
e
n:
handle un
s
igned -
>
long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rud
i
cpp
:
save macro name
s
in a has
h
table
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
ola
m
i Rudi
n
c
c
: divide (ptr -
p
tr) result only if
s
ize >
1
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rud
i
gen: use movsxd only when src is sig
n
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
to
k
:
0
x
1
should be un
s
i
g
ned
commit
|
commitdiff
|
tree
next