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
npp: redefine err() in npp.c
2012-01-25
Ali Gholami Rudi
n
p
p: redefine e
r
r() in n
p
p
.
c
commit
|
commitdiff
|
tree
2012-01-25
Ali Gholami Rudi
Makefile:
x86_64 should be x86 in the co
m
m
e
nt
commit
|
commitdiff
|
tree
2012-01-06
A
li Gh
o
lami R
u
di
extract archite
c
tur
e
i
n
dep
e
nden
t
gen
.
c
commit
|
commitdiff
|
tree
2012-01-06
A
li Gholami Rudi
experime
n
tal r
i
s
c-like x86_6
4
port
of nea
t
cc
commit
|
commitdiff
|
tree
2011-12-23
Al
i
Gholami
R
udi
ncc
:
fix
h
a
ndling function pointer type
s
with
o
ut
a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
gen: compl
a
in if MAX
J
MPS is reached
commit
|
commitdiff
|
tree
2011-12-09
Ali
Gholami R
u
di
gen:
simplify
b
ra
n
ch instr
u
ctions by removi
n
g o_fi
l
ljmp()
commit
|
commitdiff
|
tree
2011-12-08
A
l
i
G
holami Rudi
ncc: support k&r style function definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
out: use
r
el
.
*
n
ame for re
l
o
c
at
i
on sections o
n
x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Ghola
m
i Rudi
ncc: suppo
r
t
(
expr,
expr) expression
commit
|
commitdiff
|
tree
2011-12-07
Al
i
G
h
olami Rudi
cp
p
:
fix eva
l
uatin
g
i
n
teger constants
commit
|
commitdiff
|
tree
2011-11-10
Ali Gholami Rudi
out
:
add a workaround
f
or bad lin
k
ers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
Rudi
Makefile: default t
o
x86 b
u
ild
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
R
u
d
i
ncc:
d
efine __i386_
_
for x86 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali G
h
olami Rudi
me
r
ge t
h
e x86 port
t
o mas
t
er branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholam
i
R
udi
ncc: better char array ini
t
ializa
t
ion
commit
|
commitdiff
|
tree
2011-10-17
Al
i
Gholami Rudi
o
u
t:
a
s
sure 8-
b
yte ali
g
nment of data and bss sectio
n
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami Rudi
tab: fix tab_del(); otherw
i
se #unde
f
won'
t
work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami
Rudi
n
c
c
: call t
s
_de()
in ts
_
pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Al
i
Gh
o
lami Rudi
ncc: ha
n
dle
s
witch stmt where default
label appear
s
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Ghol
a
mi
Rud
i
n
c
c: do
n
't overwrite g
l
ob
a
l
n
a
m
e
s by static
function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gho
l
ami Rudi
cpp:
f
i
x
handling com
m
ents and strings in
s
ide mac
r
os
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holam
i
Rudi
n
c
c: ha
n
dle empty st
a
tic initializers
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gho
l
ami
Rudi
c
p
p
:
ignore
c
omments inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholam
i
Rudi
neatcc: add a
ncc i
n
v
ocation scr
i
pt
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Ghol
a
mi Rudi
more v
e
rbose erro
r
messages f
o
r missing
f
ile
s
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
o
lami R
u
di
cpp:
don'
t
search /
u
s
r
/inclu
d
e for heade
r
s
b
y default
commit
|
commitdiff
|
tree
2011-05-22
Al
i
Gho
l
am
i
Rudi
cp
p
: merge cur++
'
s
in readar
g
()
commit
|
commitdiff
|
tree
2011-05-22
Ali Ghol
a
mi Ru
d
i
g
en: fix
reg_f
o
rtmp() indent
a
t
ion
commit
|
commitdiff
|
tree
2011-05-19
Ali Gho
l
ami Rudi
nc
c
: ha
n
dle overlapping co
n
ditional expr
e
s
sions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami R
u
di
ncc: handle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc: make su
r
e t
-
>addr =
=
0 before c
a
lling o
_
popnum(
)
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc: ignore the
s
emicolon a
f
ter do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gh
o
lami Rudi
ncc: switch defau
l
t labe
l
s when not appearing at the end
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
ncc: opassign should u
s
e the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
Gholami Ru
d
i
ncc
:
move nogen
t
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i R
u
d
i
ncc: always initialize out
p
ut filename
commit
|
commitdiff
|
tree
2011-05-08
Ali
Gholami Rudi
README: ignored k
e
ywords are n
o
w b
u
ilt in
t
o
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: support -o
o
u
t
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
Gholami Rudi
ncc: ha
n
dle
e
x
t
ern function
d
eclarations inside fu
n
c
t
ions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gho
l
ami Rudi
ncc: hand
l
e extern v
a
riable declarations inside f
u
nctions
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
olami Rudi
ncc: move macros like
_
_STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
holami Rud
i
to
k
: h
a
ndle // c
o
mments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
Rudi
ncc: igno
r
e t
h
e keywor
d
s
neatcc doesn't care
a
b
out
commit
|
commitdiff
|
tree
2011-05-01
Al
i
Gho
l
ami Rudi
g
e
n:
r
eset last_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami Rudi
gen: back
-
p
or
t
cmp+bcc
optimization again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move o
p
codes to arch
s
ection
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i Ru
d
i
gen: rename FORK_
R
EG to REG
_
F
O
RK
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami R
u
di
gen: pa
s
s only O_
*
c
o
nstants to i_*() fun
c
tions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rudi
g
e
n: handle
s
y
m+off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
gen
:
move arch
i
t
e
cture-
s
pec
i
fic functions to the
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: use i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholam
i
R
u
di
gen: pass the number of arguments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
encode 0
x
f0000000 as an immediate
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rudi
gen: s
w
ap the immediate if
n
e
e
ded f
o
r == and !
=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: encode c
m
p+immedi
a
te instructio
n
s
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
R
ud
i
gen: put the immediate i
n
the op
c
ode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholam
i
Rudi
gen:
remove cmp+branch opti
m
iz
a
tion; mov
e
d
to opt
b
r
a
n
ch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cp
p
: handle function macros
w
ith
n
o argum
e
nt
s
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami R
u
di
gen: rename dat_bss() and da
t
_dat() to begin
wit
h
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: group functio
n
s in
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Ghol
a
mi Rudi
gen: re
s
et l
a
st
_
s
e
t a
f
ter cm
p
+b opti
m
ization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen: fix ~ operator implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: dereference function p
o
inters like any oth
e
r var
i
ables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
udi
gen
:
don't remo
v
e t
h
e l
a
st ret
u
rn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen:
d
on't
l
et o_cast(
)
change dereferen
c
ed t
y
p
e
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
ami
R
udi
ncc: us
e
tok_jmp()
i
n
stead of tok_(see|get
)
() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Gholami Rudi
g
e
n:
h
a
n
dle large of
f
sets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami Rud
i
gen:
r
e
place TMP_REG* macro
s
with
r
eg_fortm
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholam
i
Ru
d
i
gen: chang
e
o_nogen
(
)/o_dogen
(
) to be r
e
cursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't generate exc
e
s
s jumps for the last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi
Rudi
gen: d
o
n't add duplicate
data to number po
o
l
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
o
lami Rudi
g
en: c
a
ll tmp_to() in for
l
o
a
d
i
n
g rh
s
in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i G
h
olami Rudi
gen: ignore O_SIGNED when checking
t
he opcode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i Gholami
R
u
di
gen: fix signed d
i
visi
o
n
t
o nega
t
e t
h
e rema
i
nder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
g
en: merge de
c
reme
n
t and chec
k
i
n
i_me
m
cpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
gen: don't save var
i
a
b
l
e registers befo
r
e
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
gen
:
add sof
t
w
are div
/
m
o
d
i
mplementa
t
ion
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
ncc
:
set O_SIGN for mo
s
t binary opera
t
ions
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
u
di
nc
c
: dereference the
n
ot expression o
f
cexprs
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Ru
d
i
perf
o
rm signed
operations if O
_
SIGN
E
D bit is s
e
t
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc: d
o
n't cas
t
the return
v
a
l
ue for vo
i
d f
u
nctions
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Ghola
m
i
Rudi
gen: more
compact
v
e
r
sio
n
of memcp
y
() and memse
t
(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen:
don't outp
u
t relocations when o_no
g
e
n() is ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
lami
Rudi
neat
c
c arm port
commit
|
commitdiff
|
tree
2011-03-08
A
li G
h
o
lami
Rudi
clean up the interface between
n
cc
.
c,
g
en
.
c and
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
n
p
p: remove com
m
ents after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Gholami Rudi
cpp: don'
t
remo
v
e non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Rudi
npp:
a
ll
o
w
u
s
ing
n
eatc
c
's preproc
e
ssor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholami R
u
di
cpp: do
n
'
t skip non-eol m
a
cro b
a
ckslas
h
es
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen
:
f
i
x o
p
_rs(
)
opt
i
mizat
i
o
n
fun
c
tion
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
use
be
t
t
e
r n
a
m
e
s
for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gh
o
l
ami R
u
di
cp
p
: define __i
3
86__; __x86_64__
is no longer
s
upp
o
r
ted
commit
|
commitdiff
|
tree
2010-11-20
Ali G
h
ol
a
mi Rudi
gen: load the fi
r
st tmp bef
o
re call
i
ng
TM
P
_RE
G
2
(
)
commit
|
commitdiff
|
tree
2010-09-16
A
li Gholami Rudi
add
R
EADME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
n
cc: fix name->na
m
e str initial
i
ze
r
commit
|
commitdiff
|
tree
2010-08-13
Ali Gho
l
ami Rudi
a
l
low extern array decl
a
ration
s
without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gh
o
lami
Rudi
cpp: include stdde
f
.
h
for
u
si
n
g offsetof(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Ghola
m
i
Rudi
tok: parse uppercase hex
numbers
commit
|
commitdiff
|
tree
next