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: pass only O_* constants to i_*() functions
2011-04-29
Ali Gholam
i
Rud
i
gen: pass o
n
ly
O_
*
constants
t
o i_*()
functio
n
s
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami Rud
i
g
e
n: handle sym+off f
u
nction calls
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
Gh
o
lami Rudi
gen: move
a
r
c
h
itectur
e
-
s
pecific functions to the
e
nd
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: use i
_
set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Al
i
Gholami R
u
di
gen: p
a
s
s
the number o
f
arg
u
ments to
o
_func
_
b
eg()
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
o
l
ami Rudi
gen: encode 0xf0000000
a
s an immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holami Rudi
gen
:
swap t
h
e immediate
if
needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami Rudi
gen: encode cmp+im
m
ediate i
n
s
t
ructions
commit
|
commitdiff
|
tree
2011-03-31
A
li G
h
o
lami
R
u
di
g
e
n: put the immediat
e
in
t
he opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
olami
R
udi
gen:
r
emove cmp+bran
c
h
op
t
imizat
i
on; moved
to op
t
b
r
anch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp: handle f
u
nction
m
acro
s
with no arguments
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Rud
i
gen: rename
d
a
t
_bss() a
n
d dat
_
dat() t
o
begi
n
with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: group functions
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
gen: reset
l
ast_set after c
m
p+b optimiz
a
tion
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
gen:
fix
~ operator
implementatio
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i
Rudi
ncc:
derefer
e
nce function pointer
s
l
i
k
e
any
o
ther v
a
r
i
ables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
R
ud
i
g
e
n: do
n
't remove th
e
last return jump
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
gen: don't let
o
_cast()
c
hange dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
mi
Rudi
ncc:
u
s
e tok_jmp() instead of t
o
k
_
(s
e
e|
g
et
)
(
) in enum_
c
re
a
te()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: handle large of
f
se
t
s for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
g
en
:
repl
a
ce TMP_
R
EG* ma
c
ros with reg_fo
r
tmp()
commit
|
commitdiff
|
tree
2011-03-23
A
li G
h
olami R
u
di
gen: change o_n
o
g
e
n()/o_d
o
gen() to
b
e rec
u
rsi
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gh
o
lam
i
Rudi
g
en: don't ge
n
erate ex
c
ess jumps
for the last ret
u
rn
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
Gholami Ru
d
i
g
e
n
: don't add
dup
l
icate
d
ata to numb
e
r
p
oo
l
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Gholami Rudi
gen:
c
a
ll tm
p
_
to() in for loading rhs in o_assi
n
g()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: igno
r
e
O_
S
IGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Ghol
a
m
i
Ru
d
i
gen: fix sig
n
ed divi
s
ion to ne
g
ate
t
h
e
remaind
e
r
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami R
u
di
gen:
merge dec
r
ement and ch
e
ck
in i_memc
p
y() and i_memset(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: don't save var
i
able registers
b
e
fore calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
di
gen:
add software d
i
v/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Ghol
a
mi Rudi
ncc:
s
e
t O_SIGN for most b
i
n
a
ry operatio
n
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
di
n
c
c: dereference
t
he n
o
t expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami R
u
d
i
perform sig
n
ed
o
perations if O_SIGNED b
i
t is set
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
h
olam
i
Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
ncc: don't
c
ast the return
value for
v
oid
f
unctions
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Ghola
m
i Rudi
gen:
m
o
re compact version
o
f
m
em
c
py() and
mem
s
et
(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Rudi
g
e
n: don't
output r
e
location
s
when o_nogen() is
c
a
l
led
commit
|
commitdiff
|
tree
2011-03-13
Ali G
h
olami Rudi
neatcc arm
p
or
t
commit
|
commitdiff
|
tree
2011-03-08
A
li Ghola
m
i Rudi
clean
up
the
i
n
terface betwe
e
n ncc
.
c, gen
.
c and
o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
Gholami Rud
i
npp:
remo
v
e comments after pre
p
ro
c
essing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rudi
cpp: don't remove non-macro
number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
n
p
p: allow u
s
ing n
e
a
t
cc's p
r
e
processor
a
s a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
Gholam
i
Rud
i
cpp:
don'
t
skip n
o
n-
e
ol
m
acro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
o
l
am
i
Rudi
gen: f
i
x
op_rs() optimi
z
ati
o
n function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
ge
n
:
u
se better names fo
r
o
p
codes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp: define __i3
8
6__
;
_
_
x86_64__ is
n
o lo
n
ge
r
supported
commit
|
commitdiff
|
tree
2010-11-20
Al
i
Gholami Rudi
g
en: load the first
tmp
before cal
l
ing
T
M
P
_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholam
i
Rudi
add RE
A
D
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
n
c
c: fi
x
name-
>
name str initializ
e
r
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghola
m
i Ru
d
i
al
l
ow extern array
d
e
c
larations
without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: includ
e
s
t
ddef
.
h for using offset
o
f()
commit
|
commitdiff
|
tree
2010-07-28
A
li Ghol
a
mi Rudi
t
o
k: parse
uppercase hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Ru
d
i
nc
c
: fix
setti
n
g F_INI
T
f
or eac
h
defin
e
d name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gho
l
ami Rudi
cp
p
:
handle nes
t
e
d m
a
cro
c
a
lls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
li Gh
o
lami
Rudi
tok: don'
t
go beyond buf len for 3
-
c
har tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
Rudi
ta
b
.
h:
use
t
he sta
n
dard o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gh
o
lami R
u
di
n
cc: fix calling ts_pop(
)
pr
e
maturel
y
i
n
opass
i
gn()
commit
|
commitdiff
|
tree
2010-07-12
Ali Ghol
a
mi
R
udi
gen: ignore the sig
n
o
f
the second operan
d
in
/ and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
h
olami
R
u
d
i
n
c
c
: fix
&
and * on funct
i
ons
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: don't
overwrite pus
h
ed ebx, e
s
i
a
nd edi
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami
R
udi
gen: change stack
alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
n
cc: don't change operand order for cons
t
ops
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami R
u
di
g
en: on
l
y perform const o
p
for
ad
d
r
esse
s
when adding
commit
|
commitdiff
|
tree
2010-07-08
Al
i
Gh
o
lami
Rudi
gen: zer
o
ing
eax doesn't se
e
m necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
ncc: fix
+
+s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
h
o
lami Rudi
ncc: fix functio
n
p
ointer
arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Rudi
gen: remove th
e
unused c_op
(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
h
o
l
a
mi Rudi
g
e
n
:
use tmp
-
>
off
for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
h
olami R
u
di
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Ru
d
i
gen: functi
o
ns
for performing opti
m
ize
d
ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
ge
n
:
f
ix two-b
y
te opcod
e
bi
t
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use an
i
nt
for operat
o
rs
commit
|
commitdiff
|
tree
2010-06-23
Ali Ghol
a
mi
Ru
d
i
replace o_*()
f
u
n
cti
o
ns with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Al
i
Gholami Rud
i
add specia
l
iz
e
d i
n
c/dec operations
commit
|
commitdiff
|
tree
2010-06-21
A
l
i
Gho
l
a
mi Rudi
g
e
n
:
let
a
ll grps b
e
u
s
ed as byte registers
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gh
o
lami Rudi
out: do
n
't n
e
ed MAXSEC
S
an
y
mor
e
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
l
a
mi Rudi
tab: let tabl
e
size
be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
out: merge al
l
sections int
o
o
n
e text section
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami Ru
d
i
cp
p
:
r
eset arg
co
u
n
t
o
n macro r
e
de
f
ini
t
ion
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholam
i
Rudi
out: make neatcc
w
ork wit
h
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
g
e
n: handle char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
ncc: align st
r
ucts based
on the
first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
mov macro hash tab
l
e
t
o
ta
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
h
ola
m
i Rudi
gen: handle
u
nsigned
-
>
l
o
ng
c
ast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
c
pp:
save macro n
a
mes
i
n a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: divide (p
t
r -
p
tr) result only if size
> 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
gen:
u
se movsxd
onl
y
w
h
en sr
c
i
s signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
tok: 0x1 should be u
n
signed
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
gen: fix
t
he con
d
itions
for movxx operation
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix getting i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
A
li Ghola
m
i Rud
i
ncc: handle ptr
operations on structs p
t
rs
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
ncc: fix calling functio
n
pointers with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami R
u
di
ncc: do
n
't
t
a
ke case expr
s
a
s
l
a
bels
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
holami Rudi
gen: don'
t
gener
a
te co
d
e
after o_nog
e
n() i
n
oi()
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
holami Rudi
all tmps should be the
sam
e
in c
o
nditional bran
c
hes
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholam
i
Rud
i
gen: fix loadi
n
g
ba
c
k tmps in mem w
i
thout deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
le
t
to
k
_num() return th
e
bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami
Rudi
ge
n
:
relocation addr
e
ss size is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali
Gholami
R
u
di
gen: fix SYM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix !!ex
p
r
commit
|
commitdiff
|
tree
next