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: handle overlapping conditional expressions
2011-05-19
Al
i
Gholami Rud
i
ncc
:
handle
o
verl
a
pping con
d
itional expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gho
l
a
mi Rudi
nc
c
:
h
andle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Ghola
m
i Rudi
ncc:
ma
k
e
s
u
re t->
a
d
d
r == 0
b
efore cal
l
ing o_pop
n
u
m
(
)
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
n
cc: ignore th
e
semicolon after d
o
-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Ghol
a
m
i
Rudi
ncc
:
switc
h
default
labels when no
t
appearing at t
h
e end
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami R
u
di
n
c
c: opassign should u
s
e the time of lh
s
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
ncc: move n
o
gen to
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
Gholami Rudi
ncc: always initiali
z
e output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami Rud
i
README: igno
r
ed keyword
s
are now b
u
i
lt into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
n
cc: ha
n
dle
e
xtern function declaratio
n
s inside function
s
commit
|
commitdiff
|
tree
2011-05-06
Ali
Gh
o
lami Rudi
n
c
c: han
d
le
e
xtern
variable declaratio
n
s
i
ns
i
de
functions
commit
|
commitdiff
|
tree
2011-05-04
A
l
i
Gholami Rudi
ncc: move
m
acros like __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
tok: hand
l
e // comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholam
i
Rudi
ncc: ignore
the
k
eywords
n
ea
t
c
c doe
s
n't c
a
r
e
about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rudi
gen: r
e
s
et last_cmp i
n
i_pro
l
og()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen
:
back-por
t
cmp+bcc optimization a
g
ain
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami Rudi
gen: move opco
d
es to
a
rch s
e
ctio
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami Rudi
gen
:
rename FORK_REG to R
E
G_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: pass only O_* constants to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gh
o
lam
i
Rudi
g
e
n: handle sym+off
f
u
nction calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
en: move archi
t
ect
u
re-specific functions
to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gholami Ru
d
i
g
e
n
:
u
s
e i_set() in
i
_ln
o
t()
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghol
a
mi
R
u
d
i
gen: pas
s
the
number of argum
e
n
ts to o_fun
c
_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghola
m
i Rudi
gen: encode 0xf0000000 as an i
m
mediate
commit
|
commitdiff
|
tree
2011-03-31
A
li Gholami Rudi
g
en:
swap the immediate
if
n
eeded for == and
!
=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
ge
n
: encode c
m
p+immediate instruc
t
i
ons
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
mi Rudi
gen: p
u
t th
e
imme
d
i
ate in the o
p
code
i
f possible
commit
|
commitdiff
|
tree
2011-03-30
Ali
Ghola
m
i R
u
di
ge
n
: remove cmp+bra
n
ch optim
i
zation; moved to
opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp: handle
f
unc
t
ion macros
w
ith no
a
rguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rudi
gen
:
renam
e
dat_bss()
and da
t
_dat() to begi
n
with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gh
o
lami
Rudi
gen: group f
u
nc
t
io
n
s in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gh
o
l
a
mi Rudi
ge
n
: reset
l
ast_s
e
t after cmp
+
b
optim
i
zation
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rudi
gen: fi
x
~
o
p
e
r
at
o
r implement
a
tion
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami
R
udi
ncc: dereference func
t
ion pointers like any other va
r
iables
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
ho
l
ami Rudi
gen
:
don'
t
remove
t
he last return
jump
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
h
o
lami Rudi
gen: d
o
n't let
o
_
c
ast() change
dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholam
i
Rud
i
nc
c
: us
e
to
k
_jmp() instead
o
f tok_(see|get)() i
n
enu
m
_
c
re
a
te()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen: handle large offs
e
ts for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
u
d
i
g
e
n: replace TMP_REG* macros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Ru
d
i
gen:
change o_nogen()/o_dogen() to
b
e recursiv
e
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
g
en: don
'
t generate excess jumps for th
e
last
ret
u
rn
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gh
o
lam
i
R
u
di
g
e
n
:
don't
add d
u
pli
c
ate d
a
ta to nu
m
ber
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: call t
m
p_to() in f
o
r load
i
n
g rhs in o_ass
i
n
g()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Gh
o
lami
R
u
di
gen: i
g
nore O_SIGNED wh
e
n
che
c
king the opcode
commit
|
commitdiff
|
tree
2011-03-17
Al
i
Gholami Rudi
gen: fix
s
i
g
ned divi
s
ion to negate
the remai
n
der
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: merge decrement
and check in i_memc
p
y(
)
and
i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami Rudi
g
en: don't save v
a
riable r
e
gisters before cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add
s
oftware div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
n
c
c: s
e
t O_SIGN
for
m
ost
b
inary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
R
udi
n
c
c: derefere
n
ce the not e
x
pression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Rudi
perfo
r
m sig
n
ed operations if
O
_SIGNE
D
bit
i
s set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami
Rudi
cpp: d
e
fine __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami
R
udi
nc
c
: don't cast
t
he ret
u
rn v
a
l
u
e for void funct
i
ons
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: more c
o
mpact version of memcpy
(
)
and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rud
i
gen: don't output relocations wh
e
n o_nogen()
is c
a
lled
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghola
m
i Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami
R
udi
cl
e
a
n
up the in
t
erfa
c
e b
e
t
w
e
e
n
n
c
c
.
c
,
gen
.
c and
o
ut
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami
Rudi
npp
:
remove comments af
t
er pr
e
proces
s
ing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
cpp
:
do
n
'
t
remove
n
on-macr
o
numb
e
r sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
am
i
Rudi
npp: allow using
n
eatcc
'
s
p
reprocessor as a stand
a
lone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp: don't skip
non-eol
ma
c
ro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
lami R
u
di
gen: f
i
x op_rs() optimiz
a
tion function
commit
|
commitdiff
|
tree
2010-12-18
A
li Ghola
m
i
R
udi
g
e
n: us
e
bet
t
e
r
n
am
e
s for
o
p
c
o
d
e
s
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
ho
l
ami Rud
i
c
p
p: d
e
fine __i386_
_
; __x86_64__ is no longer supp
o
rted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gho
l
ami Rudi
gen: load
t
he first
t
mp before calling T
M
P_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Ghol
a
mi Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
A
l
i
Gho
l
a
mi
Rudi
ncc: fix name->name str
init
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gho
l
ami Rud
i
a
llow extern array d
e
c
lar
a
tions without
size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: include stdde
f
.
h for u
s
i
n
g
offse
t
of()
commit
|
commitdiff
|
tree
2010-07-28
Ali
Gholami Rudi
tok: parse uppercase hex
num
b
ers
commit
|
commitdiff
|
tree
2010-07-25
A
l
i Gholami Rudi
ncc: fix
s
etting F_INIT f
o
r each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
olami
R
udi
cpp: hand
l
e nested ma
c
ro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok: don't go be
y
on
d
b
uf le
n
fo
r
3-char token
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
l
ami Rud
i
ta
b
.
h: us
e
the stan
d
ard o
f
fse
t
of()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
n
c
c: f
i
x
c
al
l
ing ts_pop
(
)
p
rematur
e
l
y
in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Ghola
m
i Rudi
gen:
ignore t
h
e sign of t
h
e second operand in / and %
commit
|
commitdiff
|
tree
2010-07-10
A
l
i
Gholami
Rudi
nc
c
: fix & and
*
on functi
o
n
s
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
o
l
ami Rudi
gen: don't overw
r
ite pushed e
b
x,
esi and
e
di
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
en: c
h
ange st
a
ck alig
n
men
t
t
o
4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
R
udi
ncc: don't change operand order f
o
r cons
t
ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: only perfo
r
m
c
o
nst op f
o
r addresses when a
d
ding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gho
l
a
mi Rudi
gen: zeroing eax doesn't seem ne
c
essary
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami
Rudi
ncc: fix ++s for
p
o
inters
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
holami Rudi
ncc
:
fi
x
f
unction point
e
r arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami R
u
di
gen: r
e
move the unused c_op(
)
commit
|
commitdiff
|
tree
2010-06-30
A
li
Gh
o
lami Rudi
gen: use tmp
-
>
o
f
f for
l
o
c
als
too
commit
|
commitdiff
|
tree
2010-06-28
Ali
Gho
l
ami Rudi
p
or
t
ne
a
t
c
c to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
olami
R
udi
gen
:
func
t
ions for performing op
t
imized
o
p
s
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: fix two-byte opcode b
i
t
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
ami Rudi
gen: use
a
n int for operat
o
rs
commit
|
commitdiff
|
tree
2010-06-23
A
l
i Gholami R
u
di
replace o_*() functions wit
h
o_b
o
p() and o_uop
(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Ru
d
i
add speci
a
lized inc
/
d
ec operat
i
o
ns
commit
|
commitdiff
|
tree
2010-06-21
A
li Gholami Ru
d
i
gen: let
a
l
l g
r
ps be used as byte
r
eg
i
sters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami Rud
i
ou
t
:
don't need MAXSECS anymo
r
e
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rud
i
tab: let ta
b
le size b
e
HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
out: merge
all secti
o
ns into one t
e
xt section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
Rudi
cpp: reset arg coun
t
on macro redefiniti
o
n
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out: make neatcc w
o
rk with gn
u
l
d
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
holami Rudi
gen: ha
n
dle char arguments
commit
|
commitdiff
|
tree
next