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
cpp: fix handling comments and strings inside macros
2011-05-26
Ali
Gholami Rudi
cpp: fix ha
n
dli
n
g co
m
ments a
n
d s
t
rings inside mac
r
o
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
l
a
m
i Rudi
ncc: handle empty static initializers
commit
|
commitdiff
|
tree
2011-05-24
A
l
i G
h
olami Rudi
cp
p
:
i
gno
r
e c
o
mments inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holami Rud
i
neatcc: add a ncc in
v
ocation
script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
lami Rud
i
mor
e
ver
b
ose error
m
essag
e
s for missing files
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
ami Rudi
cp
p
:
d
on't
s
earch
/
usr/in
c
l
u
de
for
h
eader
s
by default
commit
|
commitdiff
|
tree
2011-05-22
Ali Ghola
m
i
Rud
i
cpp:
merge cur++'s in read
a
rg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Ghol
a
mi
R
udi
ge
n
: fix
reg
_
fortmp(
)
indentation
commit
|
commitdiff
|
tree
2011-05-19
A
l
i Gholami R
u
d
i
ncc: handle o
v
erlapping condition
a
l ex
p
res
s
ions
commit
|
commitdiff
|
tree
2011-05-19
Ali Ghola
m
i Rudi
ncc: handle s
i
zeof x +
2
commit
|
commitdiff
|
tree
2011-05-11
Ali
Ghol
a
mi Rudi
nc
c
:
make sure t->addr == 0 b
e
fore calling o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
n
c
c: ignore the semicolon after do-whil
e
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholam
i
Rudi
ncc:
s
w
itch defaul
t
labels when not
a
ppear
i
ng
a
t th
e
end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
ncc: opassign should u
s
e the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
l
a
m
i Rudi
ncc: a
l
ways in
i
t
ialize
output filen
a
me
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
REA
D
ME: ignored
k
eyw
o
rds are no
w
b
uil
t
into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
ncc
:
support
-
o
out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: handle extern function declarations
in
s
ide f
u
nct
i
o
ns
commit
|
commitdiff
|
tree
2011-05-06
Ali Gho
l
ami Rudi
ncc: handle ex
t
ern
v
a
riable
declarations ins
i
d
e
functi
o
ns
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami
R
udi
n
c
c: move macros like __ST
D
C_
_
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
Ru
d
i
tok: handle // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc
:
i
g
no
r
e the keywo
r
ds
neatcc doesn't care
about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gho
l
ami Rudi
gen:
r
eset
l
ast_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami Rudi
g
e
n: back
-
port
c
m
p+bcc optimization again
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Rud
i
gen: move o
p
codes t
o
ar
c
h se
c
tio
n
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami Rudi
gen: re
n
am
e
FORK_REG to REG_
F
ORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
a
m
i Rudi
gen:
p
a
ss
o
nly O_* consta
n
ts
t
o i_
*
() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
gen: handle
sym+off functi
o
n calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
e
n:
m
o
v
e architectur
e
-specific functions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali G
h
olami Rudi
g
en: use i_
s
et() in i_ln
o
t()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
g
en
:
pass the n
u
mber of argumen
t
s to o_fun
c
_be
g
()
commit
|
commitdiff
|
tree
2011-03-31
A
li
G
hol
a
mi Rudi
g
en: en
c
o
de 0x
f
000
0
000 as an
i
m
m
e
diate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
la
m
i Rudi
gen: sw
a
p the immediate i
f
need
e
d fo
r
== and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali
Ghola
m
i Rudi
gen: encode cm
p
+immediate i
n
st
r
uction
s
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami
R
u
di
gen: put
the immediat
e
i
n the
opcode if po
s
sibl
e
commit
|
commitdiff
|
tree
2011-03-30
Ali Gh
o
l
ami Rudi
gen:
remove cmp+
b
r
a
nch opt
i
mization; moved to opt bra
n
ch
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
holam
i
Rudi
c
p
p:
h
andle function macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
e
n
:
rename da
t
_b
s
s() and dat_da
t
() to
begin with
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i
Rudi
gen: gro
u
p functions
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: reset last_set
after cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i Rudi
gen: fix ~ oper
a
tor impl
e
mentation
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghol
a
mi Rud
i
ncc: dereference funct
i
o
n
p
oint
e
rs
l
ike any oth
e
r varia
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami Rudi
ge
n
: d
o
n't remove
t
he
last re
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rud
i
ge
n
: d
o
n
't l
e
t o_cast(
)
chang
e
der
e
fe
r
e
n
ced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
ncc: use tok_j
m
p
()
i
ns
t
ead of tok_
(
see|get)() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rud
i
ge
n
:
ha
n
d
le large
o
ff
s
ets f
o
r str
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami Rudi
gen:
rep
l
ace
T
MP_REG* macros with reg_fort
m
p()
commit
|
commitdiff
|
tree
2011-03-23
A
li
Gholami Rudi
ge
n
: change o_
n
oge
n
()/o
_
do
g
en() to
be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olami Rudi
gen: don't gen
e
ra
t
e excess jumps for the la
s
t return
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
gen: don't a
d
d dupl
i
cate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
ol
a
m
i
Rudi
gen: ca
l
l
t
m
p
_to() in fo
r
loading rhs in o_as
s
ing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
lami
Rudi
gen: ignore O_SIGNED when checking the op
c
ode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
holami Rudi
g
e
n:
fix
s
ig
n
ed division to negat
e
the remainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gholami
R
udi
gen:
mer
g
e
d
e
creme
n
t
and check in
i
_memcpy() and i_me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
g
e
n
:
d
on't save variable regi
s
ters
b
efore calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
g
en: add software
d
iv/mod implementati
o
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
nc
c
: set O_SIGN for most binary op
e
rations
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gh
o
l
a
mi Rudi
n
cc: d
e
ref
e
renc
e
the not expression
of
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform signed operations i
f
O_S
I
GNED b
i
t is se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
c
p
p:
define __arm__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
G
holami Rudi
nc
c
: d
o
n't cast th
e
ret
u
r
n
value for void
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
g
en: more compact version
o
f m
e
mcpy() and memse
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
am
i
Rudi
gen: don't output relo
c
ations when o_nogen()
is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
lami Ru
d
i
neatc
c
arm por
t
commit
|
commitdiff
|
tree
2011-03-08
Ali G
h
olami Rudi
clean
u
p th
e
i
n
terface
between ncc
.
c
,
g
e
n
.
c and ou
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: r
e
move co
m
ments
after
p
reproce
s
sing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gh
o
lami Rudi
cpp:
d
o
n't remove non
-
macro
n
umber
s
igns
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
h
olami Ru
d
i
np
p
: allow using neatcc's pre
p
rocessor as a standalo
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li
G
h
olam
i
R
udi
cpp: don't
skip
n
on
-
eo
l
macro b
a
ckslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
ge
n
: fix o
p
_rs() optimiza
t
i
o
n
fun
c
ti
o
n
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gholami Rudi
gen: use better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
A
l
i Ghola
m
i Rudi
cpp: define
_
_i386__; _
_
x8
6
_6
4
__ is no l
o
nger
s
u
p
ported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
g
en: load the first tmp bef
o
re calling
TMP_RE
G
2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Ghola
m
i
R
ud
i
add README
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Ghola
m
i
R
ud
i
ncc: fix name->name st
r
initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Rudi
al
l
ow extern array
declara
t
ions without si
z
e
commit
|
commitdiff
|
tree
2010-07-29
A
li Gholami Rudi
cpp:
i
nclude stddef
.
h fo
r
using o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami R
u
di
tok: parse
u
pp
e
rcase hex
numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gho
l
ami Rudi
ncc:
f
ix setting F
_
INI
T
for each defined name
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami Rudi
cp
p
: handle
n
ested macro calls
li
k
e M
(
M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rudi
tok: don't
g
o
beyon
d
buf l
e
n for 3-char
t
okens
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
olami Rudi
tab
.
h
: use
t
he st
a
ndard
o
f
fs
e
tof
(
)
commit
|
commitdiff
|
tree
2010-07-12
A
li Ghol
a
m
i Rud
i
n
cc:
fix
calling ts_pop() pr
e
mat
u
rely in
opassi
g
n()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
h
o
lami Rudi
g
e
n: ig
n
o
r
e
the sign of t
h
e s
e
c
o
nd operand in /
a
nd %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
nc
c
: fi
x
& and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
Ghola
m
i
Rudi
gen
:
don't
o
verw
r
ite p
u
shed ebx, es
i
and
edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi
R
udi
g
en: change stack a
l
ignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami Rudi
ncc: don't chan
g
e operand ord
e
r for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
am
i
Rudi
gen: only per
f
or
m
const
op for add
r
es
s
es when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Ghola
m
i Rudi
gen
:
zeroing eax doesn't seem necessa
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
nc
c
:
f
i
x ++s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
nc
c
: fix fu
n
ction pointer ar
r
ays
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
g
e
n: re
m
ov
e
the unused c
_
op(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
R
u
di
gen
:
use tmp
-
>
off fo
r
lo
c
a
l
s
too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
hol
a
mi Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: functions for performing
optimi
z
ed op
s
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
o
lami Rudi
gen: fix two
-
byte
o
pco
d
e bit
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
gen: use an int for opera
t
o
r
s
commit
|
commitdiff
|
tree
2010-06-23
Al
i
Ghol
a
mi Rudi
replace o_*() fu
n
ctions w
i
th
o
_bop
(
) and o_uop()
commit
|
commitdiff
|
tree
next