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: support -o out
2011-05-08
Ali
G
holami Rudi
ncc: sup
p
ort -o o
u
t
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gh
o
lami Rudi
n
cc: handle extern function declarations inside fun
c
t
io
n
s
commit
|
commitdiff
|
tree
2011-05-06
Ali
Gho
l
ami Rudi
ncc: ha
n
dle
e
xtern var
i
able
declarations insi
d
e functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gho
l
ami Rudi
ncc: m
o
v
e
macros
l
ike
_
_STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholam
i
Rudi
tok: handle
/
/ comment
s
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc:
i
gnore
t
he
keywo
r
ds ne
a
tcc d
o
e
sn't
care about
commit
|
commitdiff
|
tree
2011-05-01
Ali
Ghola
m
i Rud
i
gen:
reset
last_cm
p
in i_prol
o
g(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
e
n: b
a
ck-port cmp+bcc
optimization ag
a
in
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami Rudi
gen
:
m
ove opcodes
t
o arch
s
ec
t
i
on
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
g
e
n
:
rena
m
e FORK_
R
EG
to REG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
en: pass o
n
ly O_* constan
t
s
t
o i
_
*()
funct
i
ons
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
gen: handle sym
+
off function calls
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
gen: move archite
c
ture-speci
f
ic f
u
nctions to th
e
end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: use i_set() in i_lnot
(
)
commit
|
commitdiff
|
tree
2011-04-01
A
l
i
Gholami
R
udi
gen: pass t
h
e
number of a
r
g
u
ment
s
t
o o_func_beg
(
)
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
ho
l
a
mi Rudi
gen: encod
e
0
x
f0
0
0000
0
as
a
n immed
i
ate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: swap the immediate if needed for
==
a
n
d
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
mi Rudi
gen: enc
o
de cmp+imme
d
iat
e
inst
r
uctions
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
Ghol
a
m
i
Rudi
gen: put
t
he im
m
edia
t
e in t
h
e
o
pcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen: remove
c
mp+branch
o
pti
m
ization; moved to opt
b
ranc
h
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Gholam
i
Rudi
cpp: han
d
le fun
c
tion macros with no argument
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
ge
n
: rename
d
at_bs
s
() and dat_dat() t
o
begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gh
o
l
am
i
Rudi
gen:
g
roup
f
unctions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
g
e
n:
reset la
s
t_set after cm
p
+b
optimiza
t
ion
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami Rudi
gen: fix ~
op
e
rator implementatio
n
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Ru
d
i
nc
c
: derefere
n
c
e function po
i
nters
like
a
ny
o
ther v
a
riables
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghol
a
m
i Rudi
gen: do
n
't
r
emove the
l
ast
return
j
ump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami R
u
d
i
g
e
n: don
'
t let o_ca
s
t() change
d
er
e
ferenced type
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami Rudi
ncc: use tok_jmp() instead
of
tok_(see|get)()
i
n
enum_create
(
)
commit
|
commitdiff
|
tree
2011-03-25
A
l
i G
h
olami Rud
i
gen: handle
l
arge off
s
ets
f
or str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
gen: replace TMP_
R
EG* macros w
i
t
h
reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i R
u
di
ge
n
: change o_nogen()/o_dogen() to b
e
r
ecursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n: do
n
't
g
enerate excess
j
umps for
the
last
r
eturn
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholam
i
Rudi
g
e
n
: do
n
't
add duplicate data to nu
m
ber pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
lami Rudi
gen: call tmp_to(
)
in for loading rhs in o_assing
(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen:
i
gnore O_SIGNED w
h
en checkin
g
the
opc
o
de
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen: fix signed
divisio
n
t
o
negate t
h
e
remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali
G
hol
a
mi R
u
di
gen: me
r
g
e
decrement and c
h
eck in i_memcpy(
)
a
n
d
i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
hol
a
m
i
Rudi
gen: don't s
a
ve v
a
riable regi
s
ters befor
e
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add so
f
tware d
i
v/mod implementa
t
ion
commit
|
commitdiff
|
tree
2011-03-15
A
li
G
holami R
u
di
ncc: set O_SIGN for most binary operations
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gh
o
lami R
u
di
nc
c
: dereference the
n
o
t
expr
e
ssion
o
f cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perfor
m
sign
e
d op
e
ra
t
ions if
O
_SIGNED b
i
t is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
cpp: define _
_
arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gh
o
lami Rudi
nc
c
: do
n
'
t
cast the return value f
o
r void fun
c
tions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
g
e
n: more compact ve
r
sion of memcpy() and memset
(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
g
e
n: don't output rel
o
cations when o_nogen() i
s
called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
l
ami R
u
di
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
A
l
i
G
h
olam
i
Rudi
clea
n
up
the in
t
er
f
ace b
e
tween n
c
c
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
l
am
i
Rud
i
npp: re
m
o
v
e com
m
ent
s
after
preprocessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
G
holami Rudi
cp
p
:
d
on't remove non-macro numb
e
r sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami Rudi
n
pp: al
l
ow
u
sing neatc
c
's preprocessor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rud
i
cpp: do
n
't
s
k
ip no
n
-e
o
l
macr
o
backsl
a
s
h
es
commit
|
commitdiff
|
tree
2010-12-18
A
l
i
Gholami R
u
di
ge
n
: fix op_rs() optim
i
zati
o
n function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
Rudi
gen: use better name
s
for opc
o
des
commit
|
commitdiff
|
tree
2010-12-11
A
l
i Gh
o
lami Rudi
c
p
p: de
f
i
n
e __
i
386
_
_; __x86_64__ is
no longer support
e
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Gho
l
ami Rudi
gen:
l
oad
the
f
irst
t
mp before calling
T
MP_R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
Ali G
h
olam
i
Rudi
ad
d
R
E
ADME
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami
R
udi
ncc: fix
n
a
m
e->name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
lami Rudi
a
l
low e
x
tern a
r
ray de
c
l
a
r
a
tions wi
t
h
o
ut size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
c
p
p: includ
e
stddef
.
h for us
i
ng offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Ru
d
i
tok: parse uppercase hex n
u
m
be
r
s
commit
|
commitdiff
|
tree
2010-07-25
A
l
i Gholami Rudi
ncc: fix setti
n
g F_INI
T
for each defined n
a
me
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami Ru
d
i
cpp: handl
e
nest
e
d macro calls like
M
(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok:
don't go beyond b
u
f len for 3-char token
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
di
tab
.
h: use the
s
tandard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Ru
d
i
ncc:
f
ix ca
l
ling ts_pop() pr
e
mature
l
y in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholam
i
Rud
i
g
en:
i
g
n
ore th
e
sign of the sec
o
n
d oper
a
nd
i
n / and %
commit
|
commitdiff
|
tree
2010-07-10
A
l
i Gholami Rudi
n
c
c
: fi
x
& and
* on
f
u
nct
i
ons
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rud
i
gen: don't overwrite pushed ebx, e
s
i
and
edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
gen:
c
hange stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
m
i
Rudi
ncc: don't change operand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
hola
m
i
R
u
di
gen: o
n
ly perfo
r
m const op
f
or addresses wh
e
n
addin
g
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholam
i
Rudi
gen:
zer
o
ing eax does
n
't se
e
m n
e
ce
s
sa
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i
R
udi
ncc: fi
x
+
+
s for p
o
i
nte
r
s
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gho
l
a
mi Rudi
ncc: fix function pointer ar
r
ays
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
holami Rud
i
g
en: remove the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
gen:
u
se tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port
neat
c
c to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami
Rudi
gen: function
s
for
performing opt
i
m
ized ops
commit
|
commitdiff
|
tree
2010-06-24
A
li
Gholami Rudi
gen: fix two-byt
e
opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
gen: us
e
an int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
replace o_*()
f
u
nctio
n
s w
i
th
o
_bop() and
o
_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
R
udi
add spec
i
al
i
z
e
d inc
/
dec ope
r
ations
commit
|
commitdiff
|
tree
2010-06-21
Ali G
h
olami Rud
i
gen:
l
et a
l
l
g
rps b
e
used
as byte regi
s
ters
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holam
i
Ru
d
i
o
u
t
: don't need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
mi Rudi
tab: let table si
z
e be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami Rudi
out:
m
e
r
ge
a
l
l sectio
n
s into one
t
e
xt
s
ection
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gh
o
lam
i
Rudi
c
p
p:
r
e
s
et arg count on macro
re
d
e
f
inition
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Gh
o
l
a
mi Rudi
out: ma
k
e
neatcc work
wit
h
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen:
ha
n
dle
char
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: align st
r
uc
t
s based on the first fiel
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
mov macro hash table to t
a
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
g
e
n
: handle unsigned
-> long
c
ast
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
c
p
p
: save macro
names in a h
a
sh tab
l
e
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc:
divide (ptr - ptr) result onl
y
i
f
size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
ge
n
: use movsxd o
n
ly
w
hen
src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
tok:
0
x
1 should be unsi
g
ned
commit
|
commitdiff
|
tree
2010-06-18
A
li Gh
o
lam
i
Rudi
gen: fix the co
n
ditions for
movxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
am
i
Rudi
ncc:
fix
g
et
t
i
ng i's t
y
pe in ++i
commit
|
commitdiff
|
tree
next