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: use rel.* name for relocation sections on x86 branch
2011-12-08
Ali Gholami Rudi
out: u
s
e
r
e
l
.
* nam
e
for
r
elocatio
n
se
c
tions on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami
R
udi
n
c
c: suppor
t
(exp
r
, ex
p
r) expression
commit
|
commitdiff
|
tree
2011-12-07
Ali
G
holami
R
u
di
cpp:
f
ix evaluat
i
ng integer const
a
n
t
s
commit
|
commitdiff
|
tree
2011-11-10
Al
i
G
h
o
l
a
mi R
u
di
ou
t
: add a
w
o
r
karou
n
d for ba
d
linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gho
l
ami
R
udi
Makefil
e
:
default to
x86 bu
i
ld
commit
|
commitdiff
|
tree
2011-11-08
Ali Gh
o
lami Rudi
ncc: define __i386__
f
or x86 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
R
udi
m
erge
t
h
e x86 port to
m
ast
e
r branch
commit
|
commitdiff
|
tree
2011-10-17
Ali G
h
ola
m
i
Rudi
ncc: be
t
t
e
r ch
a
r
a
rray initi
a
lization
commit
|
commitdiff
|
tree
2011-10-17
Al
i
Gholami Rudi
o
u
t: assure
8
-
byte alignment of data a
n
d b
s
s section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholam
i
Rudi
tab: fix
t
a
b
_
d
el()
;
otherwi
s
e #unde
f
won't w
o
rk
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rudi
n
c
c: call
t
s_de()
i
n ts
_
pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Al
i
Gholami Rud
i
ncc: handle switch stm
t
w
h
e
re default
l
abel
a
pp
e
ars
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i
Gholami
R
u
di
n
cc:
don't
overwrite gl
o
bal names
b
y
s
tatic fun
c
tion
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami R
u
di
cpp
:
f
i
x
handling comments a
n
d
s
t
r
i
ngs inside macro
s
commit
|
commitdiff
|
tree
2011-05-24
Ali
Ghola
m
i Rudi
ncc: handle empty static initializers
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
c
pp: ignore comments in
s
ide stri
n
g macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
neatcc: add a ncc invoc
a
tion
s
cript
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gholami Rudi
more verbose
e
rror messages fo
r
m
issing files
commit
|
commitdiff
|
tree
2011-05-24
Al
i
G
h
o
l
ami Rudi
cpp: don't search /u
s
r/include f
o
r headers by default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholam
i
R
udi
cpp: merge cur++
'
s
i
n re
a
darg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Ru
d
i
gen: fix r
e
g_
f
ortmp() in
d
entation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gho
l
ami Rudi
n
c
c
: handle overl
a
pping con
d
itional
e
x
p
ression
s
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami R
u
di
ncc
:
hand
l
e sizeof
x
+ 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
G
holami Ru
d
i
ncc: make sure t->addr == 0 b
e
for
e
c
a
l
l
ing o_pop
n
um()
commit
|
commitdiff
|
tree
2011-05-11
Ali
G
h
olami Rudi
ncc: ignore
the semi
c
o
lon after
d
o
-wh
i
le
commit
|
commitdiff
|
tree
2011-05-09
Al
i
Gholami Rud
i
ncc: switch default label
s
when not a
p
pearing
a
t the e
n
d
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i Rudi
ncc: opassign sh
o
uld use th
e
time of lhs
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
ncc:
m
ove nogen
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami R
u
di
ncc: always initialize output f
i
le
n
a
me
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami Ru
d
i
README: ign
o
red keywords are now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i Rudi
ncc: su
p
port -o
out
commit
|
commitdiff
|
tree
2011-05-08
A
li Gh
o
lami Rudi
ncc: ha
n
dle ext
e
rn f
u
nction declarations inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Rudi
n
cc
:
han
d
le
e
xtern
variable declarations inside func
t
ions
commit
|
commitdiff
|
tree
2011-05-04
A
li Gholami Rudi
ncc
:
move macr
o
s
l
ike _
_
S
T
DC__
to n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
Rudi
tok: handle //
c
omments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: ignore t
h
e keywords
neatcc d
o
esn't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rud
i
gen
:
re
s
e
t
l
as
t
_cm
p
in i_
p
rolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
g
e
n: back-port c
m
p
+
b
c
c
o
p
timization again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move opcodes to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
gen: rename FOR
K
_REG to R
E
G
_
F
O
RK
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
ola
m
i Rudi
gen
:
pass o
n
ly O_* constants
to i_*()
f
unctions
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i R
u
di
g
en:
h
a
ndle sym+of
f
fu
n
cti
o
n
c
alls
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Ghol
a
mi
R
u
di
gen: move arc
h
itectu
r
e-spe
c
ific func
t
ion
s
t
o the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
h
o
l
ami Rudi
g
e
n: use i
_
set()
i
n i
_
l
n
ot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghol
a
mi Rudi
g
e
n: pass
t
h
e number of argumen
t
s
to o_f
u
nc_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: encod
e
0xf0000000
a
s
a
n
immedia
t
e
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
u
d
i
gen: swap
t
he immediat
e
if needed f
o
r == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gh
o
lami Rudi
gen: encode cmp+immediate instructions
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami Rudi
gen:
p
ut the immediate i
n
the opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi Rud
i
gen: r
e
move cmp+
b
ran
c
h optim
i
zation; moved to opt bran
c
h
commit
|
commitdiff
|
tree
2011-03-30
A
li
G
h
olami Rudi
cpp:
handle
f
unc
t
io
n
macros with no argu
m
ents
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
h
olami Rudi
g
en: rename dat_bss() and dat
_
dat() to begin
w
ith o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gh
o
la
m
i
R
u
d
i
gen: group functi
o
ns in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: reset last_set after cmp+b optimiz
a
tion
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
gen:
f
ix ~ opera
t
or implement
a
tio
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholam
i
Rudi
n
cc: dereference function pointers like
a
ny ot
h
er variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don
'
t remove the las
t
return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghol
a
m
i Rudi
g
e
n: don't
let o_c
a
st()
change deref
e
renc
e
d type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
n
cc: use tok_jmp()
instead of
t
ok_(see|get)() in enum_cre
a
te
(
)
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: han
d
le
l
arge offsets for str
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami Rudi
gen: rep
l
ace TMP_REG*
m
acros
w
ith reg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n: chang
e
o_nogen
(
)
/o_
d
ogen() to
be re
c
ursive
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami Rudi
gen: don't ge
n
erate excess jumps
for the la
s
t return
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gho
l
ami Ru
d
i
gen:
d
on'
t
add d
u
pli
c
ate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami
R
udi
gen: ca
l
l
t
mp_to()
i
n for l
o
adi
n
g rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
A
li
Gholami Rudi
gen:
i
gnore O
_
SIGNED when checking the
o
p
code
commit
|
commitdiff
|
tree
2011-03-17
Al
i
Gholami Rudi
ge
n
: fix signed
d
i
vis
i
on to negate t
h
e remainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gholami Rudi
gen:
merge
decrement and check in i_memcpy() and i_
m
emset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
gen: don't
s
ave variable r
e
gisters
befor
e
c
alls
commit
|
commitdiff
|
tree
2011-03-15
A
li Gh
o
lami Rudi
gen:
a
dd software
div
/
mod
i
mplementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
ncc: set O_SIGN for most
binary op
e
rations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc
:
der
e
fer
e
nce
th
e
not e
x
pression of cex
p
rs
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami R
u
d
i
perform signed
operations
if O_SIGNED
b
it is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i R
u
d
i
cp
p
: define
__arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rud
i
n
c
c: don't ca
s
t t
h
e return value f
o
r void functions
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholam
i
Rudi
gen: m
o
r
e
com
p
act ve
r
s
i
on of m
e
mcpy()
and
memset()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
G
h
o
lami
R
udi
gen: don'
t
output r
e
locations when o_nogen(
)
is ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami
R
u
di
neatcc ar
m
port
commit
|
commitdiff
|
tree
2011-03-08
Ali G
h
olami R
u
di
cl
e
an up
the inter
f
ace b
e
tween
ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Ru
d
i
npp: remove comments after
preproc
e
ssing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gho
l
ami Rudi
cp
p
: don
'
t remove non-macro n
u
mber
signs
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gholami
R
udi
npp: allo
w
using neatcc
'
s
preprocessor as a
s
t
a
ndal
o
ne
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Al
i
Gholami
Rudi
cpp: do
n
't
s
kip non-eol macr
o
b
acksla
s
h
e
s
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami Rudi
g
en: fix
op_rs(
)
optimi
z
ation fu
n
ction
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami Rudi
gen: use be
t
ter nam
e
s for
o
pco
d
es
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp
:
define __i386
_
_
;
__x8
6
_64
_
_ is no longer
s
upported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami
R
udi
g
e
n
:
lo
a
d
the
first tmp before call
i
n
g
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Ru
d
i
add R
E
A
DM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali
Gholami Rudi
ncc: fix
n
ame->name
s
tr initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
lami
Rudi
a
l
low extern a
r
ra
y
decl
a
rations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali
Gholami R
u
di
cpp:
i
nc
l
u
de stddef
.
h
f
o
r u
s
ing of
f
setof
(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami R
u
d
i
t
ok: parse uppercase hex num
b
ers
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
holami Rudi
ncc: fix
setting F_INIT for
e
ach
de
f
ined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
m
i Rudi
cpp: han
d
le nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
li Ghol
a
mi Rudi
tok: don't go beyond buf le
n
for 3-char tok
e
ns
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholami Ru
d
i
t
a
b
.
h
:
use the stan
d
ard offseto
f
(
)
commit
|
commitdiff
|
tree
2010-07-12
A
l
i
G
holami
R
udi
ncc:
fix calling t
s
_p
o
p() prematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gh
o
l
a
mi
R
u
d
i
gen: ignore
the sig
n
of th
e
seco
n
d operand in / and
%
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Ghola
m
i Rudi
ncc: f
i
x & and *
o
n functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami
R
ud
i
g
en: don't overwrite pus
h
ed ebx, esi and edi
commit
|
commitdiff
|
tree
next