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
out: add a workaround for bad linkers
2011-11-10
Ali Ghol
a
mi Rudi
ou
t
: a
d
d a w
o
rkaround for bad lin
k
e
r
s
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
R
udi
Makefile: defaul
t
to x
8
6
build
commit
|
commitdiff
|
tree
2011-11-08
A
l
i Gholami Rudi
nc
c
:
define __i386__ for x
8
6 builds
commit
|
commitdiff
|
tree
2011-11-08
A
l
i Gholami Rudi
m
e
rge the
x
86 port
to ma
s
ter branch
commit
|
commitdiff
|
tree
2011-10-17
A
l
i Gholami Rudi
ncc: better char arra
y
in
i
tialization
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
out:
a
s
s
ur
e
8-
b
yt
e
alignment
o
f data and b
s
s
sect
i
on
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholam
i
Rudi
ta
b
: f
i
x
tab_del(); otherwise #undef
w
on't
work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rud
i
nc
c
: c
a
l
l
ts_de() i
n
ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali G
h
o
l
ami Rudi
ncc: handle switch stm
t
where default label appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
ncc: d
o
n
't over
w
r
i
te globa
l
names by static
fun
c
ti
o
n
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali
G
holami Rudi
cp
p
:
f
i
x
ha
n
dling comments an
d
strings inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Rudi
ncc: hand
l
e empty
s
t
a
tic
in
i
t
i
a
li
z
e
rs
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
cp
p
:
i
g
nore comments inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gh
o
lami Rudi
ne
a
tcc: add a nc
c
i
nvocation script
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Rudi
more
verbose err
o
r
m
e
ssage
s
for missi
n
g
fi
l
es
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
c
pp: don't
s
ear
c
h /usr/i
n
clude
f
or h
e
aders
b
y
default
commit
|
commitdiff
|
tree
2011-05-22
Al
i
Gholami Rudi
cpp: merge cur++'s in
readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gh
o
l
a
mi
R
udi
gen
:
f
i
x r
e
g_fortmp() indentation
commit
|
commitdiff
|
tree
2011-05-19
A
li
Gholami Rudi
ncc: handle overlapping
c
ondit
i
onal
express
i
ons
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
nc
c
: hand
l
e siz
e
of x
+
2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Ru
d
i
ncc: make su
r
e t->
a
ddr == 0
before calling o
_
popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali G
h
olami
R
udi
ncc: ignore the semicolon
a
ft
e
r do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali G
h
ol
a
m
i
R
u
di
ncc:
s
w
itch default labels wh
e
n not appeari
n
g at t
h
e en
d
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
n
cc: opassign s
h
oul
d
u
s
e the t
i
me of l
h
s
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Ru
d
i
ncc: m
o
ve no
g
en
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
l
i G
h
o
l
a
m
i
Rudi
n
c
c
:
always in
i
tialize output fil
e
name
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami R
u
di
README: ignored keywords
a
re now
bu
i
lt into
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami R
u
d
i
ncc: support
-o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc:
h
andl
e
extern function d
e
clarations
insid
e
f
u
nctions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gho
l
ami
Rudi
n
c
c: handl
e
extern variable
d
eclaratio
n
s
in
s
i
de functions
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholam
i
Rudi
ncc:
move mac
r
os like
_
_STDC__ to
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
o
l
a
mi R
u
di
tok:
han
d
l
e
// c
o
mmen
t
s
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
holami Rudi
ncc: i
g
nore th
e
ke
y
wo
r
ds neatcc doe
s
n't care about
commit
|
commitdiff
|
tree
2011-05-01
Al
i
Ghola
m
i Rudi
g
e
n: reset
last_cmp i
n
i_p
r
olog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rudi
g
en: b
a
c
k-po
r
t cmp+bcc optimization again
commit
|
commitdiff
|
tree
2011-04-29
Al
i
G
h
o
lami Rudi
g
en: move opcodes to arch section
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami Rudi
gen: rena
m
e
FORK_REG to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
e
n: pas
s
only
O
_
*
constants to
i
_
*
() functio
n
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rud
i
gen
:
han
d
le sym+off fu
n
ction calls
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami Ru
d
i
gen: move arch
i
t
e
cture-
s
pecific functi
o
ns to the
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali G
h
olami Rudi
gen: use i_set() in i_l
n
ot()
commit
|
commitdiff
|
tree
2011-04-01
A
li G
h
olami
Rudi
gen:
p
ass the numbe
r
of argum
e
nts to o_func_be
g
()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
Ghola
m
i Rudi
gen:
e
ncod
e
0x
f
00000
0
0 as
an immedi
a
te
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami
Ru
d
i
g
e
n: swa
p
the im
m
ediate if
neede
d
for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami Rudi
gen
:
encode
cmp+immediate
i
nstructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami R
u
di
gen
:
put the immediate in the opc
o
de
if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
h
o
lami Rudi
ge
n
:
remove cmp+
b
ranch optimization; moved to opt
bran
c
h
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cp
p
:
h
andle functio
n
macros with
n
o arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
gen:
r
enam
e
dat_bss() and dat_dat() to begin
w
ith o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
ami
Ru
d
i
gen:
g
roup functions in
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rudi
gen: reset last
_
set a
f
ter
cmp+
b
o
p
timizat
i
on
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami R
u
di
gen:
f
ix
~ operator implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i
R
u
di
ncc: der
e
ferenc
e
function
p
o
i
nte
r
s like any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i Rudi
gen: d
o
n'
t
remove
t
he last
re
t
urn
j
ump
commit
|
commitdiff
|
tree
2011-03-27
Ali
Ghol
a
mi Ru
d
i
gen: don't let o_c
a
st() c
h
ange
dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami Rudi
ncc: u
s
e tok_jmp()
i
nstead of tok_
(
see|ge
t
)
() in en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
gen: handle
large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
ami
R
udi
g
en
:
r
e
pl
a
ce T
M
P_REG*
macros with
r
eg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami R
u
di
gen: cha
n
ge o_nogen
(
)
/
o_d
o
gen()
t
o be recu
r
s
i
ve
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
en: don't gene
r
ate excess jumps for the la
s
t
return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen:
d
on't add
d
u
p
licate data
to
n
umb
e
r pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: cal
l
tm
p
_to() in
for loadin
g
rhs
in o_a
s
sing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami
Rudi
gen: ignore O_SIGNED when ch
e
cking the opcode
commit
|
commitdiff
|
tree
2011-03-17
A
li Gholami Rudi
gen
:
fix s
i
gned divis
i
on to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gh
o
lami
R
udi
gen: merge decr
e
ment
a
nd
check in i_memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gh
o
lami Rudi
g
e
n: don't sav
e
variab
l
e
r
egis
t
e
r
s
be
f
o
r
e calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
g
e
n
:
add soft
w
a
r
e div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: set
O
_SIG
N
for mos
t
b
in
a
ry o
p
erations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
ncc: de
r
eference the not expression of cexp
r
s
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gho
l
a
mi Rudi
perform si
g
ned ope
r
ations if
O_SIGNE
D
bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
li G
h
olami Ru
d
i
cp
p
: define __ar
m
_
_
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
Rudi
nc
c
: don't cast th
e
r
e
turn value fo
r
v
o
id functions
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
h
o
l
ami Rudi
gen:
m
ore
c
omp
a
ct version of memcpy() and memset
(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi R
u
d
i
g
en:
d
on't output relocations when o_n
o
gen() is
c
a
l
led
commit
|
commitdiff
|
tree
2011-03-13
A
l
i Gholami Rudi
neatcc arm po
r
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clea
n
up t
h
e interface b
e
tween ncc
.
c, gen
.
c
a
nd out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
R
udi
n
p
p: remove comments after
p
re
p
roc
e
s
s
ing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
R
u
di
cpp: don't remove
n
o
n-m
a
cro number signs
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Rudi
npp: al
l
ow using neatcc's p
r
eproc
e
s
sor
a
s
a standalon
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali G
h
o
l
a
m
i Rud
i
cpp
:
don
'
t
skip non-eol macro backslas
h
e
s
commit
|
commitdiff
|
tree
2010-12-18
Ali
Ghola
m
i Ru
d
i
gen: fix
o
p_rs() optimiz
a
tion func
t
ion
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami R
u
di
gen: us
e
be
t
ter
n
ames
f
or op
c
o
d
es
commit
|
commitdiff
|
tree
2010-12-11
A
l
i Gholami
R
udi
c
p
p: define __i386__; __x86_6
4
_
_
is no longer
su
p
ported
commit
|
commitdiff
|
tree
2010-11-20
A
l
i Gholami Rudi
gen: load the first
t
mp before calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
Rudi
a
dd README
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gholami Rudi
ncc: fix name->name str initial
i
zer
commit
|
commitdiff
|
tree
2010-08-13
Al
i
G
holami Rudi
allow exte
r
n array dec
l
arations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gh
o
lami Rudi
cp
p
: includ
e
st
d
def
.
h
for u
s
ing offs
e
tof()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Gholami
R
udi
tok: parse uppercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
h
olami
R
udi
ncc: f
i
x
setting F_INIT f
o
r each
defin
e
d name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
c
pp:
handle
nested macro calls like
M
(
M
(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
udi
tok: don't go beyon
d
b
u
f len
f
or 3-
c
har tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami Rudi
tab
.
h: use the st
a
nd
a
rd offset
o
f(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Ghol
a
mi Rudi
nc
c
:
fix
calling ts_pop() prematurely i
n
opassig
n
()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olami
Rudi
gen:
ig
n
or
e
the sign of the secon
d
o
perand in / and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: fi
x
& and * on f
u
ncti
o
ns
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholam
i
Rudi
g
e
n:
d
on't o
v
e
rwrite pus
h
e
d
ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
gen: ch
a
nge
stack
a
lignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Ru
d
i
ncc: don't change operan
d
or
d
er for const op
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: only perform c
o
nst op f
o
r a
d
dresses whe
n
addin
g
commit
|
commitdiff
|
tree
next