repo.or.cz
/
neatcc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Makefile: default to x86 build
2011-11-08
Ali G
h
olami
Rudi
Makefile
:
d
e
fault to x86 bui
l
d
commit
|
commitdiff
|
tree
2011-11-08
Ali Gh
o
lami Rudi
ncc: define __i386__
f
or x
8
6 bui
l
ds
commit
|
commitdiff
|
tree
2011-11-08
A
li Ghol
a
mi Rudi
merge
t
he x86
port to master b
r
anch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gho
l
ami Rudi
ncc:
better char array in
i
tializa
t
ion
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
out: assure 8
-
byte alignment of data and bss secti
o
n
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gh
o
lami Rudi
t
ab: fix tab_del(
)
;
otherwise #undef won't work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rudi
n
c
c:
call ts
_
de() in ts_pop_de
(
)
commit
|
commitdiff
|
tree
2011-06-04
Ali Gholami
Rudi
ncc: handle switch stmt where default
label
a
p
p
e
ars
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Al
i
Gholam
i
Rudi
ncc: don't overwrite global nam
e
s by sta
t
ic function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Rudi
cpp: fix handl
i
ng
c
om
m
e
nts and strings inside
m
acros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gho
l
ami Rudi
nc
c
:
h
andle empty sta
t
i
c
in
i
tializers
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
hola
m
i Rudi
cpp: i
g
nore comme
n
ts
in
s
ide s
t
ring m
a
cros
commit
|
commitdiff
|
tree
2011-05-24
A
l
i Gholami Rudi
neatcc: add
a n
c
c invocation
scri
p
t
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
m
o
r
e verbose error messag
e
s for missing
file
s
commit
|
commitdiff
|
tree
2011-05-24
A
li Gh
o
l
a
mi Rudi
cpp: don't
s
earch /u
s
r
/
include
f
or headers b
y
defau
l
t
commit
|
commitdiff
|
tree
2011-05-22
A
l
i Gh
o
la
m
i
Rudi
cpp: merge
c
ur++'s
in readarg(
)
commit
|
commitdiff
|
tree
2011-05-22
Ali
Gholami Rudi
gen: fix re
g
_f
o
rtm
p
() indentation
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handle overlapping
c
onditional e
x
pressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handle si
z
eof
x
+ 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
Ghola
m
i R
u
di
ncc: make sure t-
>
a
d
d
r == 0 before calling o_popnum()
commit
|
commitdiff
|
tree
2011-05-11
Ali G
h
olami R
u
di
ncc
:
i
g
n
ore the semicolon after do-w
h
ile
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholami Ru
d
i
ncc: switch default labels when no
t
ap
p
earing at the
e
n
d
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
ncc: opassign
shoul
d
u
s
e the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Al
i
G
h
olami Rudi
ncc:
m
ove n
o
gen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Ghol
a
mi Rudi
ncc
:
always
i
n
itialize output filename
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
R
E
ADME: ignored key
w
ords ar
e
now built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
ncc: supp
o
r
t -o
out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
n
c
c: handle exte
r
n
function d
e
clara
t
ions insi
d
e funct
i
ons
commit
|
commitdiff
|
tree
2011-05-06
Ali G
h
olami
R
udi
ncc: han
d
le extern
v
a
riable decl
a
rations inside functions
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Ghol
a
mi Rud
i
ncc: move macro
s
l
i
k
e
__
S
TDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghola
m
i
R
udi
tok: h
a
ndle
// comments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gh
o
l
a
mi Rudi
nc
c
: ig
n
ore t
h
e
keywo
r
ds neatcc doesn't care ab
o
u
t
commit
|
commitdiff
|
tree
2011-05-01
Ali
Gholami Rud
i
gen:
re
s
et last_cmp in i_p
r
o
log
(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
hol
a
m
i Rudi
gen: back-port cmp+bcc optimization
again
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
h
o
l
a
mi
R
udi
gen: move opcodes to arc
h
s
e
ction
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i Rudi
gen: rename FORK_
R
EG to
REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
A
li Ghola
m
i Rudi
g
e
n:
pa
s
s only O_* consta
n
ts to i_*() f
u
nctions
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
ge
n
:
h
andle
s
ym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami R
u
d
i
gen:
move arc
h
itecture-
s
pe
c
ific
function
s
to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Ru
d
i
gen: use i_
s
e
t() in i_
l
n
ot
(
)
commit
|
commitdiff
|
tree
2011-04-01
A
l
i
Gholami R
u
di
ge
n
:
pass
t
he
number of a
r
guments to
o
_fun
c
_
beg
(
)
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholam
i
Rudi
ge
n
: encod
e
0xf0000
0
0
0
as an imme
d
iate
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghola
m
i Rudi
gen:
s
wap the
im
m
edia
t
e if need
e
d for == and
!
=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
gen: enc
o
de c
m
p+im
m
ediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali
Gho
l
ami Rudi
gen: put the
i
mmediate in the opcode i
f
po
s
sible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
a
m
i Rudi
ge
n
: remove cmp+bran
c
h optimization;
m
oved
t
o opt branch
commit
|
commitdiff
|
tree
2011-03-30
A
l
i Gholami Rud
i
c
pp: ha
n
dle function macros with no argum
e
nts
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
gen: rename
d
at_bs
s
() and d
a
t_
d
a
t() to
begin with
o
_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami Rudi
gen: group fun
c
tions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen: reset last_set af
t
er cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rudi
gen: fix ~
ope
r
ator implementation
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gho
l
ami
Ru
d
i
nc
c
: d
e
refere
n
ce function point
e
rs li
k
e
any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami Ru
d
i
g
e
n: don
'
t
r
e
move the last re
t
urn jump
commit
|
commitdiff
|
tree
2011-03-27
A
l
i
G
ho
l
ami Rudi
ge
n
: don't let o_cast() change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holam
i
Rudi
ncc: use tok_jmp() instead of tok_(see|ge
t
)()
in enum_c
r
e
a
te()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi Rudi
gen: handle
large o
f
fs
e
ts f
o
r
str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
ami Rud
i
gen: replace TMP_
R
EG*
macr
o
s
w
i
th r
e
g_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholam
i
Rudi
gen:
ch
a
n
g
e o_n
o
gen()/o_dogen() to
be r
e
cur
s
ive
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
ola
m
i Rudi
gen: don't generate exce
s
s jumps for
the last re
t
urn
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holam
i
Ru
d
i
gen: don't add dupl
i
cate
d
a
ta to
number pool
commit
|
commitdiff
|
tree
2011-03-20
A
li Gh
o
lami Rud
i
gen: call tmp_to() in for loading rhs in o_assi
n
g
(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
lami Rudi
gen: ignore O_
S
IG
N
ED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i
Ghol
a
m
i Rudi
g
en
:
fix signed div
i
sion to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali G
h
olami Rudi
gen: merge dec
r
eme
n
t
and che
c
k in i_m
e
mcpy() and i_
m
emset(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
la
m
i
Rudi
g
en: don't save variable r
e
gisters
before cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Ghol
a
m
i Rudi
gen: add software div/m
o
d implementation
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
G
holami Rud
i
n
cc:
s
et O_SIGN fo
r
most
binary ope
r
ations
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
ncc: dereference the not e
x
pression
o
f
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform signed ope
r
ations if O_SIG
N
ED bit is
s
et
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
l
ami Rudi
cpp: de
f
ine __arm__
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
ncc: don't cast the return value fo
r
void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: more compact version of memcpy(
)
and memset()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i G
h
olami Rudi
gen:
do
n
't
o
utput reloc
a
tions when o_noge
n
() i
s
cal
l
ed
commit
|
commitdiff
|
tree
2011-03-13
Ali Ghola
m
i Rudi
neatcc
a
r
m port
commit
|
commitdiff
|
tree
2011-03-08
Ali Ghol
a
mi
Rudi
clean u
p
the
interface betwe
e
n ncc
.
c
,
gen
.
c and ou
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
l
ami Rudi
npp: remove
c
omme
n
t
s aft
e
r
p
reprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i
Rudi
cpp
:
don't re
m
ove non-macr
o
nu
m
ber signs
commit
|
commitdiff
|
tree
2011-02-19
A
l
i G
h
olami Rudi
npp: allow using
nea
t
cc's pre
p
rocesso
r
as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Ru
d
i
cpp: do
n
't skip
non-eol macro backslashe
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghol
a
mi Rudi
gen: fix op_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami R
u
di
gen: use bet
t
er names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami
R
udi
cpp: define __i
3
86__; __x86_64__ is
n
o longer suppor
t
ed
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rud
i
gen: load the
f
i
rst tmp
before calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
Rudi
add
README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gho
l
ami Rudi
n
c
c
: fix
name->n
a
me s
t
r initializer
commit
|
commitdiff
|
tree
2010-08-13
A
li Ghola
m
i Rudi
al
l
ow ex
t
ern ar
r
ay declarations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali
Gholami Rudi
cpp:
i
nclude stddef
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok
:
parse upperca
s
e hex number
s
commit
|
commitdiff
|
tree
2010-07-25
Al
i
G
h
olam
i
R
u
d
i
ncc: fix
settin
g
F_INIT for
each d
e
f
ined na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Ghol
a
mi Rudi
cpp: hand
l
e nested macro cal
l
s li
k
e M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
udi
t
o
k
:
don't go bey
o
nd buf len for 3
-
cha
r
tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
Rud
i
tab
.
h:
u
se the standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gho
l
ami Rudi
ncc: fix
calling
t
s_p
o
p() prematurely in opassig
n
()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gh
o
l
a
mi R
u
di
gen: ignore
t
he sign of
the secon
d
operand in / an
d
%
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Gholami R
u
di
n
c
c
:
f
ix
& and * on functions
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami
R
udi
gen:
don't
ove
r
write pushed ebx,
esi and edi
commit
|
commitdiff
|
tree
2010-07-09
A
li Gho
l
a
m
i R
u
di
gen:
ch
a
nge s
t
ack ali
g
nment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami Rudi
ncc: do
n
't
c
hange op
e
rand
order for
const
ops
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rudi
ge
n
:
o
n
ly perf
o
rm c
o
nst op for addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen: zeroing eax
d
oe
s
n't seem necessary
commit
|
commitdiff
|
tree
next