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 Gho
l
ami Rudi
ncc
.
h
: move array limits to nc
c
.
h
commit
|
commitdiff
|
tree
2013-09-01
Ali Ghol
a
mi Rudi
g
e
n
: move th
e
register allocation to reg
.
c
commit
|
commitdiff
|
tree
2013-07-30
A
l
i Gholami
R
udi
t
ok:
r
e
a
d '\08
'
as {'\0', '8'}
commit
|
commitdiff
|
tree
2013-07-30
Ali Gholami Rud
i
n
cc
:
call ts_addop()
o
nly for += an
d
-=
commit
|
commitdiff
|
tree
2013-07-30
Ali G
h
olami Rudi
ncc: upda
t
e year
commit
|
commitdiff
|
tree
2013-07-30
Ali G
h
olam
i
Rudi
gen
.
h: fix a comment typo
commit
|
commitdiff
|
tree
2012-07-05
A
l
i Gholam
i
Rud
i
ncc: han
d
le
+
unar
y
ope
r
at
o
r as in 1 + - + - 1
commit
|
commitdiff
|
tree
2012-06-08
Ali Gholami Rud
i
n
cc: swit
c
h t
o
the modified bsd license
commit
|
commitdiff
|
tree
2012-03-25
Ali
G
holami Rudi
cpp:
i
g
nore m
a
c
r
o
s i
m
mediately following numbers
commit
|
commitdiff
|
tree
2012-02-03
A
l
i G
h
olami Ru
d
i
tok:
i
gnore "\\\n"
commit
|
commitdiff
|
tree
2012-02-02
Ali Gho
l
ami Ru
d
i
ncc
:
string literals are arra
y
s
commit
|
commitdiff
|
tree
2012-01-25
Ali G
h
olami Rudi
npp: re
d
e
f
ine err()
in
n
pp
.
c
commit
|
commitdiff
|
tree
2012-01-25
Ali Gholami Rudi
Make
f
il
e
: x86
_
64 should be x86 in
t
he com
m
ent
commit
|
commitdiff
|
tree
2012-01-06
A
l
i Gholami
R
u
di
e
xtr
a
ct archi
t
ect
u
re independent
g
en
.
c
commit
|
commitdiff
|
tree
2012-01-06
Ali
Ghol
a
mi
R
udi
experimenta
l
risc-l
i
ke x86_64
port of neatcc
commit
|
commitdiff
|
tree
2011-12-23
Ali Gholami Rudi
ncc: fix handlin
g
funct
i
on pointer types
w
ithout a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami
R
udi
gen: complain if MAXJMP
S
is
reache
d
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
gen: simplif
y
br
a
nch instr
u
ctio
n
s
by removing o_f
i
l
l
jmp()
commit
|
commitdiff
|
tree
2011-12-08
Ali G
h
ol
a
m
i
Rudi
n
c
c: su
p
p
o
rt k&r style function definitions
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami Rudi
out: use r
e
l
.
* name
f
or relocati
o
n secti
o
ns on
x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gho
l
ami Rudi
n
c
c: support (expr, e
x
pr) e
x
pression
commit
|
commitdiff
|
tree
2011-12-07
Ali Gh
o
lami Rudi
cp
p
: fix e
v
a
luating integer
c
o
n
sta
n
t
s
commit
|
commitdiff
|
tree
2011-11-10
Ali Gholami R
u
di
out: add a wor
k
a
r
ound for bad linke
r
s
commit
|
commitdiff
|
tree
2011-11-08
Ali Ghola
m
i Rudi
Makefile: default to x86
build
commit
|
commitdiff
|
tree
2011-11-08
Ali
G
holam
i
Rudi
ncc: def
i
n
e
__i386__ for x
8
6 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholam
i
Rudi
merge the x86 port to master branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Ghola
m
i Rudi
ncc:
b
etter c
h
ar arr
a
y in
i
tial
i
zation
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
out:
a
ssure 8
-
byte
a
lig
n
ment of data an
d
bss
s
ection
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
A
l
i Gh
o
l
ami Rudi
tab:
f
ix ta
b
_del(
)
; oth
e
rwise #und
e
f won't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholam
i
R
u
d
i
ncc: call ts_de(
)
in t
s
_pop_d
e
()
commit
|
commitdiff
|
tree
2011-06-04
A
l
i Gholam
i
R
u
di
ncc
:
handle switc
h
stmt where default label
appears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali G
h
olami Rudi
ncc: don't ove
r
wri
t
e
global names by stat
i
c function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali G
h
olam
i
Rudi
cpp: fix ha
n
dling comment
s
a
nd
strings i
n
side macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
ami Rudi
ncc: handle empty static initializers
commit
|
commitdiff
|
tree
2011-05-24
A
li
Gholami Ru
d
i
cp
p
:
ignore com
m
ents inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
neatcc: a
d
d
a ncc
i
nvoc
a
tion
script
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholam
i
Rudi
more verbose error
m
essages for miss
i
n
g files
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holami Rudi
cpp:
don't search /usr/include for hea
d
e
r
s
by def
a
u
lt
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
holami Rudi
cpp: m
e
rge cur++'s in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami
R
udi
gen: fix reg_fo
r
t
m
p
(
) indentation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handle ove
r
l
a
p
p
ing
condi
t
i
onal expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali G
h
olami Rudi
ncc:
h
andl
e
si
z
e
of x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
G
h
o
lami Rudi
ncc: make
sure t->add
r
== 0 be
f
o
re calling o_po
p
num()
commit
|
commitdiff
|
tree
2011-05-11
Ali
G
ho
l
ami Rudi
n
c
c: ig
n
o
re
t
he semicolon after do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali
G
holami R
u
di
ncc: switc
h
d
e
f
ault labels when not appe
a
rin
g
at the end
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Ghol
a
mi Rudi
n
cc: op
a
s
sign sho
u
ld use the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Ru
d
i
ncc: mo
v
e n
o
g
en to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
nc
c
: alway
s
initialize o
u
tput fil
e
name
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
R
E
ADM
E
: ignored keywords are
now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
nc
c
:
han
d
le
e
x
t
er
n
function decla
r
ati
o
n
s
inside funct
i
ons
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Rudi
ncc: ha
n
dle e
x
tern
v
ariab
l
e
d
e
c
larations
inside f
u
nctions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: move macros li
k
e __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
tok: hand
l
e
//
c
o
m
ments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc: igno
r
e th
e
k
eyw
o
r
ds neatcc doesn't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gho
l
ami Rudi
gen: reset last_cmp i
n
i_prolo
g
(
)
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Ghola
m
i Rudi
gen: back-port cmp
+
bcc
optimizati
o
n aga
i
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi
Rudi
g
e
n: move opco
d
es
to arc
h
s
e
ction
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami Rudi
gen: re
n
ame
FORK
_
REG to REG_
F
O
R
K
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
ho
l
ami Rudi
gen: p
a
ss only O
_
* con
s
tants to i_
*
()
f
unc
t
ions
commit
|
commitdiff
|
tree
2011-04-29
A
li
Gholami Rudi
ge
n
: han
d
le sy
m
+o
f
f functi
o
n
call
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
gen: move architecture-sp
e
cific fun
c
t
i
ons
to th
e
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
h
olami Rud
i
gen: use i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
A
li G
h
olam
i
R
u
d
i
g
e
n:
p
ass the
n
umber of a
r
gum
e
nts t
o
o
_
f
unc_be
g
()
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
o
l
a
mi Rud
i
gen: e
n
code 0xf00
0
00
0
0 as an imme
d
ia
t
e
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami
R
udi
gen:
swap
t
he
immed
i
ate if nee
d
ed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
R
udi
gen: encode cmp+immediate inst
r
uctions
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami Rudi
gen: put the
imme
d
iate in the o
p
c
o
d
e
if
p
ossib
l
e
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Ghol
a
m
i
Rudi
gen: remove
c
mp+branch
opt
i
mizat
i
on; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gh
o
l
a
mi Ru
d
i
cpp: handle funct
i
on macros with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
gen: rena
m
e
d
a
t_bss() an
d
dat_dat() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
li Ghol
a
m
i Rudi
g
en: group functions in
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
ge
n
:
r
e
set last_set after cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: fix ~ operator impleme
n
tation
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami
R
u
di
n
c
c: deref
e
rence function poi
n
t
e
rs like any
o
th
e
r
v
a
ria
b
les
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: do
n
't remove
t
h
e last return
jump
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami
R
udi
gen: don't l
e
t o_ca
s
t() change dereferenced
type
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami Rudi
ncc: use
tok
_
jmp() instead of tok_(
s
ee|get
)
() in enum_cr
e
ate()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: ha
n
dle large offs
e
t
s
f
o
r s
t
r
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
ami Rudi
gen: replac
e
TMP_R
E
G* mac
r
os wit
h
reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
gen: change o_
n
ogen()/o_
d
ogen(
)
t
o be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: d
o
n'
t
generate ex
c
ess jumps for the las
t
return
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
m
i Rudi
ge
n
: don't
a
d
d
duplicate
data to
num
b
er po
o
l
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call tmp_to() i
n
for lo
a
ding rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami Rudi
gen: ignore O_SIGNED when ch
e
cking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen
:
fix signed division to
neg
a
te the remain
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali
G
holami Rudi
gen: mer
g
e de
c
r
e
ment and che
c
k
in i_memcpy() a
n
d
i_mems
e
t()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: don't save variable r
e
g
i
sters
before call
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
g
e
n: add softwa
r
e d
i
v/mod im
p
lem
e
n
tation
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rud
i
ncc:
s
e
t O_SIGN for most binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: dere
f
erence the not
e
xpressi
o
n o
f
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
p
erfor
m
signed operatio
n
s if O_
S
IGNED bit i
s
s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Ru
d
i
cpp: define __ar
m
__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami R
u
d
i
ncc: don't cas
t
t
he return
va
l
ue for void funct
i
o
ns
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
l
a
mi Rudi
gen:
more compa
c
t
version of memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
l
a
mi Ru
d
i
g
e
n
: don't
o
utp
u
t relocations when o_nogen() is call
e
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rud
i
neatcc arm por
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean up
the int
e
rface be
t
w
e
en ncc
.
c
, gen
.
c
a
nd o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp:
remove comments
a
fter p
r
eprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami Rudi
cpp: don't
remo
v
e non-mac
r
o number sig
n
s
commit
|
commitdiff
|
tree
next