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: remove cmp+branch optimization; moved to opt branch
2011-03-30
Ali Gholami Rudi
gen: remove cmp+branch optimization; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
holami Rudi
cpp: hand
l
e function macros
with no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
R
udi
gen: rename dat_bss
(
) and dat_dat() to begin with o
_
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Ghola
m
i Rudi
gen: group functions i
n
gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
G
holami
Rudi
gen:
reset last_set afte
r
cmp+b op
t
i
m
i
za
t
ion
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi R
u
d
i
g
e
n: fix ~ operator i
m
pleme
n
tatio
n
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami Rudi
n
c
c: dereference
f
uncti
o
n poin
t
ers
like any o
t
her variables
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gh
o
lam
i
Rudi
gen: d
o
n't re
m
o
v
e the last return
jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ge
n
: don
'
t let o_c
a
st()
c
hang
e
d
erefe
r
enced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholam
i
Rudi
ncc: use
t
ok_jmp() in
s
te
a
d of tok
_
(s
e
e|ge
t
)()
in en
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
A
li Gholami Rudi
gen: handle large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
g
en: replace
TMP_REG*
mac
r
os wit
h
r
eg_fo
r
tmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holami Rudi
gen
:
change
o_noge
n
()/o_dogen() to be re
c
ursi
v
e
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
gen:
d
on't gen
e
rate excess jumps f
o
r the las
t
r
eturn
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
G
h
o
lami
R
u
d
i
gen: don't add duplicate data
to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
g
en:
c
all
t
mp_to() in fo
r
loadin
g
rh
s
i
n
o_a
s
sing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen
:
i
gnore O_SIGNED when
che
c
king the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen: fix
sig
n
ed division to negate the rema
i
nder
commit
|
commitdiff
|
tree
2011-03-16
Ali
Gholami Rudi
gen: me
r
ge decrement and check in
i_mem
c
py() and i_memset
(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami
R
ud
i
gen:
d
on't
save variable registers be
f
ore calls
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Rudi
gen: add
s
oftware div/mod imple
m
entation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
nc
c
: set O_SIGN for most bi
n
ary
op
e
rations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
ncc: deref
e
rence the not expression
o
f cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
perfor
m
signed operations if O_SI
G
NED bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
G
hola
m
i Rudi
cpp: define
_
_arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i
R
udi
ncc: don't cast the return value for void fun
c
tions
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
gen
:
m
or
e
compact version of memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami Rudi
gen: don
'
t output
r
elocations when
o_nog
e
n() is
c
a
l
l
ed
commit
|
commitdiff
|
tree
2011-03-13
A
l
i
G
h
olami Rud
i
neat
c
c arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean up the
i
n
t
erface between ncc
.
c,
g
en
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Ru
d
i
npp: remove comments after
p
reprocessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Gholami Rudi
cpp: don'
t
re
m
ove non-ma
c
ro n
u
mber sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
R
udi
np
p
:
allow using neat
c
c's prepro
c
ess
o
r
a
s
a
sta
n
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i
Gholami Rudi
cpp: do
n
't skip non-eol mac
r
o backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
h
o
l
a
mi Rudi
gen: fix
o
p_rs() o
p
ti
m
iz
a
t
i
on f
u
nc
t
ion
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gholami Rudi
ge
n
: use better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: define __i386__; __x86_64__ is no longe
r
s
u
pporte
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: load the first
tmp
befo
r
e calli
n
g
T
MP_R
E
G
2
(
)
commit
|
commitdiff
|
tree
2010-09-16
Ali
G
hola
m
i
Rudi
a
d
d README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc: fix nam
e
->name
str
i
nitialize
r
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami Rudi
all
o
w
exte
r
n ar
r
ay declar
a
ti
o
n
s without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
cpp: include
s
t
d
def
.
h
f
or using off
s
etof()
commit
|
commitdiff
|
tree
2010-07-28
Ali G
h
olami Rudi
tok
:
parse
u
p
p
ercase h
e
x
numbers
commit
|
commitdiff
|
tree
2010-07-25
A
li Gholami Rud
i
ncc
:
fix setti
n
g
F
_INIT for each define
d
name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi Rud
i
cp
p
: handle nested macro calls l
i
ke M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami Rudi
t
o
k: don't go
b
eyond
buf len fo
r
3-char
tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali
Ghol
a
mi
Rudi
tab
.
h
:
use
t
he standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami Rudi
ncc: fix ca
l
ling ts_pop()
p
rema
t
urely i
n
opassign(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
u
di
g
en: ignore the si
g
n of the
s
econd op
e
rand in / an
d
%
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
hola
m
i
Rudi
n
cc: fix
&
and * on functi
o
ns
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami Rudi
gen:
don
'
t overwri
t
e pushed ebx, esi and ed
i
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami Rudi
gen: change st
a
ck
alignm
e
nt
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
ncc: do
n
'
t change
o
p
eran
d
o
rder for con
s
t ops
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami Rudi
gen: onl
y
perfor
m
c
o
nst op for ad
d
resses when
a
dding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rud
i
gen: zeroing eax does
n
't
s
eem neces
s
a
r
y
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rud
i
n
cc
:
fix ++s for pointers
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Ghol
a
m
i
Rudi
ncc: f
i
x function
pointe
r
arrays
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
g
en:
remo
v
e
t
he unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
ol
a
mi Rudi
gen: use tmp->off
for
local
s
to
o
commit
|
commitdiff
|
tree
2010-06-28
Ali
Gholami Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: fun
c
tions for pe
r
forming opt
i
m
ized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
olami Rudi
gen:
f
ix
t
wo-
b
yte opc
o
d
e
bit
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
h
o
lami
Rudi
gen: use an int for operato
r
s
commit
|
commitdiff
|
tree
2010-06-23
A
l
i Ghol
a
mi Ru
d
i
replace
o
_*(
)
f
u
nctions
with o_bop() and o_uo
p
()
commit
|
commitdiff
|
tree
2010-06-21
Ali
Ghola
m
i
R
udi
add specialized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Ru
d
i
gen: le
t
all grps be used as
b
yte r
e
gist
e
rs
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gho
l
ami Rudi
out: do
n
't need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami Rud
i
tab: let
table si
z
e be HAS
H
ITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
mi
R
udi
out:
m
erge all sections into
one text s
e
ction
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
l
a
m
i
R
udi
cpp: reset arg cou
n
t on macro re
d
efinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Ghola
m
i Rudi
out: mak
e
neatc
c
wo
r
k
with gnu l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen
:
handle
char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
m
i Ru
d
i
ncc: al
i
gn structs ba
s
e
d
on
t
he
f
irst
f
iel
d
commit
|
commitdiff
|
tree
2010-06-18
A
li G
h
o
l
a
mi R
u
di
mov m
a
cro hash table t
o
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami Rudi
g
e
n
: ha
n
d
l
e unsigned
-
> lon
g
cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
cpp: sa
v
e m
a
cro nam
e
s in
a
hash
t
abl
e
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc
:
divide (ptr - ptr) resul
t
only if size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
ho
l
ami Rudi
gen: use mov
s
xd only w
h
en src is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
t
o
k
:
0x1 should
b
e unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
gen: fi
x
the condition
s
f
or movxx
o
p
era
t
ions
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: f
i
x getting
i
's type
i
n ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
ncc:
handle pt
r
oper
a
tions
o
n
structs
p
trs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
nc
c
:
fix calling fun
c
t
ion pointers w
i
th argumen
t
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Ru
d
i
ncc: do
n
't take c
a
se exprs as l
a
b
e
l
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
g
en: don't gen
e
rate code
after o_n
o
gen() in o
i
()
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
h
o
lami R
u
di
all tmps sho
u
l
d be
t
he same in c
o
ndi
t
ional branch
e
s
commit
|
commitdiff
|
tree
2010-06-17
Ali Gho
l
ami Rud
i
g
e
n:
f
ix lo
a
ding
back tmps i
n
mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami Rudi
let to
k
_
nu
m
()
return the bt
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gho
l
a
mi R
u
di
gen: reloc
a
ti
o
n address size is always 4
for no
w
commit
|
commitdiff
|
tree
2010-06-16
A
li Gh
o
lami Rudi
gen:
f
ix SYM_PTR
(
)
macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fi
x
!!expr
commit
|
commitdiff
|
tree
2010-06-15
A
l
i Gholami Rudi
n
c
c: let shift amo
u
nt be an
u
nsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami
R
udi
g
e
n: c
l
eanup tmp handling and
f
ix reg
s
a
r
ray in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc: align struct m
e
mbers
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
olami
R
udi
g
e
n: mark
copied regi
s
te
r
as th
e
owne
r
in
o
_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen: fix
"
if (!e
x
pr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
am
i
R
ud
i
ncc: fix point
e
r arithmeti
c
on struct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
s
how an error
m
s
g
if n
o
input file
commit
|
commitdiff
|
tree
2010-06-13
Ali Ghola
m
i
Rudi
t
o
k
:
a
c
cept up
p
ercase
hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Ghola
m
i Rudi
show syntax e
r
ror location
commit
|
commitdiff
|
tree
next