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: ignore the semicolon after do-while
2011-05-11
Ali G
h
ol
a
mi Rudi
ncc: ignore
t
he semicolon
a
fte
r
do-while
commit
|
commitdiff
|
tree
2011-05-09
Al
i
Gholami
Rudi
n
cc: switch defau
l
t
l
a
bels when not appearing at the end
commit
|
commitdiff
|
tree
2011-05-08
Al
i
G
h
o
l
ami Rudi
ncc:
opassign
s
h
ould use
t
h
e
time o
f
lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
ncc: mov
e
nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i
Rudi
ncc: alway
s
i
n
iti
a
lize
o
u
tpu
t
filen
a
me
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
README:
i
gno
r
ed
k
eywo
r
ds
a
re n
o
w built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: supp
o
rt
-o ou
t
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rudi
n
cc:
h
a
ndle extern fun
c
tio
n
d
eclaratio
n
s ins
i
de
functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Rudi
ncc: ha
n
d
le extern v
a
riable d
e
clarations insid
e
functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami Rudi
nc
c
:
m
o
ve
macros like
_
_STDC__
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
tok: han
d
le /
/
comments
commit
|
commitdiff
|
tree
2011-05-04
Ali
Gholami Rudi
ncc
:
ignore the keywords ne
a
tcc doesn'
t
care about
commit
|
commitdiff
|
tree
2011-05-01
A
li Gholam
i
R
u
di
gen:
r
eset last_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
A
li Ghola
m
i
R
udi
gen: bac
k
-port cmp+bcc optimization again
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Rudi
gen:
m
o
ve
o
pco
d
es t
o
arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali
Ghol
a
mi Rud
i
gen: rename
F
ORK_RE
G
to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
mi Rudi
gen: pa
s
s only O_* constants to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: hand
l
e
sym
+
of
f
f
unction
c
alls
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gholami Rudi
gen:
move architecture-specific functions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
holami Rudi
g
en
:
u
s
e i_set() in i_
l
not()
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghola
m
i
R
u
di
gen:
p
ass the
n
umber of argu
m
ents to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami Rudi
gen: encod
e
0xf0000000 as an imm
e
diate
commit
|
commitdiff
|
tree
2011-03-31
A
li Gho
l
ami Rudi
gen: swap the immediate if needed for == and !
=
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
Gholami Rudi
gen: e
n
code cm
p
+immedi
a
te instruc
t
ions
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghola
m
i Rudi
gen: put
t
he im
m
e
d
iate
in the opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
a
mi
R
udi
g
e
n: re
m
ove cmp+branch opti
m
ization
;
moved to
o
pt b
r
anch
commit
|
commitdiff
|
tree
2011-03-30
Al
i
G
hol
a
m
i
Rudi
c
p
p: handle functio
n
macros
w
ith no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
gen: r
e
name dat_bss() and
d
at_d
a
t() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rudi
g
e
n: group
f
unctions i
n
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
gen: rese
t
last_set after cm
p
+b
op
t
imization
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gho
l
ami
R
udi
gen: fix ~ opera
t
or implementation
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Rudi
ncc: derefe
r
ence fu
n
c
t
ion pointe
r
s like
any other va
r
iables
commit
|
commitdiff
|
tree
2011-03-27
A
li Gh
o
lami R
u
di
gen: do
n
't
remove the l
a
st return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami R
u
di
g
e
n: d
o
n't let o_cast() chang
e
derefere
n
c
ed type
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
ncc:
u
se t
o
k_jmp() instead of
tok_(
s
ee|
g
et)
(
) in enum_create(
)
commit
|
commitdiff
|
tree
2011-03-25
A
li
Gholami Rudi
ge
n
:
h
andle large
o
ffse
t
s fo
r
str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
Rudi
gen: replace TMP_REG*
m
acros with reg_f
o
rt
m
p()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
R
udi
ge
n
:
change o_nogen()
/
o_d
o
gen() to be
r
e
c
ursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
ami R
u
di
g
e
n
: d
o
n't gene
r
ate
e
xcess jumps
f
o
r the last re
t
urn
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't add duplica
t
e data to number poo
l
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen:
c
al
l
t
mp_to()
in
for loading rhs i
n
o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami Rudi
gen:
ignore O_SIGN
E
D
when
checkin
g
the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami R
u
di
gen: fix sign
e
d div
i
sion
to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Ghol
a
m
i R
u
di
gen:
merge dec
r
ement and
c
hec
k
i
n i_me
m
cpy() and i_memse
t
()
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
hol
a
mi Rudi
gen:
don't save
variable
r
egister
s
before
c
a
l
ls
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
o
l
ami Rudi
ge
n
:
add software div/m
o
d
i
m
plementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
ncc: set O_SIGN for most binary
o
perations
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami
Rudi
ncc
:
d
ereference the not
e
x
pression of
c
exp
r
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perfor
m
si
g
ned operations if
O
_SIGNED bi
t
is set
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
cpp: define
_
_arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi Rudi
ncc: don't
cast the return v
a
l
u
e for void
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi
R
u
di
ge
n
: more compact
v
e
rsio
n
o
f mem
c
py() a
n
d memset(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i
Rud
i
gen: do
n
't ou
t
p
ut
r
e
locat
i
ons
when o_nogen() is call
e
d
commit
|
commitdiff
|
tree
2011-03-13
Al
i
Gholami
Rudi
neatcc ar
m
port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clea
n
up the interf
a
c
e
between n
c
c
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
Rudi
npp: remove commen
t
s
a
fter p
r
eprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami
Rud
i
cpp: do
n
'
t
r
emove non-m
a
cro number signs
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gho
l
a
m
i Rudi
npp: allow
usin
g
neatcc's pr
e
proce
s
sor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholami Rudi
cpp: don't
s
kip non-eol macr
o
ba
c
kslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: fix op_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami Rudi
gen: use better names f
o
r o
p
c
o
des
commit
|
commitdiff
|
tree
2010-12-11
Ali G
h
o
l
ami Rudi
cpp: define __i
3
86__; __x86
_
64__ is no
longer suppor
t
ed
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rud
i
gen: load
the
f
irst tm
p
b
efor
e
c
all
i
n
g TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
R
udi
ad
d
R
EADME
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gho
l
ami Rud
i
ncc: fix name->na
m
e
s
t
r
initi
a
lizer
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gholami Rudi
allow extern ar
r
ay declaratio
n
s wi
t
hout size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gh
o
lam
i
Rudi
cpp: in
c
lud
e
s
t
ddef
.
h for u
s
in
g
offsetof(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Gho
l
ami Rudi
t
o
k: parse uppercase
hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali G
h
olami Rudi
ncc: fix sett
i
ng F_INIT for each de
f
ined nam
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rudi
cpp: handl
e
n
este
d
macro calls
l
ik
e
M
(
M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
h
olami
R
udi
t
o
k
: don't go beyond b
u
f len for 3-char
tokens
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami
Rudi
tab
.
h: use the standard of
f
setof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
Rudi
ncc: fix
call
i
ng ts_
p
op()
p
r
ematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Ghola
m
i Rud
i
gen:
i
g
n
or
e
the si
g
n
of the second operand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gh
o
lami Rudi
ncc: fix & and *
o
n functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
olami Rudi
gen:
don't overwrit
e
pushed ebx, es
i
a
n
d
edi
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami R
u
di
g
e
n: change stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi
R
udi
n
c
c: don't c
h
a
n
ge oper
a
nd order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i R
u
d
i
gen:
only perform const op for addresses when
a
d
d
in
g
commit
|
commitdiff
|
tree
2010-07-08
A
li Gholami Rudi
gen: zeroin
g
eax
d
oesn'
t
se
e
m necessa
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
R
ud
i
ncc
:
fix
+
+s for point
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix
f
uncti
o
n
p
ointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
holami R
u
di
gen:
r
emo
v
e the
u
nused c_
o
p()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
g
en: use tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
h
olami Rudi
port ne
a
tcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
o
lami Rudi
gen: functions
f
or performin
g
optimized
ops
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gholami Rudi
gen: fix
t
wo-byte o
p
code bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
lami Rud
i
gen:
use an int fo
r
oper
a
tors
commit
|
commitdiff
|
tree
2010-06-23
A
l
i
Gh
o
lami Ru
d
i
replace o_*() funct
i
ons with o_bop(
)
and o_uop(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
h
o
lami Rudi
a
d
d
s
pecialized inc/de
c
operations
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami
Rudi
gen: l
e
t all grps be used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out:
don't ne
e
d MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
tab: let t
a
ble
size be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
d
i
o
ut: m
e
rge all s
e
ctions
into o
n
e
t
ext sec
t
ion
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
c
p
p: reset arg count
o
n m
a
cro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami
Rudi
o
u
t
:
make neat
c
c work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi R
u
di
gen: ha
n
dle char a
r
gum
e
nts
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gh
o
lami Rudi
ncc: alig
n
str
u
cts ba
s
e
d
on the
f
i
r
st fi
e
ld
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami R
u
di
mov macro hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami
R
udi
ge
n
:
handle unsi
g
ned -> long cast
commit
|
commitdiff
|
tree
next