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
cpp: merge cur++'s in readarg()
2011-05-22
A
l
i
Gholami Rudi
cpp: merge cur
+
+'s in
readarg()
commit
|
commitdiff
|
tree
2011-05-22
A
l
i
G
holami
R
u
di
gen: fix
reg_fo
r
t
m
p
()
inde
n
tatio
n
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholam
i
Rudi
ncc: handle overlapping condi
t
ional expression
s
commit
|
commitdiff
|
tree
2011-05-19
A
l
i G
h
olami R
u
d
i
ncc: handle size
o
f x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
Gholami Rudi
ncc: make su
r
e t->ad
d
r
=
= 0 before callin
g
o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc: ignore the
semicolon
a
fter do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gh
o
l
a
mi Rudi
n
c
c
: switch default labels w
h
en
n
ot appearin
g
at the
end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami
R
udi
ncc: o
p
assig
n
should use the time
o
f lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
n
cc: move
n
o
gen
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
ncc:
always initialize output fi
l
ena
m
e
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
R
E
ADME: ignored
ke
y
words ar
e
now bui
l
t into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Ru
d
i
ncc: s
u
pport -o out
commit
|
commitdiff
|
tree
2011-05-08
A
li Gh
o
lami Rudi
ncc: h
a
ndle extern fun
c
tion declar
a
tions ins
i
de functio
n
s
commit
|
commitdiff
|
tree
2011-05-06
Ali Ghola
m
i Rudi
ncc: handle ext
e
rn variable
d
ecl
a
rations inside fun
c
tio
n
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
Rudi
n
c
c: move
m
acros like
_
_STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
hola
m
i Rudi
tok: ha
n
dl
e
/
/
com
m
ents
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc
:
ignore the keywords neatcc doesn't care about
commit
|
commitdiff
|
tree
2011-05-01
A
l
i
G
holami
R
u
di
g
e
n: reset las
t
_cmp in i_pro
l
og()
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Rudi
gen: bac
k
-por
t
cmp+bcc o
p
t
imizat
i
on ag
a
i
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i Rudi
ge
n
: move opcodes
to arch
section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
a
m
i Rudi
gen: rename FORK_R
E
G to
REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Ghol
a
mi
Rudi
gen: pas
s
only
O_* constan
t
s
to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
en: handl
e
sym
+
off function cal
l
s
commit
|
commitdiff
|
tree
2011-04-29
A
li
Gholami
R
udi
gen:
move
arc
h
it
e
cture-specifi
c
func
t
ions to the en
d
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gholami Ru
d
i
g
en: use i_set() in
i
_lnot()
commit
|
commitdiff
|
tree
2011-04-01
A
l
i
G
hol
a
m
i
R
udi
gen: pas
s
the number o
f
argumen
t
s
t
o
o_fu
n
c_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
ami
Rudi
g
e
n: encod
e
0xf00000
0
0 as an immediate
commit
|
commitdiff
|
tree
2011-03-31
A
li
Gholami Rudi
g
en: s
w
ap the im
m
edia
t
e if needed for == a
n
d !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghola
m
i Rud
i
g
e
n: en
c
o
d
e cmp+immed
i
ate inst
r
uctions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
ami Ru
d
i
gen: put t
h
e immediate
i
n th
e
opcode if possibl
e
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghola
m
i
R
ud
i
gen: rem
o
ve c
m
p
+branch optimizat
i
on; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
holami R
u
di
cpp: h
a
ndle fu
n
ction macros
w
ith no ar
g
u
me
n
t
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
r
e
name
da
t
_bss()
a
nd
d
at_dat()
to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
ge
n
: group functions
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Gholami Rudi
gen: reset la
s
t_set a
f
ter cmp+b optimizati
o
n
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
udi
gen: fix ~ operator implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Rudi
nc
c
: deref
e
re
n
ce func
t
ion
p
ointers like
a
ny other var
i
abl
e
s
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gh
o
lami
Ru
d
i
ge
n
: do
n
't remove the
l
ast return ju
m
p
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
g
e
n:
d
on't
let o_ca
s
t() chang
e
de
r
eferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olami Rud
i
ncc: use tok_jmp() instead of
tok_(see|get)
(
) in enum_
c
re
a
t
e
()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gh
o
la
m
i
Rudi
gen:
hand
l
e large offsets for
str
commit
|
commitdiff
|
tree
2011-03-25
Ali
Ghol
a
m
i
Rudi
g
en: r
e
place TMP_
R
EG* mac
r
os with r
e
g_f
o
rtmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
gen: change
o_nogen(
)
/o_do
g
en() to be recur
s
ive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gh
o
l
a
m
i
R
u
di
gen: don't generate excess jumps for the las
t
return
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
R
udi
g
e
n
: don't add
du
p
lic
a
te da
t
a
to
n
u
mber pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call tmp_
t
o
()
i
n for loadi
n
g rhs in o_
a
ssi
n
g
(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: ign
o
re O_SIGNED when checkin
g
the opcod
e
commit
|
commitdiff
|
tree
2011-03-17
Ali G
h
olami
R
udi
gen: fix signed div
i
s
i
o
n
to negate th
e
r
e
maind
e
r
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gho
l
am
i
Rudi
gen:
merg
e
dec
r
ement
a
nd c
h
e
ck in i_
m
emcpy() and
i_memset(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
u
d
i
g
e
n:
d
on't save
v
ariable regis
t
ers before calls
commit
|
commitdiff
|
tree
2011-03-15
A
li Ghola
m
i
Rudi
g
en: add software div/mo
d
i
mpl
e
m
e
ntation
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
ncc: set O_SIGN fo
r
most binary
o
perations
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
ncc: dereferen
c
e the not expres
s
ion of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
p
e
rf
o
rm signed op
e
rati
o
n
s
if O_SIGNED
bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Ru
d
i
cpp: define __ar
m
__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
n
cc: don't cast the return
v
a
lu
e
for void fu
n
ctions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lami Rudi
gen: mor
e
compact
version of memcpy(
)
a
n
d memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
Ghol
a
mi
Rudi
ge
n
:
don'
t
outp
u
t relocations whe
n
o_
n
oge
n
(
) is c
a
ll
e
d
commit
|
commitdiff
|
tree
2011-03-13
A
l
i
Ghola
m
i
Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
A
l
i Gholami
Rudi
c
lean up the in
t
e
r
face
betwee
n
ncc
.
c, gen
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami
R
u
d
i
npp:
remove
c
omm
e
nt
s
a
f
ter preprocessin
g
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami
Rudi
cpp: don't r
e
move non
-
macro
numbe
r
signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami
R
udi
npp: allow using
n
eatcc's preprocessor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
Ghol
a
mi Rudi
c
pp: don
'
t skip non-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami Rudi
gen:
fix op_rs()
o
ptimiz
a
tion func
t
ion
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olam
i
R
udi
g
e
n: u
s
e better
n
ame
s
for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
holam
i
Ru
d
i
cpp: de
f
ine __i
3
86__;
__x86_64
_
_ is no longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gho
l
ami Rudi
ge
n
: l
o
ad the
first t
m
p before
callin
g
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
li Gholami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholam
i
Rudi
ncc:
fix name->name
s
tr init
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami Rudi
all
o
w exter
n
ar
r
ay
declarations
w
ithout size
commit
|
commitdiff
|
tree
2010-07-29
Ali
G
ho
l
ami Rud
i
cp
p
: include std
d
e
f
.
h fo
r
us
i
ng offsetof(
)
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Gholami Rudi
tok: parse upperc
a
se hex numbe
r
s
commit
|
commitdiff
|
tree
2010-07-25
A
l
i Gholami Rudi
n
c
c
: fix
se
t
tin
g
F_INIT fo
r
each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
di
c
pp: handle
nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami
Rudi
tok:
do
n
't g
o
beyond buf len f
o
r
3-char
t
ok
e
ns
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Ru
d
i
tab
.
h: use th
e
standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gho
l
ami Rudi
ncc: fix calling t
s
_po
p
() prematurel
y
in opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gholam
i
Rud
i
gen: ignore the
sign of th
e
second operand in / and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Gho
l
ami Rudi
nc
c
: fix &
a
nd * on functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
G
hol
a
mi Rudi
gen: don't overwrit
e
pushed e
b
x, esi and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
gen: change stack al
i
g
n
m
ent
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
hol
a
mi Rudi
n
cc: don't chang
e
ope
r
and order f
o
r con
s
t
ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: only perform const op
f
or addre
s
s
e
s
w
h
e
n adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholam
i
Rudi
gen: zeroi
n
g eax doesn
'
t
seem necessary
commit
|
commitdiff
|
tree
2010-06-30
A
li Gho
l
ami Rudi
ncc: f
i
x
+
+
s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i R
u
di
ncc: fix
f
unct
i
on poi
n
ter
a
rray
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami
Rudi
gen: re
m
ove
t
h
e
unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami
R
udi
gen: use tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gho
l
ami Rudi
port nea
t
cc to
x
8
6
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
olami Rudi
g
en: functions for
performing o
p
timized
o
p
s
commit
|
commitdiff
|
tree
2010-06-24
A
l
i
Ghol
a
mi Rudi
gen: fix two-byt
e
opcode bit
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami
R
udi
gen: use
an int for operat
o
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali
Gholami R
u
di
r
e
place o_
*
(
) functions
with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami Rudi
add speci
a
l
i
zed inc/dec operati
o
ns
commit
|
commitdiff
|
tree
2010-06-21
Ali
Gholami Rudi
g
e
n: let all
grps be used as by
t
e regi
s
ters
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
mi Rudi
out: don't need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
holami Rud
i
t
a
b: let table s
i
z
e
be HASHI
T
EMS
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami Rudi
out: me
r
ge all sect
i
ons into
on
e
text sectio
n
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
c
pp: reset
arg count on macro redefiniti
o
n
commit
|
commitdiff
|
tree
next