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
clean up the interface between ncc.c, gen.c and out.c
2011-03-08
Ali Gholami
Rudi
clean
u
p
the interface between ncc
.
c, gen
.
c
a
n
d out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
npp: remo
v
e comment
s
a
fter preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
ol
a
mi Rudi
c
pp: don't remove
non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gh
o
l
am
i
Rudi
npp: allo
w
using neatcc'
s
pr
e
processor as a stan
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Ghol
a
m
i
R
u
di
cpp: don't skip
no
n
-
e
ol
m
acro backslas
h
es
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
l
ami Rudi
gen: fix
o
p_rs() optimiza
t
ion function
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghol
a
m
i
Rudi
gen:
u
se better na
m
es for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Gholami Rudi
cpp: de
f
ine __i3
8
6
_
_
; __x8
6
_
64__ is no
l
o
n
ger
supported
commit
|
commitdiff
|
tree
2010-11-20
A
l
i Gholami Rudi
gen
:
l
oad the first tmp before callin
g
TMP_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
A
l
i Gholami Rudi
add REA
D
ME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
nc
c
: fi
x
name->name str
i
nitializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rud
i
allo
w
exte
r
n array decla
r
atio
n
s without
s
ize
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
cp
p
: include stddef
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gho
l
ami
Rudi
tok:
p
arse uppercase hex nu
m
bers
commit
|
commitdiff
|
tree
2010-07-25
Al
i
G
holami
R
udi
ncc: fix setting F_
I
N
IT
for each define
d
name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rud
i
c
pp: handle neste
d
macr
o
calls like
M
(
M
(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok: don't go beyon
d
buf len for 3-cha
r
t
o
kens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h:
u
se the standard off
s
etof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholam
i
R
ud
i
n
c
c: fix call
i
ng ts_p
o
p() prematurel
y
in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami Rudi
gen: ignore the
s
ign o
f
t
he
s
e
cond oper
a
nd in
/
and
%
commit
|
commitdiff
|
tree
2010-07-10
A
l
i
Gholami R
u
di
ncc: f
i
x & and * on funct
i
ons
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rud
i
g
e
n
:
don'
t
overwri
t
e pushe
d
eb
x
, esi and
e
di
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
G
holami Rudi
g
e
n: c
h
ange
stac
k
ali
g
nment to
4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Ghola
m
i
R
u
di
ncc: don't cha
n
ge operand
ord
e
r
f
or const op
s
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami
R
u
d
i
g
en: only perfo
r
m con
s
t o
p
f
or addresses when
a
d
d
ing
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami
R
udi
gen: zeroing eax doesn'
t
seem necessary
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
G
holami Rudi
ncc
:
f
i
x ++
s
for p
o
inter
s
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami Rudi
ncc: fix function
p
o
inter arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
l
a
m
i
R
udi
gen:
remove the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
G
h
olami Rudi
g
e
n
: use tmp->o
f
f for locals
too
commit
|
commitdiff
|
tree
2010-06-28
Ali
Gholami Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: functions for performing optim
i
zed ops
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
ho
l
ami Rudi
g
en: fix two-byte
o
p
c
ode bi
t
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
ami R
u
di
g
e
n:
use an int for operator
s
commit
|
commitdiff
|
tree
2010-06-23
Al
i
Gho
l
ami Rudi
repl
a
ce o_*() function
s
w
ith o
_
bo
p
() and o
_
u
o
p()
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami Rudi
add
specia
l
ized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali G
h
olami
Rudi
gen: let all
g
r
p
s be used as byte register
s
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
h
olami Rudi
o
u
t: don't need MA
X
SECS anymore
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholam
i
Ru
d
i
tab:
l
et
t
a
b
le
s
i
z
e be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami
Rudi
out: merge all section
s
int
o
on
e
text sec
t
i
on
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholam
i
Ru
d
i
cpp:
reset ar
g
co
u
nt on m
a
cro redefinition
commit
|
commitdiff
|
tree
2010-06-19
A
li Gholami
R
u
di
ou
t
:
m
ake
n
e
a
tcc work with g
n
u l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lam
i
R
udi
g
e
n: handle ch
a
r arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: align st
r
u
c
ts b
a
sed on the first fie
l
d
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami
R
udi
mov macro hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
gen: handl
e
unsigned
-> l
o
ng cast
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gh
o
lam
i
R
u
d
i
cpp: sa
v
e
m
acro names
i
n a hash ta
b
le
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami
Rudi
ncc: divide (ptr - ptr) result o
n
ly i
f
size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
gen: use
movsxd
o
nly
when
src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
t
ok: 0x1 should be unsi
g
n
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Ru
d
i
gen: fix the conditions for
m
ovxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami
R
udi
ncc: fix getting i's type in +
+
i
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
ncc: handle ptr operations on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc:
fix
call
i
ng functi
o
n po
i
nters wi
t
h
a
rgume
n
ts
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami
Rudi
ncc: don't take case expr
s
a
s labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi
Rudi
gen: don't generate code after o_nogen() in oi
(
)
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
all
t
m
ps should be
the same in condition
a
l b
r
anche
s
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami R
u
di
gen: fix loading back
t
m
p
s
in mem without de
r
ef
commit
|
commitdiff
|
tree
2010-06-17
Ali G
h
olam
i
Rudi
let
to
k
_num() r
e
turn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholam
i
Rudi
gen: relocation address siz
e
is alwa
y
s 4 for no
w
commit
|
commitdiff
|
tree
2010-06-16
A
l
i Gholami Rudi
gen
:
fix
S
Y
M_PTR(
)
ma
c
ro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix !!
e
xpr
commit
|
commitdiff
|
tree
2010-06-15
A
li
Gholami Rudi
ncc: let s
h
ift a
m
ount be
a
n un
s
i
gned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gh
o
lami
Rudi
gen: cl
e
anup tmp handl
i
ng and fix regs array in
o
_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
Rudi
ncc: a
l
ign str
u
c
t
m
embers
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi
R
udi
gen: mark copied register as the owner in o_t
m
pcopy
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rud
i
gen:
fi
x
"if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gho
l
ami Rudi
ncc: f
i
x poi
n
ter
arit
h
met
i
c on struct ptrs
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gholami Rudi
show an error
msg if no inp
u
t file
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rud
i
to
k
: accept uppe
r
c
as
e
hex di
g
i
t
s
commit
|
commitdiff
|
tree
2010-06-13
Ali
G
h
o
lam
i
Rud
i
show syn
t
ax error location
commit
|
commitdiff
|
tree
2010-06-12
Ali Gholami Rudi
gen
:
fix
ig
n
ori
n
g regop1() return
v
alue
commit
|
commitdiff
|
tree
2010-06-11
Ali
G
h
olami Rudi
ge
n
:
do
n
't chan
g
e
t
mp->bt whe
n
stori
n
g an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
Ru
d
i
gen: exten
d
eax to
edx for mul/d
i
v op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
ncc:
arrays shoul
d
be processed
i
n the reve
r
s
e
d
o
rder
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
gen: fix th
e
order of MOVSXD's o
p
e
rands
commit
|
commitdiff
|
tree
2010-06-10
Al
i
Gholami Rud
i
ge
n
: fix freeing registers before c
a
ll
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
h
o
lami Rudi
invalidate last_cmp if
tmps
a
re c
h
anged
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
h
ol
a
mi Rudi
dereference
both sides of a
c
ond
i
tional express
i
o
n
commit
|
commitdiff
|
tree
2010-06-10
Ali
Gholami Rud
i
cpp: check
b
u
ffer
stack instead
o
f cppeval va
r
iabl
e
commit
|
commitdiff
|
tree
2010-06-09
Ali Gho
l
a
mi Rudi
cpp: preven
t
recursive m
a
cros
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami R
u
di
cpp: multi-
a
rgum
e
nt macros
commit
|
commitdiff
|
tree
2010-06-08
Ali Gh
o
lami Rudi
cpp:
s
p
a
ce
b
et
w
een
m
acr
o
a
nd '('
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gholami Rudi
n
c
c: exit if n
u
mber of elements exceeds its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
n
c
c
:
only a
d
d use
d
exter
n
al s
y
mbol
s
to elf symtab
commit
|
commitdiff
|
tree
2010-06-08
Ali Gho
l
am
i
Rud
i
handle #if and #
e
lif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
handl
e
#ifdef, #ifndef, #else
and
#endif
commit
|
commitdiff
|
tree
2010-06-08
Al
i
G
hola
m
i Rudi
s
up
p
ort #undef
N
AME
commit
|
commitdiff
|
tree
2010-06-08
Ali Gho
l
ami Rudi
allow -Dname=val op
t
i
on
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
holami Rudi
cpp: handle function macros
commit
|
commitdiff
|
tree
2010-06-07
Ali Ghola
m
i Rudi
handle
-I include pa
t
hs
commit
|
commitdiff
|
tree
2010-06-06
Ali Ghola
m
i
Rud
i
cp
p
: basic include
macros
commit
|
commitdiff
|
tree
2010-06-06
Ali Gholam
i
R
udi
a
d
d
a
basic p
r
epro
c
ess
o
r
commit
|
commitdiff
|
tree
2010-06-05
A
li Gholami Rudi
ncc:
fix marking undef
i
ned
f
u
n
ct
i
ons a
s
functions
commit
|
commitdiff
|
tree
2010-06-04
Ali Gho
l
ami Rudi
for statements with no condi
t
i
on
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami Rudi
t
ok
:
'
\12' and '\x3b
'
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami R
u
di
tok: support
numbers with ul po
s
t
f
ix
commit
|
commitdiff
|
tree
2010-06-04
Ali Ghol
a
mi
Rudi
tok: s = "
a
"
"
b
";
commit
|
commitdiff
|
tree
2010-06-03
A
l
i Gho
l
a
mi
R
u
di
tok: read str and num as
t
he
y
are se
e
n
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami R
u
di
array->field
commit
|
commitdiff
|
tree
next