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: ignore the semicolon after do-while
2011-05-11
A
li Gho
l
ami Rudi
ncc: ign
o
re the semicolon a
f
te
r
do-wh
i
le
commit
|
commitdiff
|
tree
2011-05-09
Ali
Ghola
m
i Rudi
ncc: swi
t
ch defaul
t
l
a
b
els w
h
e
n
not appearing at th
e
end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: opassign should use
t
he
time
o
f lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
ncc: move no
g
e
n
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
lami Rud
i
ncc: alw
a
ys init
i
a
l
ize outp
u
t filename
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami Rudi
READ
M
E: ignored ke
y
word
s
are now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
m
i
Rudi
ncc: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
hola
m
i
Rudi
ncc:
h
andle extern function declarations insi
d
e
f
unctions
commit
|
commitdiff
|
tree
2011-05-06
A
li Gh
o
l
a
mi
R
u
d
i
nc
c
:
h
andle ex
t
ern vari
a
ble
d
e
c
l
a
rations ins
i
de functions
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghol
a
mi Rudi
n
c
c:
m
ove macro
s
like __STD
C
__ to
n
cc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
li G
h
o
lami
R
u
di
t
o
k
:
h
a
n
dle // c
o
m
m
ents
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholami Rudi
ncc: ignore the keywo
r
d
s neatcc doesn't care
a
bout
commit
|
commitdiff
|
tree
2011-05-01
Ali
G
hola
m
i Rudi
gen:
r
eset
l
ast_cmp in i_
p
r
olog(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
ud
i
ge
n
: back-por
t
cmp+bcc op
t
imizati
o
n again
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rud
i
gen: move
opcode
s
to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: rename F
O
RK_RE
G
to
R
EG_
F
ORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: pass only O_* constants
t
o i_*() fu
n
ctions
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami
R
udi
gen: h
a
ndle
sym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
Rudi
gen: move architecture-specif
i
c
f
uncti
o
ns to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
li Gholami Rudi
ge
n
:
use i_set() in
i
_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
h
olami Rudi
gen: pa
s
s
the number of argum
e
n
t
s to
o
_func
_
beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
gen: encode 0xf000
0
0
0
0 as an immedi
a
t
e
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami Rudi
g
en:
s
w
ap the
immediate if needed fo
r
== and !=
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholami
R
udi
g
en: e
n
code
c
mp+i
m
me
d
iate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghola
m
i Rudi
ge
n
: put the i
m
mediate in
t
he opco
d
e if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen: remove c
m
p+b
r
anch op
t
im
i
z
a
tion; moved to opt br
a
nch
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Gholami Rudi
cpp:
h
and
l
e func
t
ion macros
with
n
o a
r
guments
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
m
i
Rudi
gen: rename dat_bss() and
d
at_dat() to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Ru
d
i
g
e
n: group fu
n
ctions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: reset last_set afte
r
cmp+b optimi
z
ation
commit
|
commitdiff
|
tree
2011-03-28
A
li Gh
o
lami Rudi
gen
:
fix ~ ope
r
ator im
p
lementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: dereference funct
i
on pointers like any
o
ther variables
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
o
lami Rudi
gen: don't rem
o
ve
t
he last
retu
r
n jump
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami Rudi
gen: don
'
t let o_c
a
st() chang
e
dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
ami Ru
d
i
ncc: u
s
e tok_jmp() inst
e
ad of tok_(see|g
e
t)() i
n
enum_create()
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami Rudi
ge
n
: handl
e
l
arge offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holami Rudi
gen: replace TMP_REG* macros with r
e
g_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
ge
n
:
change o_n
o
g
en()/o_dogen() to be
r
ecursive
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rudi
gen: do
n
't
g
e
nerate ex
c
e
s
s jumps f
o
r the last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
Ru
d
i
gen:
d
on'
t
a
dd dupli
c
ate data to num
b
er pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami Rudi
ge
n
: cal
l
tmp_to(
)
in for loading rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali
Gho
l
am
i
Ru
d
i
gen: ignore
O_SIGNED when check
i
ng th
e
opcode
commit
|
commitdiff
|
tree
2011-03-17
Al
i
Gholami Rudi
g
e
n: fix signed division to negate the rema
i
nde
r
commit
|
commitdiff
|
tree
2011-03-16
Ali
Gholami Rudi
g
en: merge
d
ecrem
e
nt and check i
n
i_memcpy() an
d
i_memse
t
()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
g
e
n
:
don't save variable registers b
e
fore calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
gen: add software div/mod impl
e
me
n
tation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
n
c
c:
set O_SIGN f
o
r
mos
t
b
inary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
n
c
c: dere
f
erenc
e
the not express
i
on
o
f c
e
x
prs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perfo
r
m sig
n
ed
operations i
f
O_S
I
GNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
c
pp:
define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami R
u
di
nc
c
: don'
t
cast the return value for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
u
di
gen: more
c
ompa
c
t version of memcpy(
)
and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami Rudi
gen: don't out
p
ut relocatio
n
s
w
h
en o_
n
ogen() is c
a
lled
commit
|
commitdiff
|
tree
2011-03-13
A
li Gholami Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clea
n
u
p
the interface betwee
n
ncc
.
c, gen
.
c and
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: remov
e
comments after preprocessi
n
g
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Ru
d
i
cpp: don't rem
o
ve non-macro
n
u
mbe
r
sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Ru
d
i
npp: allow us
i
ng neatc
c
's prepro
c
essor as a s
t
andalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
G
holami Rudi
cpp:
don't skip non-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
A
li G
h
olami
R
udi
gen: fi
x
op_rs() optimization f
u
nctio
n
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami Rudi
gen: u
s
e
b
ett
e
r na
m
es
for op
c
odes
commit
|
commitdiff
|
tree
2010-12-11
Al
i
Gholami Rudi
c
pp: define __i386__
;
__x86_64__ is no longer
s
upp
o
rted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami
R
udi
gen:
l
oad
t
h
e
f
irst tmp before
c
alling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali G
h
olami
R
udi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghol
a
mi Rudi
ncc: fix name->
n
ame st
r
initializer
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Ghola
m
i Rudi
allo
w
extern array d
e
c
l
arations without s
i
ze
commit
|
commitdiff
|
tree
2010-07-29
A
li G
h
o
l
a
mi Rudi
c
pp: include stddef
.
h for usin
g
offse
t
of(
)
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Gholami Rud
i
tok: parse uppercase
hex numbers
commit
|
commitdiff
|
tree
2010-07-25
A
li Gholami Rudi
n
cc: f
i
x setti
n
g F
_
I
NIT
f
or ea
c
h define
d
name
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami
Rud
i
c
pp: handle nested
macro
c
all
s
like
M(M
(
1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok: don't go beyond b
u
f
l
en fo
r
3-ch
a
r tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
o
l
ami Rudi
tab
.
h: use
t
he stand
a
rd offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami Rudi
ncc: fix calling ts_pop() prematurely in opass
i
g
n
(
)
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Gho
l
a
m
i
Rudi
g
e
n:
ignore the sign of t
h
e second ope
r
and in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: fi
x
& and * o
n
f
u
nctions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen
:
do
n
't
overw
r
it
e
pu
s
hed ebx, esi and
e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i
Rudi
gen: change
stack
a
l
ignmen
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
Rud
i
n
c
c: don
'
t change op
e
ran
d
order for const ops
commit
|
commitdiff
|
tree
2010-07-09
A
li
G
holami Rud
i
gen: only pe
r
fo
r
m
c
o
nst op for addresses when addi
n
g
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rud
i
gen: zeroing eax doesn't se
e
m nece
s
s
ary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
Rudi
ncc: fix ++s for p
o
int
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc
:
f
ix functi
o
n
p
o
inter arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rudi
gen: rem
o
ve the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
R
u
di
gen: use tmp->off f
o
r local
s
to
o
commit
|
commitdiff
|
tree
2010-06-28
Ali Gho
l
ami R
u
di
port neat
c
c
to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen
:
functions for
performing optimiz
e
d ops
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
hola
m
i Rudi
gen: fix two-by
t
e opcode
bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use an int for opera
t
ors
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
rep
l
ace
o
_*() functions with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami Rudi
add specializ
e
d i
n
c/dec oper
a
tio
n
s
commit
|
commitdiff
|
tree
2010-06-21
A
l
i
Gholami
R
udi
g
e
n: let all
g
rps
b
e us
e
d
a
s
byte
r
egist
e
r
s
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: don'
t
n
eed MAXSECS
anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
Ru
d
i
tab: let tabl
e
size be
H
ASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami Rudi
out: merge
a
ll sec
t
ions into one t
e
x
t
s
ection
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholam
i
R
u
d
i
cpp
:
reset arg cou
n
t
on macro redef
i
nition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out:
make neatcc work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
gen: handle char argumen
t
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
nc
c
: align s
t
ructs
based on th
e
first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
mov macr
o
hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
gen:
h
andle
u
n
sign
e
d -> lo
n
g cast
commit
|
commitdiff
|
tree
next