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: ignore the sign of the second operand in / and %
2010-07-12
Ali Gholami Rudi
gen: ignore the s
i
gn
o
f th
e
second operand in
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
holami Ru
d
i
nc
c
: fix & and *
o
n func
t
ions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
G
holami Rudi
gen: d
o
n't
o
verwrite pushed
ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami R
u
di
gen: change stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami R
u
di
ncc: don't cha
n
ge operan
d
order for const
o
ps
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gho
l
ami Rud
i
g
en: only
pe
r
form
c
onst op for addre
s
ses when adding
commit
|
commitdiff
|
tree
2010-07-08
Al
i
Gho
l
ami Rudi
gen: zeroing
eax doe
s
n't seem
necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i Rudi
ncc: fix ++s f
o
r point
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
nc
c
: fix
f
un
c
tio
n
point
e
r arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
h
o
la
m
i Rudi
gen
:
remo
v
e the unused c_op(
)
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
Gholami
Rudi
gen: use tmp
-
>off for
l
oc
a
l
s
to
o
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port
neat
c
c to
x
86
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
gen: functi
o
ns fo
r
per
f
orming op
t
imized ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami R
u
di
gen: fi
x
two-byte opcode
b
i
t
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
g
e
n: use an int for
o
p
erators
commit
|
commitdiff
|
tree
2010-06-23
A
li Gholami Rudi
replace o_*(
)
f
u
nctions wi
t
h
o_bop() an
d
o
_
uop
(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghola
m
i Rudi
add spe
c
ialized
i
n
c/dec operat
i
ons
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
gen: let all grps
b
e u
s
ed as by
t
e re
g
is
t
ers
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
ol
a
mi Rudi
o
ut: do
n
't need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
ami Ru
d
i
tab:
let tabl
e
size b
e
HA
S
HI
T
EMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
h
o
lami Rudi
out: m
e
rge
a
l
l
sections
i
nto one t
e
x
t se
c
tio
n
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
h
olami
Rudi
cp
p
: reset arg count on macr
o
redef
i
nit
i
on
commit
|
commitdiff
|
tree
2010-06-19
Ali Gh
o
lami Rudi
out: make neatcc work with
g
nu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
gen: handle char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
Ghola
m
i
Rudi
ncc: align structs based on the firs
t
f
ie
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
mov
macro hash table to t
a
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
Ghola
m
i Ru
d
i
gen: handle unsi
g
ned ->
long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami
R
ud
i
c
p
p: save macro
n
a
mes in a has
h
table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: divide (ptr
- p
t
r) result only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
g
en: use
movs
x
d only when src is
s
i
g
ned
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
tok: 0x1 should be
u
n
signed
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
h
olami Rudi
ge
n
: fix t
h
e con
d
itio
n
s for movxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gho
l
ami Rudi
n
c
c:
f
ix getting i
'
s ty
p
e in ++
i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
ncc: handle pt
r
operations
on
s
tructs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
c
c
:
f
ix calling funct
i
on pointers with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
mi Ru
d
i
ncc: don't tak
e
case exprs
a
s
label
s
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gho
l
ami
Rudi
gen
:
don't generate code after o_nog
e
n(
)
i
n
oi()
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
all tmps
should b
e
t
h
e s
a
me in condi
t
ional branc
h
es
commit
|
commitdiff
|
tree
2010-06-17
Ali Gho
l
ami Rudi
gen: fix lo
a
ding back tmps in
mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rud
i
let tok_num() r
e
turn the bt
commit
|
commitdiff
|
tree
2010-06-17
A
li Gholami
R
udi
gen: re
l
o
c
atio
n
address size is alway
s
4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix
SYM_PTR()
macro
commit
|
commitdiff
|
tree
2010-06-16
Ali
G
holami R
u
di
gen: fix !!ex
p
r
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc:
let shif
t
amo
u
n
t be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
A
l
i Ghol
a
m
i Rudi
gen: cleanup tmp handling
a
nd
f
ix regs
a
rray in
o
_swa
p
()
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi
Rudi
ncc: al
i
gn struct mem
b
ers
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholam
i
R
u
d
i
g
e
n: mark cop
i
ed
r
egister a
s
t
h
e owner in o_tmpc
o
py()
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghola
m
i R
u
di
ge
n
:
fix "if (!
e
xpr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
n
c
c: fix
p
ointer arithmetic on
struct pt
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
Rudi
show an
e
rror msg if no in
p
u
t file
commit
|
commitdiff
|
tree
2010-06-13
Ali G
h
ol
a
mi Rudi
tok
:
acc
e
pt upperc
a
s
e
hex
digits
commit
|
commitdiff
|
tree
2010-06-13
Ali
G
holami Rudi
sh
o
w synta
x
e
rror location
commit
|
commitdiff
|
tree
2010-06-12
Ali G
h
olam
i
Rudi
gen: fix ignori
n
g regop1
(
) re
t
urn value
commit
|
commitdiff
|
tree
2010-06-11
Ali
Gho
l
a
mi Rudi
g
en:
d
on
'
t chan
g
e tmp->bt w
h
en storing an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami R
u
di
g
e
n: extend eax
t
o
e
dx fo
r
mu
l
/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gho
l
a
mi Rudi
ncc: arrays should be processed in t
h
e reversed order
commit
|
commitdiff
|
tree
2010-06-10
Ali G
h
ol
a
mi Rudi
gen: fix the ord
e
r of MOVSXD's
o
peran
d
s
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rud
i
ge
n
:
f
ix f
r
eeing regis
t
ers b
e
fore call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
ami Rudi
invalid
a
t
e last_cm
p
if tmps
are changed
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
derefe
r
e
nce
b
o
th
s
id
e
s of a conditio
n
al
e
x
pre
s
s
io
n
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
ami Rudi
cpp: check buffer stack i
n
stead of cppev
a
l v
a
riab
l
e
commit
|
commitdiff
|
tree
2010-06-09
A
li Gholam
i
Ru
d
i
cpp: p
r
event rec
u
rsive macros
commit
|
commitdiff
|
tree
2010-06-09
Ali Ghola
m
i
R
u
d
i
cpp: multi-a
r
gument macr
o
s
commit
|
commitdiff
|
tree
2010-06-08
Al
i
G
holami
Rudi
cpp:
s
p
a
ce betw
e
en m
a
cro and '('
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Ghol
a
mi Rudi
ncc: exit if nu
m
ber of e
l
ements e
x
cee
d
s its max
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gh
o
lami Rudi
ncc: only add used external sym
b
ols to elf sym
t
ab
commit
|
commitdiff
|
tree
2010-06-08
Ali
Gholami Ru
d
i
handl
e
#if a
n
d #elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami
R
udi
handle #ifdef
,
#
ifndef, #
e
lse and #endif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholam
i
Rudi
support #u
n
def N
A
ME
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gholami Rudi
a
l
l
ow -Dname
=
val option
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gh
o
lami R
u
di
cpp: handl
e
f
u
nction mac
r
os
commit
|
commitdiff
|
tree
2010-06-07
Ali G
h
olami Rudi
handle
-
I include paths
commit
|
commitdiff
|
tree
2010-06-06
A
li Gholami Rudi
cpp: basic include mac
r
os
commit
|
commitdiff
|
tree
2010-06-06
Ali
G
holami Rudi
add a
basic
preprocessor
commit
|
commitdiff
|
tree
2010-06-05
Ali
Gholam
i
Ru
d
i
n
cc:
fix marking undefi
n
ed functions as f
u
n
ctions
commit
|
commitdiff
|
tree
2010-06-04
A
li Gho
l
ami Rudi
for
s
tat
e
ments
w
ith no
condition
commit
|
commitdiff
|
tree
2010-06-04
Ali Gh
o
lami
Rudi
tok
:
'\12' and '\x3b'
commit
|
commitdiff
|
tree
2010-06-04
Ali
Ghola
m
i Rudi
tok: sup
p
ort numbers with ul postf
i
x
commit
|
commitdiff
|
tree
2010-06-04
Ali Ghol
a
mi R
u
di
t
ok
:
s = "a" "b";
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami
R
udi
tok: re
a
d str and n
u
m as they
a
re s
e
e
n
commit
|
commitdiff
|
tree
2010-06-03
Ali Ghola
m
i Rudi
array->field
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami
Rudi
gen: fix o
_
tmp
c
opy() when copying r
e
gs
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholam
i
Rudi
su
p
po
r
t initia
l
i
ze
r
for static variab
l
e
s
commit
|
commitdiff
|
tree
2010-06-02
Ali Gho
l
ami
Rudi
i
nt a[] = {1
,
2};
commit
|
commitdiff
|
tree
2010-06-01
Ali
Gholami Rudi
handle
.
.
.
argument
commit
|
commitdiff
|
tree
2010-06-01
Ali Ghol
a
mi R
u
di
handle a
r
ray ar
g
s
commit
|
commitdiff
|
tree
2010-06-01
Al
i
Ghol
a
mi Rudi
handle
e
xt
e
rn variables
commit
|
commitdiff
|
tree
2010-06-01
Ali Gholami
R
u
di
function
pointer ar
g
ument
s
commit
|
commitdiff
|
tree
2010-05-31
Ali Gholami Rudi
accept si
g
ned token
commit
|
commitdiff
|
tree
2010-05-31
Ali Gholam
i
R
u
di
handle sizeof(*p) w
h
e
re p
i
s voi
d
*
commit
|
commitdiff
|
tree
2010-05-30
A
li Gholami
R
u
d
i
nc
c
:
handle unnamed structs
commit
|
commitdiff
|
tree
2010-05-30
Ali Ghol
a
mi
R
udi
ncc: handl
e
forward struct
ptr usage
commit
|
commitdiff
|
tree
2010-05-28
Ali Gholami R
u
di
ncc: char a[4]
=
"abc
"
;
commit
|
commitdiff
|
tree
2010-05-28
Ali
G
holami R
u
di
support goto statement
commit
|
commitdiff
|
tree
2010-05-28
A
l
i Gholami Rudi
gen: han
d
le more
than 6 args
commit
|
commitdiff
|
tree
2010-05-28
Ali Gholami Rudi
ge
n
:
optimi
z
e
constant operations on
local addres
s
e
s
commit
|
commitdiff
|
tree
2010-05-28
Ali Gholami
R
udi
ncc:
int a[2][2] =
{
1
,
2
,
3};
commit
|
commitdiff
|
tree
2010-05-28
Ali Gh
o
lami
R
udi
handle initializer for local variables
commit
|
commitdiff
|
tree
2010-05-27
A
li Gholami Rudi
handle stru
c
t a
s
s
i
gn
m
ent
commit
|
commitdiff
|
tree
2010-05-27
Ali Gholami Rud
i
nc
c
: use forw
a
rd fun
c
t
i
o
n
de
c
larations
commit
|
commitdiff
|
tree
next