repo.or.cz
/
neatcc
/
cc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
gen: add software div/mod implementation
2011-03-15
Ali Gholami Rudi
gen:
a
dd
so
f
tware
div
/
mod
implemen
t
at
i
on
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: set O_SIGN for
m
ost binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
ncc:
dereference the n
o
t exp
r
ession of cexpr
s
commit
|
commitdiff
|
tree
2011-03-15
A
li Gho
l
ami Rudi
p
er
f
orm signe
d
opera
t
i
on
s
if O_
S
IGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gh
o
lami Rudi
cpp: de
f
ine
_
_arm_
_
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami Rudi
ncc: don't cast the return value for
v
o
id functions
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami R
u
di
gen: mor
e
comp
a
ct version o
f
memc
p
y() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
g
e
n: don't outpu
t
r
elocations
when o_no
g
en() is cal
l
e
d
commit
|
commitdiff
|
tree
2011-03-13
A
l
i G
h
o
l
ami Rudi
nea
t
cc
arm
p
or
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami
R
udi
clean
up the
in
t
erface
between n
c
c
.
c, gen
.
c
a
nd out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i Rudi
n
p
p:
r
emove comments after preproc
e
s
s
i
n
g
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Gholami Rudi
c
pp
:
don't remove
non
-
macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
n
p
p: allow using neatcc's
p
reproce
s
sor as a
standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Ru
d
i
c
pp: don't
skip non-eol macro back
s
lashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: fi
x
o
p
_
rs()
o
p
tim
i
zation funct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
h
o
lami
R
udi
gen: use better nam
e
s for opcode
s
commit
|
commitdiff
|
tree
2010-12-11
Ali G
h
olami Rudi
cp
p
: define __i386__; __x
8
6
_
64__ i
s
no
l
onger
s
u
p
p
orted
commit
|
commitdiff
|
tree
2010-11-20
Ali Gho
l
a
mi Rudi
g
e
n:
load
t
he
fi
r
st tmp before calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Ghol
a
m
i
Rudi
a
dd RE
A
DM
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc
:
fix name->na
m
e
st
r
initialize
r
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghola
m
i Rudi
allow
extern array declarations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghol
a
mi
Rudi
cpp:
in
c
lude stddef
.
h for using o
f
fs
e
to
f
(
)
commit
|
commitdiff
|
tree
2010-07-28
A
li Gholami Rudi
t
o
k: pars
e
upperca
s
e
he
x
numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gho
l
a
m
i
R
udi
ncc: fix
s
etti
n
g F_INIT for each
defined
n
a
me
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami Rudi
cpp: han
d
le nested macr
o
calls like
M
(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami Rudi
tok
:
don't go b
e
yond buf len for
3
-
char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gh
o
lami Rud
i
tab
.
h: use the sta
n
dard
offs
e
t
of()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholam
i
Rudi
ncc: fix cal
l
ing ts_
p
op() prema
t
urely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
li
G
hola
m
i
Rudi
g
en: ign
o
re the sign of the secon
d
operand in
/
and %
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Ghol
a
m
i
R
u
di
ncc
:
f
i
x
& and * on functions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Ru
d
i
gen: don't ove
r
wri
t
e
pushed e
b
x, es
i
and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami
R
u
di
gen: ch
a
nge sta
c
k
align
m
ent to
4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
o
lami Rudi
ncc: don't cha
n
ge operand
o
rder
f
or con
s
t o
p
s
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
hol
a
mi Rudi
ge
n
: only perform
c
onst op for addresses wh
e
n addi
n
g
commit
|
commitdiff
|
tree
2010-07-08
Ali
Gholami
R
u
d
i
gen: ze
r
oin
g
eax
d
oesn'
t
se
e
m
necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix ++
s
for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami
R
udi
ncc: fix functio
n
pointer arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami
R
udi
gen: rem
o
ve the unused c
_
o
p
()
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gh
o
lami Rudi
g
en:
u
se tmp->of
f
f
o
r locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gho
l
ami
Rudi
port neatcc to x
8
6
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami Ru
d
i
gen: f
u
nctions for performing optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gholami R
u
di
gen: f
i
x two-byte opcode
bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
ami Rudi
gen: u
s
e an
i
n
t
for ope
r
a
t
ors
commit
|
commitdiff
|
tree
2010-06-23
Ali Gh
o
lami Ru
d
i
replace o_*() functions wit
h
o
_bop(
)
and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add sp
e
cializ
e
d inc/dec ope
r
ations
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami
Rudi
gen: let a
l
l gr
p
s be
u
sed as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami
R
udi
out
:
don
'
t need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Al
i
G
holam
i
R
udi
tab: let table
size be HA
S
HITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
hol
a
mi Rudi
o
ut: merge all sections into one text section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: res
e
t a
r
g
count on macro
r
edefin
i
tion
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Ru
d
i
o
ut: mak
e
nea
t
c
c
work with g
n
u ld
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rud
i
gen:
h
andl
e
c
h
ar
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
ncc: ali
g
n structs based on the firs
t
field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
mov ma
c
ro hash table to t
a
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Ru
d
i
g
e
n:
h
a
nd
l
e unsigned
-
> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
cpp: save
macr
o
names i
n
a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: divide (p
t
r
-
ptr)
r
esu
l
t only if
size
>
1
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
gen: use mo
v
sxd only wh
e
n src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ola
m
i
Rudi
tok: 0x
1
sho
u
ld be unsigned
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
gen: fix th
e
c
on
d
iti
o
ns for movx
x
o
p
era
t
ions
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
nc
c
: fix gett
i
n
g
i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ola
m
i
Rudi
n
c
c
:
handle
p
tr operations on
s
tr
u
cts ptrs
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholam
i
Rudi
ncc: fix
calling func
t
i
o
n
pointers with
a
rg
u
ments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
ncc: don't
take
c
ase exprs as l
a
b
els
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
h
olami
R
u
di
g
en: don't gen
e
rate co
d
e after
o
_n
o
g
e
n() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
all tmps shou
l
d be t
h
e same in con
d
i
t
ional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen: fix loading
b
ac
k
tmp
s
i
n
mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gholami Ru
d
i
let tok_num() retur
n
the bt
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gholami Rudi
gen: relocati
o
n
ad
d
r
e
s
s size is always
4
f
o
r
n
o
w
commit
|
commitdiff
|
tree
2010-06-16
Ali
G
holami Rudi
gen: fix S
Y
M_
P
TR() m
a
cro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
g
e
n:
fi
x
!
!
e
x
pr
commit
|
commitdiff
|
tree
2010-06-15
Ali
Gholami
Rudi
ncc: let shift
amount be
an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
gen: cleanup tmp handli
n
g and fix regs array in o_
s
wap()
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gh
o
lami Rudi
n
cc: al
i
g
n struct member
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Gh
o
lami Rudi
gen:
mark copi
e
d register as the owner in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
o
l
ami
Rudi
gen
:
fix "if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
A
li Gholami Rudi
ncc: fix pointe
r
ari
t
h
metic on stru
c
t
ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gholami Ru
d
i
s
how an err
o
r msg
i
f no input
file
commit
|
commitdiff
|
tree
2010-06-13
Ali
G
h
olami Rudi
to
k
: ac
c
ept up
p
ercase hex d
i
g
i
ts
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
s
how syntax
error location
commit
|
commitdiff
|
tree
2010-06-12
Ali Gh
o
l
ami Rudi
gen:
fix
i
gnoring regop1() return value
commit
|
commitdiff
|
tree
2010-06-11
A
li Gholam
i
Rudi
gen: don't change t
m
p->bt when storing an lvalue
commit
|
commitdiff
|
tree
2010-06-11
A
l
i
Ghola
m
i Rudi
gen: ext
e
nd eax
t
o e
d
x for mul/div op
commit
|
commitdiff
|
tree
2010-06-11
A
li Ghol
a
m
i
Rudi
ncc: arrays sho
u
ld be proc
e
ssed
i
n
the
r
eversed order
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
g
en: fix th
e
order
of MO
V
S
X
D's oper
a
n
d
s
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghola
m
i
Rudi
gen: fix freeing regis
t
er
s
before
call
commit
|
commitdiff
|
tree
2010-06-10
A
li Gholami Rudi
invalidate last_cmp if tmps are c
h
anged
commit
|
commitdiff
|
tree
2010-06-10
Ali Gh
o
l
a
mi
Rudi
d
e
reference both sides of a c
o
ndi
t
ional express
i
on
commit
|
commitdiff
|
tree
2010-06-10
A
l
i Gholami
Rudi
c
pp: check buffer
s
tack instead of cppeval variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Ghola
m
i Rudi
cpp: prevent
r
ecursi
v
e macros
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Rudi
cpp: multi-argume
n
t
m
acros
commit
|
commitdiff
|
tree
2010-06-08
Ali
Ghola
m
i
Rudi
cpp
:
space betw
e
e
n
macro and '('
commit
|
commitdiff
|
tree
2010-06-08
A
l
i
G
holami Rudi
ncc: exit if number
of elements exceeds it
s
max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Ru
d
i
ncc: only add used external sy
m
bols t
o
elf symta
b
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
holami
R
udi
handle #i
f
a
nd #elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rud
i
handle #ifdef, #ifndef, #e
l
se and #endif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gh
o
lami Rudi
support #undef NAME
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
h
olami Rudi
al
l
ow -Dname=val option
commit
|
commitdiff
|
tree
2010-06-08
Ali Gho
l
ami Rudi
cpp: handle function macros
commit
|
commitdiff
|
tree
2010-06-07
A
l
i
Gholami Rudi
ha
n
dle
-I include
paths
commit
|
commitdiff
|
tree
next