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
ncc.h: move array limits to ncc.h
2013-09-02
Ali Gholami Rudi
n
cc
.
h
:
move
a
r
r
a
y limits
t
o ncc
.
h
commit
|
commitdiff
|
tree
2013-09-01
Ali Gh
o
lami
Rudi
gen: mov
e
t
he r
e
gist
e
r allocatio
n
to
r
eg
.
c
commit
|
commitdiff
|
tree
2013-07-30
Ali Ghol
a
mi Rudi
t
o
k
:
read '\08' as {'\0',
'8'}
commit
|
commitdiff
|
tree
2013-07-30
Ali Gho
l
ami
R
u
di
n
c
c: call ts_addop
(
) only f
o
r += a
n
d -=
commit
|
commitdiff
|
tree
2013-07-30
Ali
G
h
olami
R
udi
ncc: update year
commit
|
commitdiff
|
tree
2013-07-30
Ali
G
holami R
u
d
i
gen
.
h: fix a comm
e
nt typo
commit
|
commitdiff
|
tree
2012-07-05
Ali Gholami Ru
d
i
ncc: ha
n
dle + unary oper
a
tor as in 1 + - +
-
1
commit
|
commitdiff
|
tree
2012-06-08
Ali Gholami
R
udi
n
c
c: switch to
t
he
mod
i
fied bsd license
commit
|
commitdiff
|
tree
2012-03-25
A
li Ghol
a
mi Ru
d
i
c
p
p:
i
gn
o
r
e
ma
c
ros imm
e
diately foll
o
wi
n
g numb
e
rs
commit
|
commitdiff
|
tree
2012-02-03
Al
i
Gh
o
lami Ru
d
i
tok:
i
gnore
"
\\\n"
commit
|
commitdiff
|
tree
2012-02-02
Ali Gholami Rudi
ncc:
s
tring lite
r
als are arrays
commit
|
commitdiff
|
tree
2012-01-25
Ali G
h
ol
a
m
i
Rudi
npp: redefine err() i
n
n
p
p
.
c
commit
|
commitdiff
|
tree
2012-01-25
Ali Gholami Rudi
Makefi
l
e: x
8
6_64 should be x86 in the comment
commit
|
commitdiff
|
tree
2012-01-06
A
li
G
holami Ru
d
i
ex
t
ract architecture i
n
d
e
pendent g
e
n
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali
G
holami
Rudi
e
x
per
i
menta
l
ri
s
c-li
k
e x86_64 port of neatcc
commit
|
commitdiff
|
tree
2011-12-23
Ali Gholami Rudi
ncc: fix h
a
ndling function poin
t
er types without a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
gen
:
complain i
f
MAXJMPS is rea
c
hed
commit
|
commitdiff
|
tree
2011-12-09
Ali G
h
o
l
ami Rudi
gen: simplify br
a
n
ch
i
nstructio
n
s by remo
v
in
g
o_filljmp
(
)
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami
R
udi
ncc: s
u
pp
o
rt k&r style function definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami
R
udi
out: use rel
.
* name for relocation sections on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rudi
ncc: support (ex
p
r
,
expr) express
i
on
commit
|
commitdiff
|
tree
2011-12-07
Ali G
h
olami Rudi
cpp: fix evaluating integ
e
r
constan
t
s
commit
|
commitdiff
|
tree
2011-11-10
Ali Gholami Rudi
out: a
d
d a workarou
n
d fo
r
ba
d
linkers
commit
|
commitdiff
|
tree
2011-11-08
A
l
i G
h
o
l
ami Rudi
M
akefile:
d
efault to x86
build
commit
|
commitdiff
|
tree
2011-11-08
Ali
G
h
o
lami R
u
di
ncc: define __i386_
_
f
o
r x86
b
uilds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami
Rud
i
merge the x86 port to master branch
commit
|
commitdiff
|
tree
2011-10-17
Ali G
h
ol
a
mi Rud
i
n
c
c:
b
et
t
e
r
c
h
ar ar
r
ay ini
t
iali
z
atio
n
commit
|
commitdiff
|
tree
2011-10-17
A
li
Ghola
m
i Ru
d
i
ou
t
: assur
e
8-byt
e
alignment of data and bs
s
sect
i
on
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gholami R
u
di
ta
b
: fi
x
ta
b
_del();
o
therwis
e
#undef won't work
commit
|
commitdiff
|
tree
2011-06-05
A
l
i Gholami Rud
i
n
c
c: call
t
s_
d
e() in ts_p
o
p_de()
commit
|
commitdiff
|
tree
2011-06-04
Al
i
Gho
l
ami
R
udi
ncc:
hand
l
e
s
witch
stmt where d
e
fault la
b
el a
p
p
ears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali
Gho
l
ami
R
udi
ncc:
do
n
't ov
e
rwrite global names by static function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami
R
udi
cpp: fix handling comments and str
i
ngs inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghol
a
mi Rudi
ncc: h
a
ndle empty static i
n
itializers
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holam
i
R
u
d
i
cpp: ignor
e
comme
n
ts inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
a
m
i Rudi
neatcc
:
add a ncc invocation script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
m
ore verbose
error
message
s
for missin
g
file
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
c
p
p: don't se
a
rch /u
s
r
/
i
nclude for header
s
by default
commit
|
commitdiff
|
tree
2011-05-22
A
l
i Gholami Ru
d
i
cp
p
: merge cur++
'
s in
readar
g
()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
gen:
f
i
x reg_fortmp() ind
e
ntation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rud
i
ncc: handle ov
e
rlapping
c
onditional expressions
commit
|
commitdiff
|
tree
2011-05-19
A
l
i
Gholami Rudi
n
cc: handle
s
izeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Ghola
m
i
Rudi
nc
c
: m
a
k
e
su
r
e
t->ad
d
r
== 0
befo
r
e
c
all
i
ng o_pop
n
um()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami
R
udi
ncc: ignore th
e
semicol
o
n after
d
o-wh
i
le
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Rudi
ncc: switch
d
efault labels whe
n
not app
e
a
r
ing
at
t
he end
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Ghol
a
m
i
Rudi
ncc: op
a
ss
i
gn s
h
ould use the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
n
c
c
:
mo
v
e noge
n
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rudi
ncc: always
in
i
tialize outpu
t
filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
README: ignored keywords
a
re
n
ow built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami Rudi
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Ghola
m
i
R
u
d
i
ncc:
h
andle ex
t
ern func
t
i
on decla
r
ati
o
ns insid
e
fu
n
ctions
commit
|
commitdiff
|
tree
2011-05-06
Ali Ghol
a
mi Rud
i
ncc: handle
extern variab
l
e declarations insid
e
funct
i
on
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: move macro
s
l
ike
_
_STDC
_
_ to
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami Rudi
t
ok: hand
l
e // com
m
ents
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
h
o
lami Ru
d
i
ncc
:
ignore
t
he k
e
ywor
d
s neatcc doesn't care a
b
o
u
t
commit
|
commitdiff
|
tree
2011-05-01
Ali Gho
l
ami
R
udi
ge
n
: reset
last_cmp in i_pr
o
log
(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
hol
a
mi Rudi
gen: back-po
r
t cmp+b
c
c
optimization
ag
a
i
n
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami Rudi
gen: move opcodes to arch s
e
ction
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gholami
Rudi
gen: re
n
ame F
O
RK_RE
G
to
REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
G
holami R
u
di
gen: pass only O_* constants to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami
Rudi
gen: handl
e
sym+off functio
n
calls
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami Rudi
gen: move a
r
c
hitecture-speci
f
ic functions
to the
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gho
l
ami
Rudi
gen: use
i_set() in i_l
n
ot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gho
l
ami Rudi
gen: pass the number of argumen
t
s
t
o o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami
R
udi
g
e
n: encode 0xf000
0
000 as
a
n immediate
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholam
i
Rud
i
g
e
n: swa
p
the
imm
e
diate if
needed for
==
and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
en
c
ode cmp+
i
mme
d
i
ate
i
nstr
u
c
tion
s
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami Rudi
g
e
n
:
p
u
t the immediate
in the opcode if pos
s
ible
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
olami Rudi
gen: remove
cmp+branch optimization;
moved to opt bra
n
c
h
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
olami
R
udi
c
pp
:
han
d
le function macros
w
i
th
n
o argum
e
n
ts
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
holami Rudi
gen:
ren
a
me dat_bss() and
dat_dat() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami Ru
d
i
gen
:
gro
u
p func
t
ions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
o
lami Rudi
gen: rese
t
las
t
_set af
t
er
cmp
+
b
o
ptimization
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Ru
d
i
gen: fi
x
~ oper
a
t
o
r implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami Ru
d
i
n
c
c
: dereference functi
o
n po
i
nters l
i
ke any other
v
ariables
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gh
o
lami Rudi
gen: don
'
t rem
o
v
e
t
h
e last return jump
commit
|
commitdiff
|
tree
2011-03-27
A
li Gholami Rudi
gen: don't let o_cast() chang
e
dereferenc
e
d type
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gh
o
lami Rud
i
ncc: use
t
ok
_
jmp() instead of tok_(
s
e
e
|get
)
(
)
i
n enum_c
r
eate()
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olami
Rudi
gen: handle l
a
rge offsets fo
r
s
tr
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Ghola
m
i Rudi
g
en:
replace TMP_R
E
G* macros with
reg
_
fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Al
i
G
h
olami Rudi
gen: ch
a
nge o_nogen()/o_dogen
(
)
to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
olami Ru
d
i
gen: don't generate excess jumps for t
h
e last return
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
h
o
lami Rudi
g
e
n:
don't add
d
upl
i
ca
t
e data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call tmp_to() in
f
o
r
loading rhs in o
_
assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami R
u
di
g
e
n
:
i
gnore O_S
I
GNE
D
when checking th
e
o
p
code
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholam
i
R
u
di
g
e
n: fix sign
e
d
d
i
visi
o
n
t
o
neg
a
t
e the remain
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: merge decrem
e
nt
and check
in i_memc
p
y()
a
n
d
i_me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Rudi
g
en: do
n
't sa
v
e v
a
r
i
able registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
di
gen:
add sof
t
ware div/
m
od impl
e
ment
a
tion
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami
Rudi
ncc
:
set O_S
I
GN for most binary operation
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: d
e
re
f
erence the not
expression of c
e
xprs
commit
|
commitdiff
|
tree
2011-03-15
Al
i
G
h
olami Rudi
perfo
r
m si
g
ned opera
t
ions if O_SIGNED bit
i
s set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
l
ami
R
udi
c
p
p: define
_
_arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami
R
udi
ncc: don't cas
t
the return value for void functio
n
s
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami Rudi
gen: m
o
re
c
o
mpact version of memc
p
y() an
d
m
emset()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
gen
:
do
n
't
o
utput relocatio
n
s when
o
_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
A
li Gholami R
u
di
n
e
a
t
cc ar
m
port
commit
|
commitdiff
|
tree
2011-03-08
Ali
G
h
o
l
ami
Rudi
clean up the interface
between ncc
.
c, gen
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Ru
d
i
np
p
:
r
e
m
ove comments aft
e
r pr
e
pr
o
cessing
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami
R
udi
cpp
:
don't remove
non-m
a
c
r
o numb
e
r signs
commit
|
commitdiff
|
tree
next