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 empty static initializers
2011-05-24
Ali Gholami
Rudi
ncc: handle empty stat
i
c initia
l
izer
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
ami Rudi
c
pp
:
ignore comments inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
neat
c
c: ad
d
a ncc invoca
t
ion
s
cript
commit
|
commitdiff
|
tree
2011-05-24
A
li Gholami Rudi
mo
r
e
verb
o
se e
r
ror messages for
m
issing files
commit
|
commitdiff
|
tree
2011-05-24
A
li Ghol
a
mi Rudi
c
pp: do
n
't se
a
r
c
h
/usr/incl
u
de
for
headers
by defa
u
lt
commit
|
commitdiff
|
tree
2011-05-22
A
li
Gh
o
l
a
mi
R
udi
cpp: merge cur+
+
's
in readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami Rudi
gen:
f
i
x r
e
g_f
o
r
t
mp() i
n
dentation
commit
|
commitdiff
|
tree
2011-05-19
Ali
Gholami
R
udi
ncc: handle
o
verlapping condit
i
onal expressions
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
ho
l
ami Rudi
ncc: h
a
nd
l
e siz
e
o
f x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali Ghola
m
i Rudi
ncc: make sure t->addr
== 0 be
f
ore calling o
_
p
o
p
num()
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholam
i
Ru
d
i
ncc
:
i
gnore the semicolon
a
f
ter do
-
w
hile
commit
|
commitdiff
|
tree
2011-05-09
Ali Gh
o
lami Rudi
n
cc: swi
t
ch default labels whe
n
not appe
a
ri
n
g a
t
the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi
Rudi
ncc: op
a
ssi
g
n s
h
ould use the time of lh
s
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: move nogen to
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
R
udi
ncc: alwa
y
s initializ
e
outp
u
t file
n
ame
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
README: ignored keywords are now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami R
u
di
ncc: su
p
por
t
-o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
nc
c
: handle ex
t
ern function declarations inside functions
commit
|
commitdiff
|
tree
2011-05-06
A
li Gho
l
ami Rudi
ncc: handle extern v
a
riable dec
l
a
r
ati
o
n
s
i
n
side func
t
ions
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami Rudi
ncc: move mac
r
os
like __STDC__
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
l
i
Gholami Rudi
tok: handle // c
o
mments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Ru
d
i
nc
c
:
ig
n
o
r
e the
k
e
y
words neatcc doesn't c
a
re ab
o
ut
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami
R
udi
gen:
reset l
a
s
t
_cmp i
n
i_pro
l
og()
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami Rudi
g
e
n: back-port cmp+bcc optimizat
i
on again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
udi
gen: m
o
ve opc
o
des
t
o arch s
e
ction
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami R
u
di
ge
n
:
r
ename
F
ORK_REG to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
ge
n
: p
a
ss
onl
y
O_
*
cons
t
an
t
s
to i_*(
)
fun
c
t
ions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rudi
g
e
n:
h
andle sym+off function
c
a
lls
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Ghol
a
mi Rudi
gen:
m
o
ve architectu
r
e-s
p
ecific func
t
i
on
s
to
the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gh
o
lami Rudi
gen: use i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami R
u
di
g
e
n: pass t
h
e number of arguments to o_func_b
e
g()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
Rudi
g
e
n: encod
e
0xf00
0
000
0
as an i
m
med
i
ate
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami
Rudi
gen: swap the immedia
t
e if needed for == an
d
!=
commit
|
commitdiff
|
tree
2011-03-31
A
li
Gholami Rud
i
g
en: encode
cmp+i
m
mediate instruc
t
ion
s
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
gen: p
u
t the immed
i
a
t
e
in t
h
e opcode
if possib
l
e
commit
|
commitdiff
|
tree
2011-03-30
A
l
i
Gholami Rudi
gen: r
e
move cmp+branch optimiz
a
tion; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
c
pp
:
hand
l
e fun
c
tion macros w
i
th no argu
m
e
n
ts
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i
Rud
i
gen: ren
a
me
dat_
b
ss() and dat_dat
(
) t
o
begin
w
i
t
h o_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gho
l
ami
R
udi
gen: g
r
oup
functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: res
e
t last_
s
et afte
r
cm
p
+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: fix ~ opera
t
o
r
i
m
plementation
commit
|
commitdiff
|
tree
2011-03-27
A
li Gholami Rudi
ncc: dereference func
t
i
on pointers
l
i
ke any o
t
her var
i
a
bles
commit
|
commitdiff
|
tree
2011-03-27
Ali Gho
l
a
mi Rudi
gen
:
don
'
t remove the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: do
n
't let o
_
cast() change de
r
e
f
erenc
e
d type
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami
Rudi
n
c
c
: use
tok_jmp() in
s
tead o
f
tok
_
(see|get)() in
enum_cr
e
ate()
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholam
i
Ru
d
i
gen: handle la
r
ge offsets
f
o
r
str
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
o
lami Rudi
g
e
n
:
re
p
lace TMP_REG* macro
s
with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rudi
ge
n
:
change o_nogen(
)
/o_dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gh
o
lami Rudi
gen: do
n
't generate excess jumps for
the
l
ast
r
et
u
rn
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
G
holami Rudi
gen: d
o
n
'
t
a
dd duplicate data to n
u
mber pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
hol
a
m
i
Ru
d
i
gen
:
call
t
m
p
_to
(
) in for l
o
ading rh
s
in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Al
i
Gholami
Rudi
gen: ig
n
or
e
O_SIGN
E
D
w
h
en che
c
king the opcode
commit
|
commitdiff
|
tree
2011-03-17
A
li Gholami Rudi
gen:
f
i
x
si
g
ned division to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
A
li G
h
olam
i
R
ud
i
gen: merge de
c
r
e
ment and check in i_m
e
mcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
g
e
n:
d
on't save variable regi
s
ters before c
a
lls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
g
e
n:
a
dd software di
v
/mod im
p
lementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: set O_SIGN
f
or most binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
ncc: dere
f
erence the not expressio
n
of
c
e
xprs
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami
R
u
d
i
p
erform signed operations if O_SIGNED
b
it is s
e
t
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp:
d
efine _
_
arm_
_
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Ru
d
i
ncc: don't cast the return value for
v
oid function
s
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Rud
i
gen: mor
e
comp
a
ct vers
i
o
n of memcpy()
a
n
d memset()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
gen:
d
on't output relocatio
n
s
w
h
en o_nog
e
n() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali G
h
olami Rud
i
nea
t
cc a
r
m port
commit
|
commitdiff
|
tree
2011-03-08
Al
i
Gholami Rudi
clean u
p
the
interface between ncc
.
c, g
e
n
.
c a
n
d
o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami
R
u
d
i
npp: rem
o
ve com
m
ents a
f
ter preprocessi
n
g
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Ghol
a
m
i
Rudi
cpp:
d
o
n
'
t remove
n
on-macro num
b
er signs
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Ghol
a
mi R
u
di
npp: allow
using neatcc's preproc
e
ssor a
s
a sta
n
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li Gholami Rudi
cpp: don't skip non-
e
ol
m
a
cro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghola
m
i
Rud
i
gen:
f
ix op_
r
s()
optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
u
se
bett
e
r n
a
mes for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: def
i
ne __i38
6
__
;
__x86_64__
i
s
no longer support
e
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Ru
d
i
gen: load th
e
first
t
mp before ca
l
l
i
ng
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
ad
d
README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
R
udi
ncc: f
i
x name->
n
ame str ini
t
iali
z
er
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghola
m
i R
u
di
al
l
ow ex
t
er
n
ar
r
ay dec
l
arations withou
t
siz
e
commit
|
commitdiff
|
tree
2010-07-29
A
li Gholami Rudi
cpp: include st
d
def
.
h
for
u
sing offsetof
(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok: parse uppercase
h
ex numb
e
rs
commit
|
commitdiff
|
tree
2010-07-25
Al
i
G
h
olami
Rudi
ncc: fix setting
F
_INIT
for each
d
ef
i
ned name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami Rudi
cpp:
handle nested macro
c
alls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
h
olam
i
Rudi
tok
:
d
o
n'
t
g
o
beyond buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami Rudi
tab
.
h: use
the standar
d
offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
ncc: fix calling ts_pop() prematurely in opassign
(
)
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gholam
i
Rudi
gen: i
g
nor
e
the sig
n
of the second operan
d
in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Ghola
m
i Rudi
ncc: fix & and * o
n
functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: don
'
t overwrite pushed ebx, esi and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i
Rudi
g
e
n: change s
t
ac
k
alignment
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gh
o
l
ami
Rudi
ncc: don't ch
a
nge ope
r
and order
fo
r
c
onst ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami R
u
d
i
gen:
o
n
l
y
p
erform con
s
t op for addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami
R
u
di
gen: zeroin
g
eax doesn't seem necess
a
ry
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
n
cc
:
f
i
x
++s
for p
o
int
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
o
l
a
mi Rudi
ncc:
fix
f
un
c
tion
p
oi
n
ter arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami
R
udi
gen: remove the
u
nused c_o
p
(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
m
i Rudi
gen:
use tmp->off
for
l
ocals too
commit
|
commitdiff
|
tree
2010-06-28
Ali
Gh
o
lami
Rudi
p
ort neat
c
c t
o
x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen:
f
unctions for pe
r
formi
n
g optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
g
e
n: fix two-
b
yte o
p
code
b
it
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
ami Ru
d
i
gen: use an int for operato
r
s
commit
|
commitdiff
|
tree
2010-06-23
A
li Gholami R
u
di
replace o_*() functio
n
s
with o_bop() an
d
o
_
u
op()
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghol
a
mi Rudi
add specializ
e
d
i
nc/dec ope
r
ations
commit
|
commitdiff
|
tree
next