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
Makefile: default to x86 build
2011-11-08
Ali Gh
o
lami Rudi
Ma
k
e
f
ile: default to x86 b
u
ild
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
Rudi
ncc: define
__i386__ for x86 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholam
i
R
u
di
m
e
rge the
x
8
6 port to master br
a
nch
commit
|
commitdiff
|
tree
2011-10-17
A
l
i G
h
olami Rudi
ncc: b
e
tter
char array initializati
o
n
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
out: assure 8-byt
e
alignment of data and bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali
Gho
l
ami
Rudi
t
ab: fix
tab_
d
el(); ot
h
erwis
e
#u
n
def w
o
n't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami
Rudi
ncc: call ts_
d
e() in ts_p
o
p_de(
)
commit
|
commitdiff
|
tree
2011-06-04
A
l
i
Gholami R
u
di
nc
c
: hand
l
e switch stmt w
h
e
r
e default label appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gh
o
lami
R
u
d
i
ncc:
d
on't overwrite globa
l
n
ames by
s
tatic func
t
ion
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Al
i
Gholami R
u
di
cpp: fix handling comments and strings
inside macros
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Gholami Rudi
n
c
c: han
d
l
e empty static
initi
a
l
izers
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
cpp: ign
o
re comme
n
ts inside s
t
ri
n
g
macros
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Gholami Rudi
neatcc: add a ncc invocation script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
lami Rudi
m
ore verbose erro
r
messages for
m
issing files
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gho
l
ami Rudi
cpp: don't sear
c
h /usr/include
for headers by def
a
ult
commit
|
commitdiff
|
tree
2011-05-22
Ali
Gholami Rudi
cpp: me
r
ge cur++'s
in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Al
i
Gholami Rudi
gen: fix reg_for
t
m
p
() indentation
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
h
olami Rudi
ncc: handl
e
ov
e
rlapping conditional expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handle
s
i
zeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
Gholami Rud
i
ncc
:
make sure
t->addr == 0 bef
o
re cal
l
i
n
g
o
_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gh
o
lami Rudi
ncc: ignore
t
h
e
semicolon after do-wh
i
l
e
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
ncc
:
sw
i
tc
h
default labels whe
n
not ap
p
earing at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
n
c
c:
o
passi
g
n sh
o
uld use the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami Rudi
ncc:
move no
g
en to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: always initialize output filename
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
READ
M
E: ignored
k
eywords ar
e
now
built into
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
h
o
lami
Rudi
ncc
:
support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
R
u
d
i
ncc: handl
e
e
x
tern function declaration
s
i
nside
f
unct
i
o
ns
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholam
i
Rudi
ncc:
han
d
le extern varia
b
l
e
declarations i
n
sid
e
f
unctions
commit
|
commitdiff
|
tree
2011-05-04
A
li
Gholami
Rudi
nc
c
: m
o
ve macros like
_
_
STD
C
__ to
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
ol
a
mi Rudi
tok: h
a
ndl
e
// comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Ru
d
i
ncc: ig
n
ore the
keywords neatc
c
doesn't care a
b
out
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rudi
g
en: reset last_cmp in i_prol
o
g()
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
G
h
olami
Rudi
gen: b
a
ck-port cm
p
+bcc optimizat
i
on again
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gholami
Rudi
gen: move opcodes
t
o arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
ami Rudi
ge
n
: rename FORK_REG t
o
REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gh
o
lami Rudi
gen: pass only
O_* constants to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gh
o
lami Rudi
g
en: handle sym+off func
t
ion calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rudi
gen: move ar
c
hitectu
r
e
-specific func
t
io
n
s to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: use i_
s
et
(
)
i
n
i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami
R
udi
gen: pass the
number
o
f arguments to o_fu
n
c_beg(
)
commit
|
commitdiff
|
tree
2011-03-31
A
li
Gholami Rudi
ge
n
:
encode 0xf0000000 as an immedi
a
t
e
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghola
m
i
Rudi
gen:
s
wap the immediate if ne
e
ded fo
r
=
=
and
!
=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
Rudi
gen: encod
e
c
m
p+immedi
a
te i
n
struction
s
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghola
m
i
R
ud
i
g
e
n:
p
ut the
immediate in the opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen: remove
c
m
p+branch
o
p
t
imizat
i
o
n; move
d
to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
olami Rudi
cpp: handle function macr
o
s with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami Rudi
g
e
n: rename dat_bss() and dat_da
t
() to b
e
gin
with o
_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
gen
:
group functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
o
lami Rudi
gen
:
reset l
a
st_se
t
after cmp+b opti
m
ization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
ge
n
:
f
ix ~ operator implem
e
ntation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholam
i
Rudi
ncc: dereferenc
e
f
unction pointers like any othe
r
v
aria
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali Gho
l
ami
R
udi
gen: don't
r
emove the la
s
t ret
u
r
n
jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i Ru
d
i
g
e
n: don't let o_
c
a
st()
change d
e
refe
r
enced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami
R
u
di
ncc: use tok_jmp() in
s
te
a
d
o
f tok_(
s
ee|get)() in enum_cr
e
ate()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
Rudi
g
e
n: handle large offsets
f
or
s
tr
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gho
l
ami Rudi
gen: replace TMP_REG* macros with
reg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami R
u
di
g
en: change
o
_nogen()/o_dogen(
)
to be rec
u
rsiv
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholam
i
R
udi
gen: don't gene
r
ate
excess jumps f
o
r the last
re
t
urn
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holami
Rudi
g
e
n: don't add duplicate da
t
a to number poo
l
commit
|
commitdiff
|
tree
2011-03-20
Ali
Gho
l
ami Rud
i
gen: call tmp_to() i
n
for lo
a
ding
rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
A
li Ghola
m
i
Ru
d
i
gen: ig
n
ore O_SIGNED w
h
en checking the opcod
e
commit
|
commitdiff
|
tree
2011-03-17
Al
i
Gholami Rudi
gen: fix
s
i
g
ned d
i
vision
to negate the re
m
ainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Ghol
a
mi Rudi
gen: m
e
rge dec
r
emen
t
and ch
e
ck i
n
i_memcpy() and i_
m
emset()
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami Rudi
gen: don't
s
ave variable registers be
f
ore c
a
lls
commit
|
commitdiff
|
tree
2011-03-15
A
li
G
h
o
lami R
u
d
i
gen: add software div/mod im
p
l
ementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
n
cc:
se
t
O_SIGN
for most bina
r
y operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
ncc: dereference the
n
ot
expression of
c
exprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami
R
udi
perform signed operations i
f
O_SI
G
NED
bit is s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami Rud
i
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i
Rud
i
n
c
c
:
don
'
t cast t
h
e return v
a
lue for void
f
unctions
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i
R
udi
gen: mor
e
compact v
e
rs
i
o
n
o
f
memcpy()
and memset()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gholami Rud
i
g
e
n: don't
output relocation
s
when o_nogen() is
c
alled
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholam
i
Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami R
u
di
clean up
t
h
e i
n
terfa
c
e
between ncc
.
c, gen
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: remove comments after pr
e
p
r
oc
e
ssing
commit
|
commitdiff
|
tree
2011-02-19
Al
i
G
holami Rudi
cpp: don't remov
e
non-macro nu
m
ber s
i
gns
commit
|
commitdiff
|
tree
2011-02-19
A
li Gho
l
ami Rudi
npp: allow usi
n
g
n
eatcc's prep
r
ocessor a
s
a
st
a
ndalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
G
holami R
u
d
i
cpp: don't s
k
ip
n
o
n
-eol ma
c
ro bac
k
slashes
commit
|
commitdiff
|
tree
2010-12-18
A
l
i
Gholami Rudi
gen: fix op_rs(
)
optimizatio
n
function
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Ghola
m
i
Rudi
gen: use better n
a
mes for
o
pco
d
es
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholam
i
Rudi
c
p
p
: de
f
in
e
__i386__; _
_
x8
6
_64__ is no l
o
nger
s
u
p
ported
commit
|
commitdiff
|
tree
2010-11-20
A
li Gh
o
la
m
i Rudi
gen: l
o
ad the first t
m
p
before call
i
ng
T
MP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali G
h
ol
a
mi Rudi
add READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Rudi
ncc: fix
n
ame->na
m
e str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
al
l
o
w exte
r
n array declarations witho
u
t si
z
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghola
m
i Rudi
cpp: inc
l
ude stddef
.
h for using o
f
fsetof(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Ghol
a
mi Rudi
tok: parse uppercase hex nu
m
bers
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
h
o
l
am
i
R
udi
n
cc: fix setting F_IN
I
T for each
d
e
f
ined name
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
olami
R
u
di
cpp: handle
nested macro calls like M
(
M(1)
)
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gho
l
ami Ru
d
i
tok: don'
t
go b
e
yond buf len for 3-char
tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
d
i
t
a
b
.
h: u
s
e the standa
r
d offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholami
Rudi
ncc:
f
i
x
calling ts
_
pop() prematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i G
h
olami Rudi
gen: ignore the sign o
f
the
sec
o
nd operand in
/
a
n
d
%
commit
|
commitdiff
|
tree
2010-07-10
A
li Gholami Rudi
ncc: fix
& and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gh
o
lami Ru
d
i
gen: d
o
n't ov
e
rwrit
e
pushed ebx
,
esi and edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
Gh
o
l
a
mi Rudi
gen:
c
ha
n
ge st
a
ck al
i
gnment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
la
m
i
Rudi
ncc: don't change op
e
rand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
ola
m
i Rudi
gen: only per
f
orm const op for
addresses when
a
dd
i
ng
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami R
u
di
gen: zeroing eax
d
oesn't seem
ne
c
e
ss
a
ry
commit
|
commitdiff
|
tree
next