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
README: ignored keywords are now built into ncc.c
2011-05-08
Ali G
h
o
la
m
i R
u
d
i
README
:
ignored
keywords are now buil
t
i
nto nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: sup
p
o
rt -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami Rudi
n
cc: handl
e
extern
funct
i
on d
e
clar
a
tions inside functions
commit
|
commitdiff
|
tree
2011-05-06
A
li Gholami R
u
di
ncc: h
a
ndle ext
e
rn variable
d
e
c
lara
t
i
o
ns in
s
id
e
funct
i
ons
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholam
i
Rudi
nc
c
: move macro
s
lik
e
__
S
TDC_
_
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholam
i
Rudi
tok: handle // co
m
ment
s
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Ghola
m
i
Rud
i
ncc: ig
n
ore
t
he keywords neatcc
doesn't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rudi
gen: reset last_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami Rudi
gen: back-po
r
t cmp+bcc
optimization
a
gain
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen: move opcodes to arch s
e
c
t
i
o
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
ge
n
: rena
m
e
FORK
_
RE
G
t
o
REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
o
la
m
i Rudi
gen
:
pass only O_
*
cons
t
ants to i_*
(
) functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami Rudi
gen:
h
andle sym+off function
cal
l
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
gen: mov
e
architecture-speci
f
ic functions to
t
he e
n
d
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i
Ghol
a
mi
R
udi
ge
n
: use i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
A
li G
h
olam
i
Rud
i
gen: pass the
n
umber of
ar
g
u
m
ents to o_
f
unc_b
e
g()
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
o
l
ami Rudi
gen
:
e
nc
o
de 0xf0000000 as
an immediate
commit
|
commitdiff
|
tree
2011-03-31
A
li Gho
l
a
m
i Rudi
gen: swap the imme
d
iate if needed for
=
= and
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
gen: enc
o
de cmp+
i
m
m
edi
a
te ins
t
ructions
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
hola
m
i Rudi
gen:
p
ut the immediat
e
i
n
the
opcode
i
f
possib
l
e
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
ami Rudi
gen
:
re
m
ove cmp+branch optimization
;
m
oved
to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Ru
d
i
cpp: handle function macros wit
h
no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
a
m
i
R
u
d
i
gen: rename
dat_
b
ss
(
) and dat_dat() to begin with
o_
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholami
R
u
d
i
g
en
:
group functions in g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami
Rud
i
gen: reset last_set after
c
mp+b opt
i
mization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: fix ~ operator implementation
commit
|
commitdiff
|
tree
2011-03-27
A
l
i
Gh
o
la
m
i Ru
d
i
ncc: derefer
e
nce fun
c
tion
p
ointe
r
s like
any other
v
ariables
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami R
u
di
gen:
don
'
t
r
e
move the
l
a
st re
t
urn
jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholam
i
Rudi
gen:
don't let o_ca
s
t()
change derefer
e
nc
e
d type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
n
cc: use tok_jmp() instea
d
of tok_(se
e
|get)() in enum_c
r
eate()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami Rudi
gen: hand
l
e lar
g
e offsets
f
or
s
tr
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi Rudi
g
e
n:
r
epl
a
ce TMP
_
REG* macros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
ol
a
mi Rudi
gen
:
change o
_
no
g
en()/o_do
g
en()
t
o
b
e
r
ecursi
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't
genera
t
e e
x
c
ess jumps for the last r
e
turn
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
ami Rudi
g
e
n
:
don'
t
add du
p
licate data
to nu
m
ber
p
ool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami Rudi
gen: ca
l
l
t
mp_to() in for lo
a
din
g
rhs in
o
_
a
ssing()
commit
|
commitdiff
|
tree
2011-03-20
A
li Gholami Rudi
g
en: ign
o
re O_SIGNE
D
when checking th
e
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Ghola
m
i Rudi
gen: fi
x
signed divisio
n
to n
e
gat
e
t
he remaind
e
r
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gholami Rudi
gen:
m
erge
decreme
n
t an
d
c
h
eck in i_memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
ola
m
i Rudi
gen: don't s
a
ve variable register
s
before cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
g
e
n
:
add software div/
m
o
d
implement
a
tion
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
ncc: set O_SIGN for
most binary operati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Ru
d
i
n
c
c
: dereference the not
e
xpr
e
ssi
o
n of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perf
o
rm signed operations if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
cpp:
define __
a
rm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
n
cc: don't cast the return value for void
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: m
o
r
e compac
t
versio
n
o
f
m
e
mcpy() a
n
d mem
s
e
t
()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rud
i
gen: don't output relo
c
a
tions when o_
n
ogen() i
s
c
a
lled
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
n
e
a
tcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Ru
d
i
clean
up th
e
interface between ncc
.
c, gen
.
c a
n
d o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Ghol
a
mi Rudi
n
p
p: remov
e
comments a
f
ter preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
hola
m
i Ru
d
i
cp
p
: don'
t
remove non-
m
acro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rudi
npp: allow using neatcc'
s
p
r
eprocessor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami
R
udi
c
pp
:
don't sk
i
p
non-eol macro backslash
e
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami
Rud
i
gen: fix op_r
s
(
)
optimization
f
unct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali
Ghola
m
i Ru
d
i
gen:
u
s
e better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghola
m
i Rudi
cpp: define __i38
6
__; _
_
x86_64__ is n
o
longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali G
h
olami Rud
i
gen: load
the first tmp b
e
for
e
calling TMP_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
A
li Gho
l
ami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
lam
i
Rudi
nc
c
:
fix n
a
me->name str initializer
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gh
o
lam
i
R
u
di
allo
w
exter
n
arr
a
y declara
t
ions without
s
ize
commit
|
commitdiff
|
tree
2010-07-29
Al
i
Gholami Rudi
cpp: include stdde
f
.
h for using offseto
f
()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
to
k
: par
s
e upperc
a
se hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gho
l
ami Rudi
n
c
c: fix setting F_INIT for eac
h
defined name
commit
|
commitdiff
|
tree
2010-07-14
Al
i
G
holami Rudi
c
pp: ha
n
dl
e
n
ested m
a
cr
o
cal
l
s
like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok
:
don't go beyond b
u
f len for 3-char t
o
ke
n
s
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Ghol
a
mi R
u
d
i
tab
.
h:
u
se th
e
standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gholami Rudi
ncc
:
f
i
x calling ts
_
po
p
()
prematurel
y
in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
g
e
n
:
ignore the s
i
g
n
of the second operand in /
and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: fix & and *
on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi Rudi
g
e
n:
don't overwrite p
u
shed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: change st
a
ck alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
Rudi
ncc: d
o
n
't change
operand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami
Rudi
gen: only perform
const op for a
d
dr
e
s
ses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
hola
m
i Rudi
gen: ze
r
oing eax doesn't see
m
necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Rudi
ncc: fix +
+
s
f
or pointer
s
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gh
o
l
am
i
R
u
di
ncc: fix function point
e
r arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
la
m
i Rudi
g
en: remove th
e
u
nuse
d
c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
holami Rudi
gen: use tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Al
i
Gh
o
l
ami Rudi
port
n
e
atcc t
o
x8
6
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
gen:
f
unct
i
ons for performing optimize
d
o
p
s
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
olami R
u
di
gen: fi
x
two-byte opc
o
de
b
it
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use an int fo
r
oper
a
to
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gh
o
lami
R
udi
replace o
_
*(
)
f
u
nct
i
ons with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
l
i
Ghol
a
mi Ru
d
i
add specialized inc/
d
ec operations
commit
|
commitdiff
|
tree
2010-06-21
A
l
i
G
hola
m
i Rud
i
gen: let all grps b
e
u
sed a
s
b
y
te registers
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
o
l
ami Rudi
out:
d
on't need MA
X
SECS anymore
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami Rudi
tab: let
ta
b
le size
b
e HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
out: merge all
s
ections into one text section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Ru
d
i
cpp: reset a
r
g count on macro redefi
n
ition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholam
i
Rudi
out: make
n
ea
t
cc
wo
r
k with gnu
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rud
i
gen: handle char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
ncc: ali
g
n structs based on
th
e
first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
mov macro hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Ru
d
i
gen:
h
a
nd
l
e un
s
i
gned -> l
o
ng cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
c
pp: save macro n
a
m
es in
a
ha
s
h ta
b
l
e
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: divide (ptr
-
ptr) re
s
ult only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen:
u
se mo
v
sxd only
when src is signed
commit
|
commitdiff
|
tree
2010-06-18
A
li Ghola
m
i Rudi
tok: 0x1 should be
unsi
g
n
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
o
lam
i
R
ud
i
gen: fix
the
c
on
d
itions fo
r
mov
x
x op
e
rations
commit
|
commitdiff
|
tree
next