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
gen: ignore O_SIGNED when checking the opcode
2011-03-20
Ali G
h
olami Rudi
gen: ign
o
re
O
_SIGNE
D
when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami R
u
di
gen
:
fi
x
signed d
i
v
ision to negate t
h
e remainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i
Gholami R
u
di
gen: merge decrement
a
nd chec
k
in i_memc
p
y() an
d
i
_
me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
G
h
o
lami Rudi
gen: don't
s
ave vari
a
ble r
e
g
i
sters before c
a
ll
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami R
u
di
ge
n
: ad
d
s
o
ftwar
e
div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Ghol
a
m
i Rudi
n
cc: s
e
t O_SIGN for mo
s
t binary
o
peration
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
n
c
c: dereference the n
o
t exp
r
ession of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perform signe
d
operatio
n
s
if
O
_S
I
GN
E
D
bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
cpp
:
define
__arm__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Ghol
a
mi Rudi
nc
c
: don't cas
t
t
h
e
r
eturn value for void functions
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gholami Rudi
gen:
more compact
version of mem
c
py() and m
e
mset()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gholami Rudi
gen: d
o
n't
o
utput r
e
loca
t
ions when
o_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Al
i
Gholami
Rudi
neatcc
ar
m
port
commit
|
commitdiff
|
tree
2011-03-08
A
l
i
Gholami Rudi
c
l
ean up the interface
betw
e
en ncc
.
c, gen
.
c a
n
d out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
n
p
p:
r
emo
v
e comments after pre
p
roces
s
ing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cpp:
don't re
m
ove n
o
n-macro number si
g
ns
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gholami Rudi
npp: allow usi
n
g nea
t
c
c
's p
r
epr
o
ce
s
sor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Al
i
Gholam
i
Rudi
c
p
p: don't
skip non-
e
o
l
m
a
cro back
s
lashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami
R
udi
gen: fix op_
r
s() op
t
imization fu
n
ct
i
on
commit
|
commitdiff
|
tree
2010-12-18
A
l
i G
h
ol
a
mi
Rudi
gen: use
better n
a
mes
for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Gholami Rudi
cpp: define __i386__; __x86_64
_
_
is n
o
l
onger suppor
t
e
d
commit
|
commitdiff
|
tree
2010-11-20
A
l
i G
h
olami R
u
di
gen: load
t
he first tmp before
calli
n
g T
M
P_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gholami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
lami Rudi
ncc: fix n
a
me->name str
i
nitial
i
zer
commit
|
commitdiff
|
tree
2010-08-13
A
li G
h
olami R
u
di
allow extern a
r
ray de
c
larations
w
ithou
t
size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gh
o
lam
i
Rudi
cpp: i
n
clude stddef
.
h for
u
s
i
ng
o
ffsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
tok: parse upperca
s
e hex n
u
mbers
commit
|
commitdiff
|
tree
2010-07-25
A
l
i
G
holami Rudi
n
c
c: fix setting F_INIT
f
o
r
e
ach d
e
fi
n
e
d
na
m
e
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
G
holami Rudi
c
pp: handle
n
ested macro
cal
l
s like M(M(
1
))
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholam
i
Rudi
tok: don't go
bey
o
nd bu
f
len
for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
Rudi
tab
.
h: use the s
t
anda
r
d o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gholami
R
udi
n
c
c: fix
calling ts_pop() pr
e
matur
e
ly in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
gen: ignore t
h
e
s
i
gn of
t
he seco
n
d ope
r
and
in / an
d
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami
R
ud
i
ncc: fix & and * on f
u
nct
i
ons
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Ghola
m
i Rudi
gen:
don't overw
r
ite pu
s
hed
ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
gen: ch
a
nge stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
h
olami
R
udi
ncc:
d
on't
chan
g
e oper
a
nd
o
rder
f
or const ops
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
hol
a
mi
R
u
d
i
g
en: only perfor
m
cons
t
op for addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali G
h
ol
a
m
i
Rud
i
gen: zeroing eax doe
s
n
't s
e
em nec
e
ssary
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rud
i
ncc: fix ++s
fo
r
po
i
nter
s
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami Ru
d
i
ncc: fix
f
u
n
c
tion
p
oin
t
er arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
mi
R
udi
gen: remove the unus
e
d c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghol
a
m
i
R
u
di
g
en: use tmp->o
f
f
f
o
r locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholam
i
Rudi
port n
e
atcc
t
o x86
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Ghola
m
i
Rudi
g
en: functions for pe
r
forming opti
m
ized ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i
Gholam
i
Rudi
g
en: fix two-byte o
p
code bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghol
a
mi Rudi
gen: use an int for oper
a
t
ors
commit
|
commitdiff
|
tree
2010-06-23
Ali G
h
olami Ru
d
i
replace o_*() functions with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
holami R
u
di
add speci
a
lized inc/dec
operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
gen: let al
l
grps be
u
s
ed as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out: don
'
t ne
e
d MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami Rudi
tab: let table size be HASHIT
E
MS
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Ghol
a
mi Rudi
out: merge all sectio
n
s i
n
t
o
o
ne text
s
ection
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholami Rudi
c
p
p: reset arg count on macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami
Rudi
out: make neatc
c
w
ork wi
t
h gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
gen: handle c
h
a
r a
r
guments
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gh
o
lami Rudi
nc
c
: align s
t
ructs ba
s
ed on
th
e
first fie
l
d
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
mov mac
r
o
h
as
h
table t
o
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami
R
u
di
ge
n
:
han
d
le un
s
igned
-> lo
n
g
c
ast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
di
cpp: save macro name
s
in a ha
s
h
t
a
ble
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
nc
c
:
d
i
vide (ptr - ptr)
r
es
u
lt
o
n
ly if size > 1
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gho
l
ami Rudi
g
en: use movsx
d
onl
y
w
hen src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
tok: 0
x
1 should be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
ge
n
: fix the con
d
itions fo
r
mo
v
xx op
e
rations
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gh
o
l
a
m
i
R
udi
n
c
c
:
fix get
t
ing i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i Rudi
ncc: ha
n
dle
p
t
r
operations on
structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i Rudi
ncc: f
i
x
c
alling function poi
n
ters with a
r
g
uments
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
n
c
c: don't tak
e
c
a
se exprs as l
a
be
l
s
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
gen: don't generate code aft
e
r o_noge
n
() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
ol
a
mi Rudi
all tmps should be the same in conditional
branc
h
es
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
h
o
l
ami Rudi
gen: fix loa
d
ing
back tmps in mem w
i
th
o
ut deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami R
u
di
let tok_num() re
t
u
r
n
t
h
e bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rud
i
gen: reloc
a
t
i
on address size
i
s
a
lways
4
for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami Rudi
gen:
fi
x
SYM_PTR() mac
r
o
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali G
h
olami Rudi
ncc: le
t
s
h
ift amount be a
n
unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ge
n
: cle
a
nup tmp ha
n
d
lin
g
an
d
fix regs a
r
ray in o_sw
a
p
()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
R
u
d
i
n
cc
:
al
i
gn struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Ru
d
i
gen: ma
r
k copied register as the owner in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
Rudi
gen: fix "if (!exp
r
)
"
commit
|
commitdiff
|
tree
2010-06-14
A
li Gholami Rudi
ncc: fix pointer ari
t
h
m
etic on
s
tr
u
ct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami Rudi
show an error
m
s
g if
n
o input file
commit
|
commitdiff
|
tree
2010-06-13
Ali Ghol
a
m
i
Rudi
tok: acc
e
pt uppercase hex
digits
commit
|
commitdiff
|
tree
2010-06-13
A
li G
h
ol
a
mi Rudi
show sy
n
tax error locatio
n
commit
|
commitdiff
|
tree
2010-06-12
A
l
i
G
h
ola
m
i Rudi
gen: fix
ignoring regop
1
(
) re
t
u
rn value
commit
|
commitdiff
|
tree
2010-06-11
Al
i
Gh
o
l
a
m
i Rudi
gen: do
n
't
c
han
g
e t
m
p
-
>bt
when storing an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gh
o
lam
i
Ru
d
i
gen
:
ext
e
nd eax to edx for m
u
l/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali
Gholami Rudi
ncc: arr
a
ys sho
u
l
d be proc
e
ssed in the reversed order
commit
|
commitdiff
|
tree
2010-06-10
A
l
i
Ghol
a
m
i
Rudi
gen: fi
x
the orde
r
of MOVS
X
D's operands
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
holami
R
udi
gen: fix freeing registers bef
o
re c
a
ll
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
inval
i
d
ate last
_
c
m
p
i
f tmps are
change
d
commit
|
commitdiff
|
tree
2010-06-10
Ali
Ghol
a
mi Rudi
dere
f
ere
n
ce
b
oth side
s
of
a
con
d
ition
a
l e
x
p
r
ession
commit
|
commitdiff
|
tree
2010-06-10
A
li Gho
l
ami Rudi
cpp: chec
k
buffer stack i
n
stead of cpp
e
val vari
a
ble
commit
|
commitdiff
|
tree
2010-06-09
Ali Gho
l
ami
R
u
d
i
c
pp: preve
n
t
r
ec
u
r
s
i
ve macros
commit
|
commitdiff
|
tree
2010-06-09
Al
i
Ghol
a
mi Rudi
cpp:
m
ulti-a
r
gument macro
s
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rud
i
cpp: space
b
et
w
een
m
a
cro an
d
'('
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
nc
c
: e
x
it if number o
f
e
le
m
ents excee
d
s it
s
max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ncc:
o
n
l
y add use
d
e
xternal s
y
mbols to elf sy
m
tab
commit
|
commitdiff
|
tree
2010-06-08
Ali
Gholami Ru
d
i
han
d
le #if and #elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholam
i
Rudi
handl
e
#
ifdef,
#
if
n
def
,
#else and #e
n
d
i
f
commit
|
commitdiff
|
tree
next