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
ncc: support (expr, expr) expression
2011-12-07
Ali Ghol
a
mi
R
udi
n
c
c: s
u
pport (expr,
expr) expression
commit
|
commitdiff
|
tree
2011-12-07
A
l
i Gh
o
lami Rudi
cpp: fix
e
v
aluating integer
c
onstants
commit
|
commitdiff
|
tree
2011-11-10
Ali Ghola
m
i Rudi
o
ut: add a workaround for b
a
d linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
Makef
i
le: default
t
o x86 b
u
ild
commit
|
commitdiff
|
tree
2011-11-08
Ali Gh
o
lami Rudi
ncc: d
e
fine __i386__ for x86 bu
i
l
ds
commit
|
commitdiff
|
tree
2011-11-08
Ali
G
holam
i
Rudi
m
erg
e
the x86
p
ort to ma
s
te
r
bran
c
h
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami R
u
di
ncc: bet
t
er c
h
ar
a
rray initi
a
lizatio
n
commit
|
commitdiff
|
tree
2011-10-17
Ali Gho
l
ami Rudi
o
ut: assure 8-
b
yte a
l
i
g
nment of dat
a
a
nd bss sect
i
on
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami Ru
d
i
tab: fi
x
tab_del
(
)
; o
t
h
er
w
ise
#
undef won't work
commit
|
commitdiff
|
tree
2011-06-05
Ali G
h
ol
a
mi
Rudi
ncc: c
a
ll ts_de() in ts_pop
_
de()
commit
|
commitdiff
|
tree
2011-06-04
Ali
Gholami Rudi
ncc: handle switch
s
tmt wh
e
re default label appea
r
s
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali
Gholami Rudi
ncc: don't overwri
t
e glob
a
l
n
ames by
static
functi
o
n
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i
G
hola
m
i Rudi
cpp:
f
ix
h
andling co
m
ments and
str
i
n
g
s inside macros
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Gho
l
ami Ru
d
i
ncc: handle empty st
a
tic
init
i
alizers
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holami Rudi
c
p
p: ignore comments inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
n
eatcc:
a
d
d
a
ncc inv
o
cation script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
more verbose error me
s
s
a
g
e
s
fo
r
missing files
commit
|
commitdiff
|
tree
2011-05-24
A
li Gho
l
a
m
i
R
u
di
cpp: don'
t
search /usr
/
include
for headers by default
commit
|
commitdiff
|
tree
2011-05-22
Ali G
h
ola
m
i Ru
d
i
cpp: mer
g
e cur
+
+'s i
n
readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholam
i
Rudi
g
e
n: fix
r
eg_fortmp()
i
ndentat
i
on
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
h
o
lami Rud
i
ncc: handle overlappin
g
conditional
e
xpressi
o
ns
commit
|
commitdiff
|
tree
2011-05-19
A
l
i
Ghola
m
i R
u
di
ncc: hand
l
e
sizeof x +
2
commit
|
commitdiff
|
tree
2011-05-11
A
l
i
Gholami
R
udi
ncc: make sure
t
->add
r
== 0 before
c
al
l
ing o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Ghol
a
mi
R
udi
nc
c
: ignore t
h
e semic
o
lon after do-
w
hile
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
ncc: swi
t
ch default labels w
h
en not appearing at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
ola
m
i Rud
i
ncc: o
p
assign should use t
h
e t
i
me
o
f
lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
m
i
Rudi
ncc: move nogen
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gho
l
ami
R
udi
n
cc:
always initia
l
ize
output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
l
a
mi R
u
di
README: ig
n
ored keywords are now
built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
nc
c
: suppor
t
-o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
n
cc: hand
l
e
exte
r
n fun
c
t
i
o
n d
e
c
larations inside
f
u
nctions
commit
|
commitdiff
|
tree
2011-05-06
A
li Gholami
Rudi
nc
c
: handle extern var
i
a
ble declara
t
ions insi
d
e f
u
ncti
o
ns
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
n
cc: move macro
s
like __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i
Ghol
a
mi Rudi
tok: hand
l
e //
comme
n
ts
commit
|
commitdiff
|
tree
2011-05-04
A
li Gho
l
ami
Rudi
ncc: ignore the key
w
ords neat
c
c
doesn't care
ab
o
ut
commit
|
commitdiff
|
tree
2011-05-01
Ali
G
holami
Rudi
ge
n
: reset l
a
s
t_c
m
p in
i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami
R
udi
gen: back-port cm
p
+bcc o
p
timization aga
i
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
di
gen: mov
e
o
pc
o
des to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: rename FORK_REG
t
o
REG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Al
i
G
hol
a
mi Rudi
gen: pass only O_* constants t
o
i_*() function
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: han
d
le
s
ym+off function cal
l
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
l
a
m
i Rudi
gen: move architecture
-
specific functions
t
o
t
he end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Gholami Rudi
gen: use i_se
t
() in i_lnot(
)
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: pass the numb
e
r of argu
m
ent
s
to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gholami Rudi
gen: encode 0xf0000000 as
a
n immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami R
u
di
ge
n
: swap
the immediate if needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
R
udi
gen: e
n
code cmp+immediate in
s
tructions
commit
|
commitdiff
|
tree
2011-03-31
A
li G
h
olami Ru
d
i
ge
n
: put the i
m
m
edi
a
te in the opcode
i
f p
o
ssi
b
le
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
ami
R
udi
gen: re
m
o
v
e
c
mp+branch opt
i
mizati
o
n; m
o
ved to
opt
b
r
anch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp: handle functi
o
n macros with no ar
g
ume
n
ts
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gho
l
ami
Rudi
gen
:
rename dat_bss() and dat_dat() to begi
n
with
o
_
commit
|
commitdiff
|
tree
2011-03-28
Al
i
G
h
olami
R
u
di
gen: g
r
oup fun
c
tio
n
s
in ge
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
o
l
am
i
Rudi
gen: reset
l
ast_set after cmp+
b
op
t
imization
commit
|
commitdiff
|
tree
2011-03-28
Al
i
G
h
o
lami Rudi
gen:
fix
~ oper
a
tor implementa
t
io
n
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Ru
d
i
ncc
:
d
er
e
fer
e
nc
e
function pointers like any other var
i
ables
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami
Rudi
gen: don't
remove
t
he last return ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
g
e
n: don't l
e
t
o
_cast() change der
e
ferenced type
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami Rudi
nc
c
: u
s
e
t
ok_jm
p
() inste
a
d o
f
tok_(see|get)() in enum_creat
e
()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholam
i
Rudi
gen:
h
an
d
l
e larg
e
offsets
f
o
r
s
tr
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holami Rudi
gen: re
p
l
a
c
e TMP_R
E
G*
macros wi
t
h reg_fo
r
tmp()
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami R
u
di
gen: change
o
_
nog
e
n()
/
o_dogen() to
be rec
u
rsive
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami R
u
d
i
gen: don't ge
n
e
r
ate
e
xces
s
jumps for th
e
last re
t
u
r
n
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami Rudi
gen: d
o
n't add duplicate data to
n
umb
e
r pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
Gholami Ru
d
i
gen
:
call tmp_to(
)
in for loading rhs in o
_
assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
ho
l
a
mi Ru
d
i
gen: ignore O_
S
I
G
NED wh
e
n chec
k
ing the
o
p
c
ode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i
G
holami Rudi
gen:
fix si
g
ned divisi
o
n to neg
a
te the rem
a
inder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gholami R
u
di
g
en:
merge decrement and ch
e
ck
i
n
i
_
me
m
cpy(
)
and i_memset(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
hola
m
i Rudi
g
en:
don't sav
e
variable registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
u
di
gen
:
add software div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi
Rudi
n
cc: set O_SIGN
f
or mos
t
binary oper
a
tions
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami Rudi
nc
c
: dere
f
er
e
nce the
n
o
t
expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
o
la
m
i Rudi
perform signe
d
operations if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
c
p
p: de
f
ine __
a
rm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Ru
d
i
ncc: don't cast the retu
r
n v
a
lu
e
for
v
o
id fun
c
tions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
ge
n
: more compact version of
memcpy()
and m
e
m
set()
commit
|
commitdiff
|
tree
2011-03-14
A
li G
h
o
lam
i
Rudi
g
e
n: don't
o
u
tput relocat
i
o
ns when o_noge
n
()
is calle
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
n
e
atcc
ar
m
port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami
R
udi
clean
up the
inter
f
ace betw
e
en ncc
.
c, g
e
n
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i Ru
d
i
np
p
: remo
v
e comm
e
nts a
f
ter preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
a
m
i
R
u
di
c
p
p: don
'
t remove non-macro
number s
i
gns
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gho
l
ami Rudi
npp: allow us
i
ng neatcc's p
r
eprocessor
as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li Gholami Rudi
cpp:
d
on't s
k
ip non-
e
ol macr
o
ba
c
kslashes
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami Rudi
gen: f
i
x
o
p_rs() optimizati
o
n function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: use better
n
ames for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami
Rudi
cpp: define __i
3
86__; __x86_64_
_
i
s
no longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholam
i
Rudi
gen: load
the first tmp before calling TMP_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholam
i
Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc: fix
n
a
me-
>
name str
initializ
e
r
commit
|
commitdiff
|
tree
2010-08-13
A
li Gholami Rudi
allow ex
t
ern array
decl
a
r
ation
s
without siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami
R
u
di
cp
p
: incl
u
de
stddef
.
h for
u
s
i
n
g offset
o
f()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami R
u
d
i
t
ok: parse uppercase
h
ex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gho
l
ami Rudi
ncc
:
fix setting F_INIT f
o
r
e
ach defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp: handle nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
l
i G
h
olami
Rudi
tok
:
don't go
b
e
yond buf le
n
for
3
-char toke
n
s
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami Rud
i
tab
.
h: use t
h
e
sta
n
dard offsetof(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gho
l
ami Rudi
ncc:
f
ix c
a
lling ts_po
p
()
prem
a
turely
in o
p
assign(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
h
o
lami Ru
d
i
gen: ignore the
s
ig
n
of the
second operand
i
n
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
holami Rud
i
ncc: fix & and * o
n
f
unct
i
on
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: do
n
'
t
o
v
erwr
i
te pushed
e
b
x, es
i
a
nd ed
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rud
i
g
e
n
: change st
a
ck
a
lignme
n
t
to 4
commit
|
commitdiff
|
tree
next