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
out: add a workaround for bad linkers
2011-11-10
Ali Gh
o
lami Rudi
out: ad
d
a
worka
r
o
u
n
d for b
a
d linkers
commit
|
commitdiff
|
tree
2011-11-08
Al
i
G
hol
a
mi Rudi
Makefile: default
t
o x86 buil
d
commit
|
commitdiff
|
tree
2011-11-08
Ali G
h
olami Rudi
ncc:
d
efine __i
3
86__
for
x86 bu
i
l
ds
commit
|
commitdiff
|
tree
2011-11-08
Ali
G
holami Rudi
merge the x86 port to master branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
n
cc: bette
r
c
har array initia
l
ization
commit
|
commitdiff
|
tree
2011-10-17
A
l
i Gholami Rudi
out:
assure 8-byte alignment of data
a
nd bss se
c
tion
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
A
li Gholami Rudi
tab
:
fix ta
b
_de
l
();
o
therwise #undef
won
'
t
work
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholami Rudi
n
c
c: call ts_de()
i
n ts_pop_
d
e()
commit
|
commitdiff
|
tree
2011-06-04
A
l
i Ghola
m
i Rudi
nc
c
:
h
andle switc
h
stmt where
d
efault label
a
ppe
a
rs
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gh
o
lami Ru
d
i
n
cc: don't o
v
erwrite global
names by static function
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
li Gholami
R
udi
cpp: fix ha
n
dling c
o
m
m
ents and strings
inside m
a
cros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
Rudi
ncc: han
d
le empty st
a
ti
c
i
n
itia
l
izers
commit
|
commitdiff
|
tree
2011-05-24
Ali G
h
olami Ru
d
i
cpp: ignore
c
omments inside string macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Ru
d
i
nea
t
cc: add
a ncc
i
n
v
oc
a
tion
s
cript
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Ru
d
i
mo
r
e
v
e
r
bo
s
e
e
r
ror messag
e
s f
o
r mi
s
sing
f
iles
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami
R
udi
cpp: don't s
e
arch
/
usr/include for headers by de
f
ault
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholam
i
Ru
d
i
cpp: merg
e
cu
r
++'s
in readarg()
commit
|
commitdiff
|
tree
2011-05-22
A
li Gholami Rudi
g
en
:
fix reg
_
fortmp() indentat
i
on
commit
|
commitdiff
|
tree
2011-05-19
Al
i
Gh
o
la
m
i R
u
di
ncc:
handle ov
e
rlappi
n
g co
n
ditional expressio
n
s
commit
|
commitdiff
|
tree
2011-05-19
Ali Gholami Rudi
ncc: handle sizeof x +
2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
n
cc:
make
s
u
re t
-
>addr == 0 before ca
l
ling o_popnum
(
)
commit
|
commitdiff
|
tree
2011-05-11
A
l
i Gholami Rudi
n
cc:
i
gno
r
e
th
e
s
emicolon after do-whil
e
commit
|
commitdiff
|
tree
2011-05-09
Ali Gholam
i
Rudi
ncc:
sw
i
tch
d
efault
l
abels when not
a
pp
e
arin
g
at the end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
a
m
i Rudi
ncc:
o
passign should use the t
i
me of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc
:
move
no
g
e
n to n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghol
a
mi Rud
i
n
cc:
always
i
nitialize output fi
l
ena
m
e
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
README
:
ignor
e
d keywords are now
b
uilt into nc
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
ami Rudi
ncc: su
p
port -o
ou
t
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
am
i
Rudi
ncc: handl
e
e
x
tern functio
n
declarations inside functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Rudi
ncc
:
ha
n
dle
extern variable declarations inside functions
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
h
olami
Rudi
ncc: move
macro
s
li
k
e
_
_
STDC__
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghola
m
i Ru
d
i
to
k
:
h
a
ndle // co
m
ments
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rud
i
ncc: igno
r
e the keywords ne
a
tcc
doesn't care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rudi
gen: re
s
et last_cmp in i_prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gho
l
am
i
Rudi
gen:
b
ack-port cmp+bcc optimization a
g
ain
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
gen
:
move
opcodes
to arch
s
ecti
o
n
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
ho
l
ami R
u
di
ge
n
: renam
e
FORK_REG to
REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: pass
only O_* constant
s
to i_*()
functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami Rudi
gen: h
a
ndle sym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
gen:
m
o
ve architecture-specific f
u
nctio
n
s to
t
he end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gho
l
ami
Rudi
gen:
u
se
i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Ghol
a
m
i
Rudi
gen: pass the
n
umber of
argu
m
ents to o
_
func_beg()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
G
holami Rudi
g
en: encode 0
x
f0000000
a
s an i
m
m
e
d
iate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: swap
the immedia
t
e if ne
e
ded
f
or == an
d
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
g
e
n
:
e
nc
o
de
c
mp+immediate
instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
ami R
u
di
gen: put the imme
d
iate in the
o
p
c
ode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
g
e
n: remove
cmp+branch optimiza
t
ion
;
moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami R
u
di
cp
p
: handl
e
f
u
nct
i
on macros w
i
th
no
argumen
t
s
commit
|
commitdiff
|
tree
2011-03-28
Ali Gho
l
ami
R
udi
ge
n
: rename dat_bss() a
n
d dat_
d
at() t
o
begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali
Gholami
R
udi
g
e
n
: group func
t
ions in
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholam
i
Rudi
g
en: rese
t
l
a
s
t
_set after cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: fix ~ operator implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
Ru
d
i
nc
c
:
d
ereference function
pointers like any
o
t
her v
a
riable
s
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
g
e
n: d
o
n't remove the last
r
et
u
rn
j
um
p
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen:
don't
l
e
t
o_cast() chang
e
dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
udi
ncc:
use to
k
_
jmp()
i
n
stead of tok
_
(
s
ee|get)(
)
in enum_create(
)
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami
R
udi
gen
:
handle large offsets for
s
t
r
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi Rudi
gen: r
e
place TMP_REG
*
mac
r
os w
i
t
h
r
eg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
R
udi
gen: change o_no
g
en()/o_dog
e
n() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holami R
u
di
gen: don't generate excess ju
m
ps for the la
s
t
return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n: don't add duplicate d
a
ta t
o
nu
m
ber pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Ru
d
i
gen:
ca
l
l tmp_to() in for loadi
n
g
rhs in
o
_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghol
a
mi Rudi
gen:
i
gnore O_SI
G
NED
w
hen
c
hecking the opcode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i
Gholami Rudi
gen: f
i
x signed
division to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gho
l
ami
R
udi
gen: merge decrement
a
n
d check
i
n i_memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: do
n
'
t save
variabl
e
reg
i
sters
b
e
f
ore calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
gen: add sof
t
ware div/mod i
m
plem
e
ntation
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami
Rudi
ncc: set
O
_
S
IGN for m
o
st binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc:
d
e
re
f
erence the not expressio
n
of cex
p
rs
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rudi
p
erform
signed
o
p
erations if O_SI
G
NED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
a
m
i Rud
i
c
p
p: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc:
d
on'
t
c
a
st
t
he retur
n
value fo
r
void f
u
nctions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: mo
r
e compac
t
v
e
rs
i
on of
m
emcpy()
a
nd memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
g
e
n:
d
on
'
t
out
p
u
t
relocations when o_no
g
e
n(
)
is
called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rud
i
neatc
c
arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean up
the interface
between ncc
.
c
,
gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Rudi
npp: r
e
move com
m
ents afte
r
preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gholami
R
udi
cpp:
d
on't
remove
n
on-macro numbe
r
signs
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Ru
d
i
npp
:
allow using neatcc's preproce
s
sor a
s
a stand
a
lone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
c
pp: don't skip no
n
-eol mac
r
o backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gholami Rudi
gen: fix
op_rs
(
) optimiz
a
tion function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rud
i
gen: use be
t
t
e
r
names for opc
o
des
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
holam
i
Rudi
cpp: define __i386__; __x86_64__ i
s
no longer suppor
t
ed
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghola
m
i Rudi
gen: load th
e
f
ir
s
t tmp
bef
o
re c
a
lling T
M
P_R
E
G2()
commit
|
commitdiff
|
tree
2010-09-16
A
li Gh
o
lami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc: fix name-
>
n
a
me
s
tr in
i
t
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allo
w
extern
a
r
r
ay declar
a
t
ions without siz
e
commit
|
commitdiff
|
tree
2010-07-29
A
l
i
Ghol
a
m
i
Rudi
cpp: includ
e
s
t
ddef
.
h for using offseto
f
()
commit
|
commitdiff
|
tree
2010-07-28
Ali G
h
ola
m
i
R
u
d
i
tok: parse uppercase hex num
b
ers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholam
i
Rud
i
nc
c
:
fix se
t
ting
F
_IN
I
T for each def
i
ned
n
ame
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cp
p
:
ha
n
d
l
e nested m
a
cro
calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
h
o
lami Rudi
tok:
d
o
n
'
t
go beyond buf len for
3
-char tok
e
ns
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Ru
d
i
tab
.
h: use the
s
tandard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Ghol
a
mi Ru
d
i
ncc: f
i
x calling ts_
p
op
(
) prem
a
turel
y
in op
a
s
s
i
gn(
)
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Gholami Rudi
gen: ignore the s
i
gn
o
f the second operand
i
n / and %
commit
|
commitdiff
|
tree
2010-07-10
A
li Gholami Ru
d
i
ncc: fix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
gen:
d
on't overwrit
e
p
u
shed
ebx, esi an
d
e
di
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: change
s
tack alignmen
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
o
l
ami Rud
i
ncc: don't change operand or
d
e
r
fo
r
const ops
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
Gholami R
u
di
g
en
:
only perform cons
t
op for addresse
s
when adding
commit
|
commitdiff
|
tree
next