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
ncc: cast values to architecture word after each operation
2011-03-20
Ali
G
holami Rudi
gen: ignore O_SIGNED wh
e
n checki
n
g t
h
e opcod
e
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen: fix signed d
i
vi
s
ion to negate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen:
me
r
ge
d
ecrement and check in i_memcpy() and i_m
e
mset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
am
i
Rudi
gen: do
n
't sa
v
e
v
ariable
r
egist
e
rs b
e
fore calls
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholami Rudi
gen:
a
d
d
s
oftware div/mod imple
m
entation
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami Rudi
ncc: s
e
t O_SIGN fo
r
most binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
o
l
a
m
i Rud
i
ncc: d
e
refer
e
nc
e
t
h
e
n
ot expression o
f
cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
perform si
g
ned operatio
n
s if
O_SI
G
NED
bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
Ghola
m
i Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
ol
a
mi Rudi
ncc: don't c
a
st
t
he retur
n
value for void fun
c
ti
o
ns
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i
R
udi
g
en: more compact vers
i
o
n
of
memcpy(
)
and
m
emset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen:
don't output relo
c
ations when
o
_nogen() is ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neatc
c
ar
m
p
o
rt
commit
|
commitdiff
|
tree
2011-03-08
Ali
Ghol
a
mi
R
udi
c
lean up
t
he
i
nterf
a
ce betw
e
e
n
ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Ghol
a
mi Rudi
n
p
p: remove comments after prepro
c
essing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Rudi
c
pp: don't remove non-
m
acro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: allow using neatcc
'
s preproce
s
sor
a
s
a
s
tandalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Ru
d
i
cpp: don't skip n
o
n-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
A
l
i
Ghol
a
m
i
Rud
i
gen: f
i
x
op_
r
s() opti
m
ization functi
o
n
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: use better nam
e
s
f
or o
p
codes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholam
i
Rudi
cpp: define __i
3
86__; __x
8
6_64__
i
s
no longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali
G
holami Rudi
gen: l
o
ad th
e
first
tmp
b
efore calling TMP_REG2(
)
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gh
o
lami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghola
m
i R
u
di
ncc: fix na
m
e-
>
name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholam
i
Rudi
allow extern ar
r
ay declarations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
cpp: in
c
lu
d
e
stddef
.
h for us
i
ng offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
t
o
k: parse
u
pp
e
r
case hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Gholami
R
u
di
ncc: f
i
x setting
F
_
I
NIT for each defin
e
d
name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i Rudi
cpp: handle nested ma
c
ro cal
l
s l
i
ke M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok: don't
g
o beyond b
u
f len for 3-char token
s
commit
|
commitdiff
|
tree
2010-07-14
Al
i
G
h
ola
m
i Rudi
tab
.
h: use the stan
d
a
r
d of
f
se
t
of()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
ncc
:
fix
c
alling ts_pop()
p
rem
a
t
u
rely in
o
passign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami Rudi
gen: ign
o
re
t
he
s
i
gn of the secon
d
operand in / an
d
%
commit
|
commitdiff
|
tree
2010-07-10
Ali
Gholami Rudi
ncc: fix &
a
nd * on functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
a
mi Rudi
g
e
n:
d
o
n
't overwr
i
te push
e
d
e
bx,
e
si and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami Rudi
ge
n
: change
s
tack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami
R
udi
ncc: don't chan
g
e
operand o
r
der
for cons
t
ops
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami
Rudi
gen
:
o
nly perform cons
t
op for add
r
e
sses
w
hen adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
Gholami Rudi
gen: zeroing eax doesn't
s
eem
necessa
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi Rudi
ncc
:
fix ++s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc:
fix fun
c
t
ion pointer
arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ge
n
: remove the
unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen:
use tmp->o
f
f
for
locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
holami Rudi
po
r
t neatcc to
x
86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
am
i
Rudi
gen: functions
f
o
r performin
g
optimi
z
ed
o
ps
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rudi
gen: fix two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use an int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rud
i
replace
o
_
*() functi
o
ns with o_bop()
and o_uop
(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add specialized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami Rudi
gen: let all grps
b
e used a
s
by
t
e r
e
gi
s
ters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
d
i
out
:
don't need MAXSE
C
S
an
y
more
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
tab: let table size be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami Rudi
out: merge
all
s
ections into one text
s
e
c
tion
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: reset ar
g
c
ount on macro
r
edefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami
R
udi
o
ut: make neatcc work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: handle char
a
rgume
n
ts
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
ncc: align
structs based o
n
t
he
first fiel
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i
Rudi
mov macro has
h
table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
gen: ha
n
d
l
e unsigned -> l
o
ng cast
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gh
o
lami Rudi
c
pp
:
save ma
c
r
o
name
s
in
a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: divide (ptr - ptr) result on
l
y if si
z
e > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: use movsxd onl
y
when src is
si
g
ned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
tok: 0x1 shoul
d
be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gho
l
ami Rudi
g
en:
fix
t
he c
o
nditions for movxx op
e
rations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
mi Rudi
ncc: f
i
x getting i's type in
+
+i
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
nc
c
: handle ptr
o
p
e
rations
on stru
c
ts
p
trs
commit
|
commitdiff
|
tree
2010-06-18
Ali
Ghola
m
i Ru
d
i
ncc:
f
ix
c
alling fun
c
t
ion poin
t
ers wit
h
a
r
gu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami
R
udi
ncc:
d
on't
t
ake c
a
se exprs
a
s labels
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
h
olami Ru
d
i
gen: don't gene
r
ate code aft
e
r o_nogen()
in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
al
l
t
m
ps should b
e
the same in condit
i
ona
l
branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gh
o
l
a
mi
R
u
d
i
gen:
f
ix loading back
t
mps in mem wi
t
hout deref
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gholam
i
Rudi
let tok_num()
r
et
u
r
n
the
b
t
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Ghol
a
mi Rudi
gen:
relocation a
d
dress size
i
s al
w
ays
4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Ru
d
i
gen: fix SYM_PTR() mac
r
o
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix !!ex
p
r
commit
|
commitdiff
|
tree
2010-06-15
Ali Ghol
a
mi Rudi
ncc: let shift amount be
a
n
uns
i
gned
commit
|
commitdiff
|
tree
2010-06-15
Ali
G
h
olami Rudi
gen: cleanup tmp handl
i
ng and fix regs arr
a
y in
o
_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc:
align struct
m
e
m
b
ers
commit
|
commitdiff
|
tree
2010-06-14
Ali Gh
o
lami Rudi
gen: m
a
rk
c
opied regist
e
r
as the owner in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen: fix "if
(
!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc: fix pointer a
r
ith
m
e
t
ic on struct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
s
h
ow
an error msg if no in
p
ut file
commit
|
commitdiff
|
tree
2010-06-13
Ali
G
hol
a
mi Rudi
tok: accept
upp
e
rcas
e
hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali G
h
olami Rud
i
s
h
o
w synt
a
x
error l
o
c
a
tion
commit
|
commitdiff
|
tree
2010-06-12
Ali Gholami Rudi
gen: fix ignoring reg
o
p1(
)
ret
u
rn v
a
lue
commit
|
commitdiff
|
tree
2010-06-11
A
l
i Ghol
a
mi Rud
i
gen: d
o
n't change tmp->bt
when st
o
ri
n
g an
l
value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
R
udi
gen: exten
d
eax to edx for mul/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
nc
c
:
ar
r
ays
s
hould be processe
d
in the r
e
v
ersed
order
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
ami Rudi
gen: fix the o
r
der of MOVSXD
'
s ope
r
ands
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami
R
udi
gen: fi
x
freei
n
g registers before
c
all
commit
|
commitdiff
|
tree
2010-06-10
Ali Gh
o
l
a
mi Rudi
inva
l
id
a
te
l
ast_cmp if
t
mps a
r
e changed
commit
|
commitdiff
|
tree
2010-06-10
Ali G
h
olami
R
udi
deref
e
r
ence both sides of a conditi
o
nal expression
commit
|
commitdiff
|
tree
2010-06-10
A
li G
h
olami Rudi
cpp: check buffer stack instea
d
of
cppeval variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Ghola
m
i Rudi
cpp:
preven
t
re
c
ur
s
ive
m
acros
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Rudi
cpp:
m
ulti
-
arg
u
ment
macro
s
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
cpp: space
b
etween mac
r
o
an
d
'('
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gho
l
ami Ru
d
i
ncc: ex
i
t if
number of
e
l
ements exceeds
its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ncc
:
only add used extern
a
l symbols to elf symtab
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gh
o
l
a
mi Rudi
handle #
i
f and #
e
l
i
f
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
o
l
ami Rudi
h
an
d
le
#ifdef,
#
i
fnde
f
, #else and #endif
commit
|
commitdiff
|
tree
next