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
README: ignored keywords are now built into ncc.c
2011-05-08
A
l
i G
h
olam
i
Rudi
R
E
ADME:
ign
o
r
e
d keywords
are now
b
uilt
i
nto
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: suppor
t
-o
ou
t
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
R
udi
n
cc:
h
an
d
le extern func
t
i
on decl
a
ra
t
ions insid
e
f
uncti
o
n
s
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Ru
d
i
ncc: handle exter
n
variable de
c
larations i
n
s
ide function
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
n
c
c
: mov
e
m
a
cr
o
s li
k
e __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami
R
udi
tok: handle
// comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gh
o
lami Rudi
n
c
c
: ign
o
re the k
e
ywords neat
c
c doesn't care
a
bout
commit
|
commitdiff
|
tree
2011-05-01
Al
i
Gholam
i
R
udi
gen: reset last_
c
mp in i_p
r
o
l
o
g()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Rud
i
gen: ba
c
k-port cmp
+
bcc
opti
m
ization
a
gain
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen
:
mov
e
op
c
odes to arch s
e
ction
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
h
o
lami Rudi
gen: rename FORK_REG to REG
_
F
O
RK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
u
di
gen: pass only O_* co
n
s
tan
t
s to i_*() f
u
ncti
o
n
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
l
ami Rudi
gen: handle
s
ym+
o
ff func
t
ion ca
l
ls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Rudi
ge
n
:
m
ove architec
t
ure-specific functions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
li Gh
o
lami Rudi
gen
:
u
s
e i_set
(
) in i_l
n
ot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
g
en:
p
ass the number of arguments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
e
n: enco
d
e 0xf00000
0
0 as an immedi
a
te
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
en: swap the i
m
m
ediate if needed for == and
!
=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami
R
udi
gen: enc
o
de cmp+i
m
med
i
ate i
n
s
t
ructions
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rudi
ge
n
: p
u
t the imm
e
d
i
ate in
t
he opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
g
e
n
:
r
emove cm
p
+b
r
a
n
c
h
optimization; mo
v
ed to opt b
r
anch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
am
i
Rudi
cpp: han
d
le
f
unction ma
c
ros with no
a
rguments
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami Rudi
gen: rename d
a
t_b
s
s()
and
dat_dat()
to b
e
gin wi
t
h o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i Rudi
g
e
n: group func
t
ions in ge
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Gholami Rudi
gen: reset
last_set a
f
ter cmp+b optimiz
a
tion
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
am
i
Ru
d
i
ge
n
: fix
~ oper
a
t
o
r implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Ru
d
i
ncc: dereference
f
unc
t
i
on poin
t
e
r
s like any other variables
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Rudi
gen: don't remove the
l
ast
re
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Rudi
gen: d
o
n't let o_cast()
ch
a
nge dereference
d
t
y
pe
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holam
i
Rudi
ncc: use tok_j
m
p() instead of tok_(see
|
get)()
i
n
e
num_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: handle
l
arge offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
hol
a
m
i
Rudi
g
en: repl
a
ce TMP_REG* macr
o
s with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
gen: chan
g
e
o
_nogen(
)
/o_
d
o
g
en() to be
r
ecur
s
i
ve
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami R
u
di
gen:
don't
g
en
e
ra
t
e excess jum
p
s
f
o
r the
l
a
st
r
e
turn
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
gen:
don'
t
add duplicate data
t
o number pool
commit
|
commitdiff
|
tree
2011-03-20
Al
i
Gholami Rudi
ge
n
:
c
a
ll tm
p
_to() i
n
for load
i
n
g
rhs
in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
lami
R
u
d
i
g
en: ign
o
re O_SIGNED
w
h
e
n
check
i
ng the opcod
e
commit
|
commitdiff
|
tree
2011-03-17
A
l
i Gho
l
ami Rudi
gen: fix s
i
gned division to negate the
remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen:
m
erge
decrement and chec
k
in i_memcpy() and i_m
e
mset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rud
i
gen
:
d
on'
t
save variabl
e
registers befo
r
e calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add sof
t
ware div/mod imp
l
e
m
entatio
n
commit
|
commitdiff
|
tree
2011-03-15
Al
i
G
h
o
l
ami Ru
d
i
n
cc:
s
et O_SIGN for m
o
st
b
inary op
e
rat
i
ons
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gh
o
lami
R
u
d
i
n
c
c: derefe
r
ence
t
he not expr
e
ss
i
o
n
of
c
e
xprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform s
i
g
ned operations if O_SIGNED bit i
s
set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i G
h
olami
R
udi
cpp: define __ar
m
__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
ncc: don't
c
ast
the
r
eturn value for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
g
en: more compact version
o
f
m
emcpy() and mem
s
e
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Ru
d
i
g
en: don't output relocations wh
e
n o_nogen() is ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
Ali
Gholami Rudi
neat
c
c
arm
port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean
up
the inter
f
ace
between ncc
.
c, gen
.
c a
n
d out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Rudi
n
p
p: remove comments after preproces
s
i
ng
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cpp: don't remo
v
e
n
on-ma
c
r
o
number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rudi
npp:
a
ll
o
w using neatcc's preprocessor as a sta
n
dalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholami Rudi
cpp: don't skip no
n
-
e
o
l macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gho
l
am
i
Rudi
gen
:
fix op_rs() o
p
timization f
u
nct
i
o
n
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gholami Ru
d
i
gen:
u
se b
e
tte
r
n
a
mes for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: define
_
_i386
_
_; _
_
x
8
6
_64__ is no longer
s
upp
o
rte
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghola
m
i Rudi
gen: load the
fi
r
st t
m
p
be
f
ore calling TMP_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali Ghola
m
i Rud
i
a
d
d RE
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
nc
c
: fix
n
ame->name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghola
m
i Rudi
allow
extern array decla
r
ations
witho
u
t size
commit
|
commitdiff
|
tree
2010-07-29
A
l
i Gho
l
ami Rudi
c
p
p: include stddef
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok:
p
arse
u
ppercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
A
l
i Gholami Rudi
n
cc: fix setting F_IN
I
T for ea
c
h defined na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
Rudi
cpp: handle nested macr
o
calls like
M
(M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rud
i
tok: don't go beyond buf len for
3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Rudi
tab
.
h: use the standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Ghol
a
m
i
Rudi
ncc: fix
c
allin
g
ts_pop() prematurely in
opassign(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
gen: ignore
t
he sign o
f
t
he second operand in
/
a
nd %
commit
|
commitdiff
|
tree
2010-07-10
Ali Ghol
a
mi R
u
di
ncc: fi
x
& an
d
* on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
hol
a
m
i Rudi
gen:
d
on't ove
r
write pushed ebx
,
e
s
i and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami Rudi
gen: change stack ali
g
nment
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rud
i
ncc: don't ch
a
nge operand order for
c
on
s
t ops
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rud
i
gen
:
only
p
erform
const op
f
or addresse
s
whe
n
adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gho
l
ami Rudi
gen: zeroin
g
e
a
x doesn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
ola
m
i
Ru
d
i
nc
c
: fix ++s for
poin
t
e
r
s
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami Ru
d
i
n
cc: fix funct
i
on pointer
arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen
:
rem
o
ve the u
n
used c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: use tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port
neatc
c
to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
a
mi Rudi
gen
:
fun
c
tions f
o
r perf
o
r
ming optimized op
s
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rud
i
gen: fix tw
o
-byt
e
opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
gen: u
s
e an int for
operat
o
rs
commit
|
commitdiff
|
tree
2010-06-23
Ali Ghola
m
i Rudi
replace o_*() functions
w
ith o_bop()
an
d
o
_
uo
p
(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
h
o
lami Rudi
add specialized i
n
c/dec o
p
erat
i
ons
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Ru
d
i
gen: let
all
grps b
e
used
as byt
e
r
e
gis
t
ers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: d
o
n't need M
A
X
SECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami Rudi
tab: let
tab
l
e size be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami Ru
d
i
o
u
t
: mer
g
e a
l
l sections into one text s
e
c
t
ion
commit
|
commitdiff
|
tree
2010-06-20
Al
i
G
h
olami R
u
di
cpp: reset a
r
g
c
ount on ma
c
ro redefinition
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Gholami Rudi
out:
m
ake neatcc w
o
rk wi
t
h
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
gen:
handle ch
a
r argum
e
nts
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
ncc: align structs based on th
e
first fiel
d
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ol
a
m
i Rudi
mov
macro hash
t
able to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
gen:
h
and
l
e unsigned
-
> long
cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
cpp: sav
e
m
a
cro names in a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami R
u
d
i
ncc:
divide (pt
r
- ptr) result only
if si
z
e
>
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
gen
:
u
s
e mo
v
sxd only whe
n
src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
di
tok: 0x1
shoul
d
be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
gen: fix
t
h
e con
d
itio
n
s f
o
r movxx operatio
n
s
commit
|
commitdiff
|
tree
next