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
A
l
i Gh
o
lami Rudi
gen:
ignore the sig
n
o
f
the seco
n
d ope
r
and in / a
n
d %
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Gholami Rudi
ncc:
f
ix & and * on fu
n
ctions
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
olami Rudi
gen: d
o
n't overwrite pushed ebx, esi
and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami R
u
di
gen:
c
hange stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rudi
ncc: don't
c
hange oper
a
n
d
order
f
or
const o
p
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami
Rudi
gen: only perform con
s
t
o
p
f
or addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
A
l
i Gholami Rud
i
gen: ze
r
o
i
ng eax do
e
sn't seem n
e
cess
a
ry
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i Rudi
ncc: fix +
+
s
f
or pointers
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami
R
udi
ncc: fix
f
unction pointe
r
a
r
rays
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rud
i
ge
n
:
remove the unused c_op
(
)
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami Rudi
gen:
us
e
tmp-
>
off fo
r
l
o
c
a
ls to
o
commit
|
commitdiff
|
tree
2010-06-28
Ali Gh
o
lami
R
u
di
po
r
t neatc
c
to x8
6
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i R
u
di
gen: functions for pe
r
forming optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
ami Rudi
gen: fix two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
olam
i
Rudi
gen: use an int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami
Ru
d
i
rep
l
ace o_*(
)
fu
n
c
tions with o_bo
p
()
and o_uo
p
()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholam
i
Rudi
a
dd spec
i
aliz
e
d inc
/
dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rud
i
g
e
n
:
le
t
all
g
r
ps be u
s
ed a
s
byte registers
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
out:
d
on't need MAXSEC
S
anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
ta
b
: let t
a
b
le size be HAS
H
I
T
EMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
o
u
t: merge al
l
sections
into one
text sect
i
o
n
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
R
u
di
c
pp: reset arg count on mac
r
o redefinition
commit
|
commitdiff
|
tree
2010-06-19
A
l
i
Gholami Rudi
out: make neat
c
c work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Ru
d
i
gen: handle
char argu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
n
c
c:
a
lign s
t
ruct
s
bas
e
d on the first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
di
mov macro ha
s
h table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: handle unsigned -
>
long c
a
s
t
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami R
u
di
c
pp
:
sa
v
e m
a
cro names i
n
a
hash ta
b
le
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
l
ami Ru
d
i
ncc: divide
(
pt
r
- ptr
)
result
o
n
l
y
if
size >
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i R
u
di
gen: us
e
m
o
v
s
xd only
when
src is
s
i
g
n
ed
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
h
o
lami Rudi
tok: 0x1 should be un
s
igned
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami
Rudi
gen: fi
x
t
h
e condit
i
o
n
s
fo
r
mov
x
x op
e
rations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
ncc
:
fix g
e
tting i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
ncc: handle p
t
r operations on struc
t
s ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix calling fun
c
tion pointers with
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
ncc: don't take case exprs as labe
l
s
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Ghol
a
mi R
u
d
i
gen: don't generate code
after o_nogen()
i
n oi()
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami
Rudi
all tmps should be t
h
e same in
c
onditional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami
R
ud
i
g
e
n: fix lo
a
ding back tmps in mem w
i
thout deref
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami
R
u
di
let tok_n
u
m() return
the bt
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gholami Rudi
g
e
n:
r
elocation address size is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali
Gholami Rudi
g
e
n: f
i
x SYM_PTR() m
a
cro
commit
|
commitdiff
|
tree
2010-06-16
Ali Ghola
m
i Rudi
g
en: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Al
i
G
h
ol
a
m
i R
u
di
ncc: let shi
f
t
amount be an
u
n
signed
commit
|
commitdiff
|
tree
2010-06-15
Ali
Gholami
R
udi
g
e
n: cleanup
tmp
h
andli
n
g and fix regs array
i
n o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Ghola
m
i
Ru
d
i
ncc: align struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi Rudi
gen: mark co
p
ied regis
t
er as the o
w
ner in o_
t
mpcop
y
()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gh
o
lami Rudi
gen: fix "if (!
e
xpr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Ru
d
i
ncc: fix pointer
a
r
i
thmeti
c
on struct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami R
u
di
show an erro
r
msg if no input file
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
tok: accept uppercase hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
show syntax error loca
t
ion
commit
|
commitdiff
|
tree
2010-06-12
Al
i
Gh
o
lami Rudi
gen: fix ignorin
g
re
g
op1() return value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gh
o
lami Rudi
gen: don't change t
m
p
-
>
b
t when storing an
lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gho
l
ami Rudi
gen: extend eax to ed
x
for mul/div
op
commit
|
commitdiff
|
tree
2010-06-11
A
l
i
Gholami
Rudi
ncc: a
r
ray
s
s
h
ould be
p
rocessed in the reversed o
r
der
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
gen
:
fix
t
he orde
r
of MOVSXD
'
s
operands
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
holami
Rudi
g
e
n: fix f
r
eeing r
e
g
i
s
ters
b
efore call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami
R
udi
in
v
a
lid
a
te la
s
t_cmp if t
m
p
s are changed
commit
|
commitdiff
|
tree
2010-06-10
Al
i
Gho
l
ami Ru
d
i
dere
f
erence both sides of a conditional expression
commit
|
commitdiff
|
tree
2010-06-10
A
l
i Gholami Ru
d
i
cp
p
:
c
heck buffer sta
c
k
i
nstead of cppeval variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Rudi
c
p
p
:
prevent recursive
m
acros
commit
|
commitdiff
|
tree
2010-06-09
Ali
Gholam
i
Ru
d
i
cpp: multi
-
a
rgument macros
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gholami Rudi
cpp: sp
a
c
e
between macro and '('
commit
|
commitdiff
|
tree
2010-06-08
Ali Gho
l
ami Rudi
ncc: exit if num
b
e
r of elements ex
c
eeds
i
ts max
commit
|
commitdiff
|
tree
2010-06-08
A
li
G
h
o
lam
i
Rudi
ncc: only add
u
se
d
external
symbols to elf
s
ym
t
ab
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholam
i
Rudi
hand
l
e #if
and #eli
f
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
hol
a
mi Rudi
h
and
l
e #ifdef, #ifndef,
#
else and
#en
d
if
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gholami R
u
di
support #u
n
d
e
f NAME
commit
|
commitdiff
|
tree
2010-06-08
Ali
Gholam
i
Rudi
a
llow -Dname=val
option
commit
|
commitdiff
|
tree
2010-06-08
Ali Gho
l
a
m
i Ru
d
i
c
p
p: handle fun
c
tion macro
s
commit
|
commitdiff
|
tree
2010-06-07
Ali Gholam
i
Rudi
handle -I
i
nclude paths
commit
|
commitdiff
|
tree
2010-06-06
Ali Gho
l
am
i
R
udi
c
pp: basic
include macros
commit
|
commitdiff
|
tree
2010-06-06
Ali Gh
o
lam
i
Rudi
add a basic p
r
eproces
s
o
r
commit
|
commitdiff
|
tree
2010-06-05
Ali Gh
o
lami Rudi
nc
c
:
fix mar
k
ing undefine
d
function
s
as fu
n
ctions
commit
|
commitdiff
|
tree
2010-06-04
Ali
G
holami Rudi
for s
t
a
t
ements with
no
cond
i
tio
n
commit
|
commitdiff
|
tree
2010-06-04
A
li
G
holami Rudi
tok: '\12' and '\x3b'
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami
Rudi
t
o
k
:
sup
p
ort numbers with ul
p
o
s
tfix
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami
Rud
i
tok:
s = "a" "b";
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami Rudi
t
ok
:
read str a
n
d n
u
m as
t
hey are seen
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami R
u
di
a
rray->
f
i
eld
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami Rudi
gen:
f
ix o_tmpcopy() when copying re
g
s
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami Ru
d
i
support initializer for s
t
atic
v
ariables
commit
|
commitdiff
|
tree
2010-06-02
A
li Gholami
Ru
d
i
int a[] = {1
,
2}
;
commit
|
commitdiff
|
tree
2010-06-01
Ali G
h
o
la
m
i Rudi
han
d
l
e
.
.
.
ar
g
u
m
e
n
t
commit
|
commitdiff
|
tree
2010-06-01
Ali Gholam
i
Rudi
handle a
r
ray args
commit
|
commitdiff
|
tree
2010-06-01
Ali Ghola
m
i Ru
d
i
h
a
ndle extern variables
commit
|
commitdiff
|
tree
2010-06-01
A
l
i
G
holam
i
Rudi
f
u
nc
t
ion po
i
nter arguments
commit
|
commitdiff
|
tree
2010-05-31
A
li Gholami R
u
di
accept
s
igned t
o
ken
commit
|
commitdiff
|
tree
2010-05-31
Ali Gholami Rudi
handle siz
e
of(*p) whe
r
e p is v
o
id *
commit
|
commitdiff
|
tree
2010-05-30
Al
i
Ghol
a
mi
Rudi
ncc: h
a
ndle unnamed struct
s
commit
|
commitdiff
|
tree
2010-05-30
A
l
i Ghola
m
i Rud
i
ncc: handle
f
orw
a
r
d st
r
uct ptr usage
commit
|
commitdiff
|
tree
2010-05-28
Ali Gholami R
u
di
ncc: cha
r
a[4] = "abc";
commit
|
commitdiff
|
tree
2010-05-28
A
l
i
Ghol
a
m
i
Rudi
support goto s
t
atement
commit
|
commitdiff
|
tree
2010-05-28
Ali Ghola
m
i Rudi
gen:
handle mo
r
e than 6 args
commit
|
commitdiff
|
tree
2010-05-28
A
li
G
holami
Rudi
gen: optimize constant operations on local a
d
d
r
esses
commit
|
commitdiff
|
tree
2010-05-28
A
l
i
G
ho
l
a
mi Rudi
nc
c
: int a[
2
]
[2
]
= {
1
,
2, 3};
commit
|
commitdiff
|
tree
2010-05-28
Ali Gholami Rudi
handle ini
t
ializer for local var
i
ables
commit
|
commitdiff
|
tree
2010-05-27
Ali Gholami
Rudi
han
d
le st
r
uct
a
ssign
m
ent
commit
|
commitdiff
|
tree
2010-05-27
Ali G
h
ola
m
i
Rud
i
ncc: use forward function declarations
commit
|
commitdiff
|
tree
next