repo.or.cz
/
neatcc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
ncc: handle switch stmt where default label appears first
2011-06-04
Al
i
Gholam
i
Rudi
ncc: handle
s
witch
stmt where
d
e
fa
u
lt label a
p
p
e
a
rs
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali G
h
o
l
ami Rudi
ncc:
d
on't overwrite glob
a
l names by static fu
n
ct
i
on
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali
Ghol
a
m
i
R
udi
cpp: fix
handling
c
o
mme
n
ts and
strin
g
s in
s
ide macros
commit
|
commitdiff
|
tree
2011-05-24
A
li Gholami
Rudi
ncc
:
ha
n
dle empty st
a
t
ic in
i
t
ializers
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Ru
d
i
c
p
p: ignore commen
t
s inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
R
udi
n
eatcc:
add a ncc invoca
t
ion scrip
t
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
more
v
e
rbose error messages for missing files
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
cp
p
: don't search
/
usr/include for h
e
aders by def
a
ult
commit
|
commitdiff
|
tree
2011-05-22
Ali
Gholami Rud
i
cp
p
: me
r
ge cu
r
++
'
s
i
n readarg()
commit
|
commitdiff
|
tree
2011-05-22
Al
i
Gholami Rudi
gen:
fix reg_fortmp() indentat
i
on
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handle overlappi
n
g conditiona
l
expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
n
c
c:
h
and
l
e sizeof
x
+
2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gh
o
lami
Rudi
ncc: ma
k
e sure t->addr == 0
b
e
fore
c
alling
o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc: ignore th
e
semic
o
lon
after do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
n
cc
:
s
w
i
tch
d
efault lab
e
ls when not appearing at
the end
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rudi
ncc: opass
i
gn
s
hould us
e
the tim
e
o
f
lh
s
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lam
i
R
u
di
nc
c
: move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
l
ami Rudi
ncc: always initialize out
p
ut f
i
lename
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholam
i
Rudi
README: ignor
e
d
keywords are now bui
l
t into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olam
i
Rudi
ncc: support
-o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: han
d
le extern funct
i
o
n
declarat
i
ons ins
i
de func
t
io
n
s
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Rudi
n
c
c: handle extern variabl
e
declarations inside functio
n
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholam
i
Rudi
ncc: move macros lik
e
_
_STDC__ to n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i G
h
ola
m
i
Rudi
tok: handle // c
o
mme
n
ts
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami Rud
i
ncc: ignore t
h
e
k
eyw
o
rds neatcc does
n
't c
a
r
e
about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gh
o
lami
R
udi
gen: reset last_
c
mp in i
_
prol
o
g()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Rudi
g
e
n:
bac
k
-
p
ort cmp+
b
cc optimizatio
n
again
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami Rudi
g
en: move opcodes to a
r
ch
section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
u
d
i
ge
n
: rena
m
e FORK_REG
to REG
_
FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Al
i
G
h
olami
R
udi
gen: pass only O_* constants to i_
*
()
functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Ru
d
i
gen: han
d
le sy
m
+
o
ff
f
u
n
c
t
i
o
n
calls
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
ol
a
mi Rudi
gen: mov
e
architectur
e
-sp
e
ci
f
ic functions
t
o
t
he end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
li Gholami Rudi
g
en: use i_se
t
() in
i_lnot(
)
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami R
u
d
i
gen
:
p
a
s
s the num
b
er of argumen
t
s
to o_f
u
nc_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
udi
gen: encode
0
x
f
0000000 as a
n
i
m
media
t
e
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gho
l
ami Rudi
gen: swap
t
h
e
i
m
mediat
e
if need
e
d for
== and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
hol
a
mi
R
u
di
g
e
n:
e
n
co
d
e cmp+immed
i
ate in
s
tructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
p
ut the immediate
i
n
t
he opc
o
de if possible
commit
|
commitdiff
|
tree
2011-03-30
A
l
i
G
holami Rudi
gen: re
m
ove cmp+branch optimization; moved to o
p
t branch
commit
|
commitdiff
|
tree
2011-03-30
Al
i
G
h
olami
R
udi
cpp:
h
andl
e
function
m
acros with n
o
ar
g
uments
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
gen: rename
dat_b
s
s() and
d
at_
d
at() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
a
mi Rudi
gen
:
group
functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
o
l
ami
Rudi
gen
:
re
s
et last_s
e
t
aft
e
r
cmp+b o
p
t
i
mizatio
n
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
holami Rudi
g
en: fix ~ operator
impleme
n
tation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
nc
c
: dere
f
erence func
t
ion p
o
int
e
rs like
a
n
y
other variab
l
e
s
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
o
lami
Ru
d
i
gen: don't
r
emove th
e
last return
jump
commit
|
commitdiff
|
tree
2011-03-27
A
l
i
G
h
ol
a
mi Ru
d
i
gen:
d
on't le
t
o
_
ca
s
t
(
)
change
d
ereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Ghol
a
mi Rudi
ncc: us
e
t
o
k_jmp()
i
n
st
e
ad of tok_(see|
g
et)() in
enum
_
c
r
ea
t
e
(
)
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
g
e
n
:
han
d
le
large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen: replace TMP_REG
*
macros with reg
_
fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
R
udi
g
e
n:
c
hange o_nogen()/o_do
g
en()
to be recur
s
i
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't gene
r
ate
e
x
cess jumps for the
last re
t
urn
commit
|
commitdiff
|
tree
2011-03-23
A
li Gho
l
ami
R
udi
gen: don't add
dupl
i
cate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
g
en: call tm
p
_
to() in for loading
r
h
s i
n
o_
a
s
sing(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: ignore O
_
SIGNED when chec
k
ing the opco
d
e
commit
|
commitdiff
|
tree
2011-03-17
Ali
Gholami
R
udi
gen: fix sig
n
e
d divisio
n
t
o negate
the rema
i
nder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami R
u
di
gen: merge decrement and che
c
k
i
n i_
m
e
mcpy() and
i
_
m
emset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
g
e
n
:
don't save variable regist
e
rs before calls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i G
h
olami Rudi
ge
n
: add software div
/
mod implementation
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
G
h
ol
a
mi
R
u
d
i
ncc: set
O
_SIGN for
m
ost bi
n
a
r
y operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
ncc: derefe
r
ence
t
he not expression of
cexpr
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
a
m
i
R
u
d
i
p
e
rf
o
r
m
signed operations if O_S
I
GNED b
i
t
i
s set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
G
holami Ru
d
i
cp
p
: define _
_
arm__
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami
R
udi
ncc: do
n
't cast t
h
e re
t
u
rn value for void funct
i
ons
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami Rudi
gen: more compact versio
n
of memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami
R
udi
ge
n
: don't
output relocations
w
hen o_nog
e
n() is call
e
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
nea
t
cc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gho
l
ami Rudi
clean up the i
n
terfac
e
betwe
e
n ncc
.
c,
g
en
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
a
mi Rudi
npp: remove comme
n
ts aft
e
r
prep
r
ocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
c
p
p:
d
on't remove non
-
m
a
c
ro numb
e
r sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rudi
n
p
p:
allow using
n
eatcc's
p
r
e
processor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp: don't s
k
ip non-eol
m
acro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Ghol
a
mi Rudi
gen: fix op_rs() o
p
timizat
i
on f
u
nction
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
R
u
di
gen
:
u
s
e better n
a
mes for
opcodes
commit
|
commitdiff
|
tree
2010-12-11
A
l
i Gholami
R
udi
c
p
p
:
define __
i
386__; __x86_64__
i
s no long
e
r
s
uppor
t
ed
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
g
en
:
loa
d
the firs
t
tmp bef
o
re
c
alling
T
MP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
l
i
Gh
o
lami Rudi
a
dd
RE
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc
:
fix na
m
e->name
str initialize
r
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami
R
udi
al
l
ow
extern arra
y
declarations witho
u
t
siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali G
h
olami R
u
di
cpp: include stddef
.
h f
o
r
u
sing offse
t
of()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i
Ghola
m
i Rudi
tok:
parse upperc
a
se h
e
x numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholam
i
R
udi
n
cc: fi
x
setting F_INIT for each defi
n
e
d name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami Rud
i
cpp: handle nested
m
acr
o
ca
l
ls
l
i
k
e M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Ru
d
i
tok: don't go beyond buf len fo
r
3-char t
o
kens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rud
i
tab
.
h: use the
standa
r
d offse
t
o
f
()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Gholami Rudi
ncc: f
i
x
calling ts
_
p
o
p
(
) pre
m
aturely in opassi
g
n()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholam
i
Rudi
gen: ign
o
re the s
i
g
n of the sec
o
nd operand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc:
f
ix & and * on functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
Rudi
gen: don't over
w
rite pushed
e
bx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami R
u
d
i
gen:
change stack alignment
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rudi
ncc:
d
on't change operand o
r
der
for const ops
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami Rudi
gen
:
only perform const op fo
r
address
e
s when
a
dding
commit
|
commitdiff
|
tree
2010-07-08
A
l
i Gholami R
u
di
gen: zeroing eax doesn't s
e
e
m
n
e
c
e
ssary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami R
u
di
n
c
c: fix ++s for poin
t
ers
commit
|
commitdiff
|
tree
2010-06-30
A
l
i G
h
olami Rudi
ncc: fix func
t
ion point
e
r
a
rrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami Rudi
gen: remove the
unus
e
d c_
o
p()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ge
n
: use tmp->off
f
or locals too
commit
|
commitdiff
|
tree
2010-06-28
A
l
i G
h
olami Rudi
port n
e
atcc t
o
x86
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
gen: fun
c
tions fo
r
p
e
rforming opt
i
m
i
zed ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
ge
n
: fix two-byte opcode bit
commit
|
commitdiff
|
tree
next