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
tab: fix tab_del(); otherwise #undef won't work
2011-06-16
A
l
i
G
holami Rudi
tab: fix t
a
b_del(
)
; oth
e
rwi
s
e #undef wo
n
't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rud
i
ncc:
call
ts_de() in ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
A
li Gholami Rudi
nc
c
: ha
n
dle switch stmt w
h
e
r
e
default lab
e
l
appe
a
rs
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Ru
d
i
ncc: do
n
't
overwr
i
te global names by static fun
c
tion
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gho
l
am
i
Rudi
cpp: fix handling comm
e
n
t
s and strin
g
s i
n
side macr
o
s
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holami Rudi
ncc: han
d
l
e
empty
s
ta
t
ic in
i
tializers
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Ghola
m
i R
u
d
i
cpp: i
g
nore
c
omments inside st
r
i
n
g macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
ami
Rudi
neatcc: add
a
nc
c
inv
o
cation script
commit
|
commitdiff
|
tree
2011-05-24
Ali
Gholam
i
R
u
di
mor
e
verbose erro
r
messa
g
es for missi
n
g
fil
e
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami R
u
di
cp
p
: don
'
t search /u
s
r/inclu
d
e for headers
by
d
efault
commit
|
commitdiff
|
tree
2011-05-22
Ali Gh
o
lami Rudi
cpp: mer
g
e
cur
+
+'s in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
gen: fix reg_f
o
rtmp() indentation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handle
o
ve
r
lapping conditio
n
a
l
expressions
commit
|
commitdiff
|
tree
2011-05-19
A
li Gholami Ru
d
i
ncc: handle sizeof
x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gho
l
ami Rudi
ncc: make sure
t
->addr == 0
bef
o
re calli
n
g o_p
o
pnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gh
o
lami Rud
i
ncc: ignore the
sem
i
co
l
on after
do-w
h
i
le
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami
R
udi
n
c
c: switch
d
efault
l
abe
l
s when not
a
ppearing at t
h
e
e
nd
commit
|
commitdiff
|
tree
2011-05-08
Al
i
G
holami R
u
d
i
ncc: o
p
a
ssign should use the t
i
me
of lhs
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
G
holami
R
u
di
ncc
:
move nogen to n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
n
cc: always in
i
tialize output
f
i
lename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lam
i
Rudi
README:
i
g
nored keywords are
n
ow built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
ncc: support -
o
out
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
Gh
o
l
a
mi R
u
di
ncc: handle
extern
f
unction d
e
cl
a
ration
s
inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gh
o
lami Rudi
ncc: ha
n
dle exte
r
n vari
a
ble dec
l
a
r
ations inside funct
i
ons
commit
|
commitdiff
|
tree
2011-05-04
A
li Gholam
i
Ru
d
i
ncc: move macros like __
S
TDC
_
_ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholam
i
Rudi
t
o
k: handle
// c
o
m
ments
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami R
u
di
n
cc: igno
r
e the keywo
r
d
s
n
e
atc
c
d
oesn't care about
commit
|
commitdiff
|
tree
2011-05-01
A
li Gholam
i
Rudi
gen: reset l
a
st
_
cmp in i_prolog
(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami Rudi
gen: back-p
o
rt cm
p
+bc
c
optimizati
o
n
a
gain
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami
R
udi
gen: move o
p
codes t
o
arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen:
rename FORK_REG to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami
R
udi
gen: pas
s
only
O
_
* con
s
t
ants to i_*
(
) f
u
nc
t
ions
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
ol
a
mi Rudi
gen: handle sy
m
+off
f
unction
calls
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami
R
ud
i
gen: move architect
u
re-specific fu
n
ctions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami
R
u
d
i
gen: use i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Al
i
G
h
olami Rudi
ge
n
:
p
ass
t
he number of arg
u
m
e
nts
t
o
o
_fun
c
_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
Rudi
ge
n
:
encode 0xf0000000
as a
n
immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
s
wap the imm
e
diate i
f
needed f
o
r
== and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen
:
encode cmp+immediate instructions
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholam
i
Rudi
g
en: pu
t
the immediate in t
h
e
opcode i
f
poss
i
ble
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen: re
m
ove c
m
p+branch opt
i
m
izati
o
n; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
A
l
i Ghola
m
i Rudi
cpp: handle function
m
a
cr
o
s
with no argu
m
ent
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
r
ename da
t
_bs
s
() an
d
d
at_dat()
to begin with
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
m
i Rudi
gen:
group functions
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
gen: reset last_set af
t
er cmp
+
b optimizat
i
o
n
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
holami Rudi
ge
n
:
fix ~ operator
implementa
t
ion
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rud
i
ncc: dereference fu
n
ction pointers
like any
other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't remove
t
he last return j
u
mp
commit
|
commitdiff
|
tree
2011-03-27
A
li Gholam
i
Rudi
gen: don't l
e
t
o
_
c
a
st() change dereference
d
type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc:
u
se tok_jmp() instead
of to
k
_(see|get)() in enum
_
c
r
eate()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami
Rudi
gen: handle larg
e
offsets for s
t
r
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gholami Ru
d
i
gen: replace TMP_REG* m
a
cros with reg_f
o
rtmp
(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi
Rudi
gen: change o_nogen()/
o
_
d
ogen()
t
o be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami Rudi
gen: d
o
n't generate excess jumps for t
h
e last re
t
urn
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholam
i
Rudi
gen: don't add dupl
i
cate data
to
nu
m
ber pool
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
olami Rudi
g
en: call
t
mp_to() in
f
or load
i
ng r
h
s
i
n
o_assing()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Gholami Rudi
gen: ignore O_SIGNED when checking
t
he opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali G
h
olami Rudi
g
e
n:
f
ix signed division t
o
negate the
remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali
Gholami Rudi
gen
:
me
r
ge decrement and ch
e
ck
i
n
i_memcpy
(
) a
n
d
i_memset
(
)
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami Rudi
gen: don't save
varia
b
le registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
gen
:
add software div/mod im
p
lementation
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
olami Rudi
nc
c
: set O_SIGN for mos
t
binary
o
pe
r
ati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
A
li Gho
l
a
mi Rudi
ncc: dereference th
e
n
o
t expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
perform s
i
gned operations if O_SIGN
E
D bit is se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami Ru
d
i
c
p
p: defi
n
e __a
r
m__
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
ho
l
a
mi Ru
d
i
ncc: don'
t
c
a
st the return
value for
v
oid f
u
nction
s
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
g
en: more
c
ompact vers
i
o
n
o
f memcpy
(
) and memset
(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
hola
m
i
Rudi
gen:
d
on'
t
o
utput relocatio
n
s w
h
en o_nogen() is
c
a
l
led
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghola
m
i
Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean up the in
t
erface betw
e
e
n
nc
c
.
c, ge
n
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholam
i
Rudi
n
pp: remove
c
o
mments after preprocess
i
ng
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
R
udi
cpp: d
o
n't remo
v
e non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: allow
using neatcc
'
s
preprocessor as a standa
l
o
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp: don't skip non-eol macro b
a
ckslashe
s
commit
|
commitdiff
|
tree
2010-12-18
A
li
Ghol
a
mi
Rudi
gen:
f
ix op_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
A
l
i
Gho
l
ami R
u
di
gen: use b
e
tter
names f
o
r opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghol
a
mi Rudi
cpp:
defin
e
__i386__; __x86_64__ is no longer
s
u
pport
e
d
commit
|
commitdiff
|
tree
2010-11-20
A
l
i Gholami
Rudi
gen: lo
a
d
the
first tmp before call
i
n
g
TMP
_
REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Ghola
m
i Rudi
add READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
holami R
u
d
i
ncc:
fix
name->
n
ame str initializer
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami
R
u
d
i
allow e
x
tern array declarations withou
t
siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: include stddef
.
h
f
or using of
f
seto
f
(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok:
p
a
rse uppercas
e
hex numb
e
rs
commit
|
commitdiff
|
tree
2010-07-25
A
l
i Ghol
a
mi Rudi
ncc:
fi
x
setting
F
_INIT f
o
r each d
e
fined name
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholam
i
Rud
i
cpp: handle nested
m
a
c
ro calls
like M
(
M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
t
ok: don't
g
o beyond buf
le
n
for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h: use the
s
tandard
o
ffsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gh
o
lami R
u
d
i
ncc: fix
c
a
l
ling ts_pop() prema
t
urely in opassi
g
n
(
)
commit
|
commitdiff
|
tree
2010-07-12
A
li G
h
olami Rud
i
g
en: ignore th
e
sign of the
s
e
cond
o
perand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
n
cc
:
fix & and
* o
n
functi
o
n
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
l
a
mi Rudi
g
e
n: d
o
n
't overwr
i
t
e pushed eb
x
, esi an
d
edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami R
u
di
gen:
cha
n
ge st
a
c
k alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
ncc: don't change operand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gh
o
lami Rud
i
g
e
n:
o
nly perform c
o
nst op f
o
r addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Ghol
a
mi Rud
i
gen: zero
i
ng
e
ax do
e
sn't seem
n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Ghol
a
mi Rudi
n
cc: fix ++s fo
r
poi
n
ters
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
hola
m
i
Rud
i
ncc: fix funct
i
on poin
t
er arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
g
e
n
:
r
e
move the
u
n
used c_o
p
()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
g
e
n
: use tmp
-
>off for
locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami
R
udi
port
n
eatcc to x86
commit
|
commitdiff
|
tree
next