repo.or.cz
/
neatcc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
x86: use push instruction for saving registers
2011-04-29
Ali Gholami Ru
d
i
gen: back-p
o
rt
cm
p
+
bcc optimizat
i
on a
g
ain
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rud
i
g
e
n: m
o
ve opcod
e
s t
o
arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami Rudi
g
e
n: ren
a
m
e FOR
K
_REG to
R
EG_FOR
K
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Gholami
R
udi
ge
n
: p
a
ss only
O
_
* constant
s
to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen
:
handle sym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i
R
u
di
gen: mo
v
e architecture-speci
f
ic f
u
nctions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gh
o
lami
Ru
d
i
gen:
u
se i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gho
l
am
i
Rudi
g
e
n: pass the number of ar
g
u
me
n
ts
t
o
o_
f
u
n
c_be
g
()
commit
|
commitdiff
|
tree
2011-03-31
Al
i
G
h
ola
m
i Rudi
gen: e
n
c
o
de 0xf0000000
a
s an
im
m
ediate
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami
Rudi
gen: swap the immediate if n
e
ed
e
d for
=
= and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghola
m
i R
u
di
gen:
encode cmp+immediate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
gen: put the imme
d
iate in the opcod
e
i
f possible
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
gen: re
m
ove cm
p
+branch opt
i
mization; moved to opt bra
n
ch
commit
|
commitdiff
|
tree
2011-03-30
A
l
i Ghola
m
i Rudi
c
pp: ha
n
dle function macr
o
s
w
ith no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
rename dat_bss() and
d
a
t
_dat() to
b
egin
w
ith
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
ho
l
am
i
Rudi
g
e
n: group funct
i
ons in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami Rudi
g
e
n: reset last_set
a
fte
r
cmp+b
opti
m
ization
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
G
h
olami Rudi
gen: fix ~ operator implementa
t
io
n
commit
|
commitdiff
|
tree
2011-03-27
Ali G
h
olami Rudi
ncc: dere
f
erence function pointe
r
s like any other v
a
riables
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholam
i
Rudi
g
en
:
don
'
t remove the last retur
n
jump
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gho
l
ami Rudi
gen:
d
on't le
t
o_cast()
c
h
a
n
ge dereferenced t
y
pe
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
h
olami Rudi
ncc: u
s
e tok_jmp() inst
e
ad of tok_
(
see|
g
et
)
() i
n
enum_
c
r
eat
e
()
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olami Rudi
g
e
n
: handle large
o
ffsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: replace
TMP_REG* macros with reg
_
fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n
: c
h
ange o_nogen()/o_dog
e
n()
t
o be r
e
c
u
r
sive
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
o
l
ami
Rudi
gen: don't gener
a
te excess jumps for
the l
a
st return
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
o
lami Rudi
gen
:
don't add duplica
t
e data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen
:
call tmp_t
o
() in for loadin
g
rhs in o_assing
(
)
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen
:
ignore O_SIGNE
D
wh
e
n che
c
king the opc
o
de
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
g
en: fix signed div
i
sion t
o
negate th
e
remainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Ghola
m
i Rudi
gen: merge d
e
cr
e
ment
and check
in i_memcpy
(
) and i_memse
t
(
)
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: d
o
n't save
v
ari
a
ble registers bef
o
re calls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Ghola
m
i
R
u
di
gen: add software
d
iv/mod imp
l
eme
n
tation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
ncc: set O_SIGN for most binary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
ncc: dereference the not expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
o
l
ami
Ru
d
i
pe
r
form sign
e
d
operations
i
f O_SIGNED bit is
s
et
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami
R
udi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc: don
'
t
c
ast the retur
n
val
u
e for voi
d
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen
:
mor
e
compact version of
m
emcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rud
i
gen:
don't
output r
e
locati
o
n
s
w
h
e
n o_
n
ogen() is
called
commit
|
commitdiff
|
tree
2011-03-13
A
li Gh
o
l
ami R
u
di
neatcc arm p
o
r
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean up the interface betwee
n
ncc
.
c
,
g
e
n
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
G
holami
Rudi
npp: remo
v
e com
m
ents
a
fter p
r
eproc
e
ssing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
la
m
i Rud
i
c
p
p: don't re
m
ove n
o
n-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
A
li
G
holami Ru
d
i
np
p
: allow using neatcc'
s
p
repro
c
essor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp:
don't skip non-eol m
a
cro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami Rudi
gen: fix
op_rs() optimi
z
ation function
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gholami
R
u
d
i
gen:
u
se better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
A
li
G
h
olam
i
Rudi
cpp:
defin
e
__i386__; __x86_64__ is no longer s
u
pported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gh
o
lami Rudi
g
en: lo
a
d the f
i
rs
t
t
mp before calling
TMP_REG2
(
)
commit
|
commitdiff
|
tree
2010-09-16
A
l
i Gholami Rudi
a
dd RE
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami Rudi
nc
c
:
fix name->name str initializ
e
r
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gholami Ru
d
i
allow extern array declarations
w
ithout siz
e
commit
|
commitdiff
|
tree
2010-07-29
Al
i
Gholam
i
R
udi
cpp
:
include s
t
ddef
.
h f
o
r using offsetof
(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali Ghol
a
mi Rudi
tok:
parse uppe
r
case hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Al
i
Gholami Rudi
nc
c
:
fix setti
n
g F_I
N
IT
for eac
h
def
i
ned n
a
me
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
Gholam
i
Rudi
cpp: han
d
le nested m
a
cro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok: don'
t
g
o beyond b
u
f len for 3-char to
k
ens
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i Rudi
tab
.
h: use the s
t
andard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Ghola
m
i Rudi
ncc: fi
x
call
i
ng ts_pop() prematurely
in opassig
n
()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
R
udi
gen: ignore the si
g
n
of the second operand
i
n / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc
:
fix & and *
on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami Rudi
g
en:
d
on't
overwrite
p
ush
e
d eb
x
, esi
and e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rudi
gen: c
h
ange stack alignment
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: don't
c
hange
o
perand or
d
er for
c
onst ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rudi
gen: only p
e
rform const op for a
d
d
r
esses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
holami Rudi
gen: zeroi
n
g
eax doesn't seem
necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i Rud
i
n
c
c: fix ++s
f
o
r pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
n
cc: fix f
u
nction pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
gen: remove the unu
s
ed c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami Rudi
g
e
n: use tmp
-
>off f
o
r local
s
to
o
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
port neatc
c
to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i
Rudi
gen: fu
n
cti
o
ns f
o
r performing optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rud
i
gen: fi
x
two-b
y
te opcode bit
commit
|
commitdiff
|
tree
2010-06-24
A
l
i
Gh
o
lami Ru
d
i
g
e
n: use an
i
nt for operat
o
rs
commit
|
commitdiff
|
tree
2010-06-23
A
l
i
G
holami R
u
di
repl
a
ce o_*() functi
o
ns wi
t
h o_
b
op() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali G
h
olami R
u
di
add speci
a
lized inc/dec operation
s
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
Rudi
gen: let all g
r
ps be used as
b
y
t
e re
g
isters
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rud
i
o
u
t
: don
'
t n
e
ed MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
o
lam
i
Rudi
tab: l
e
t table size b
e
H
A
SHIT
E
MS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
ami Rudi
out:
me
r
ge al
l
sections into
o
n
e
text
s
ection
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: r
e
s
et arg count
o
n
m
acro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out:
make neat
c
c work w
i
th
gn
u
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ge
n
: handle char ar
g
uments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami R
u
di
ncc: align
s
tructs
based on the
first field
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami R
u
di
mov m
a
cro hash t
a
ble to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
mi Ru
d
i
gen
:
handle u
n
sig
n
ed -
>
long cast
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami
R
ud
i
cp
p
: save macro n
a
mes in a h
a
sh t
a
ble
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
nc
c
: divid
e
(
ptr - ptr
)
result only if siz
e
> 1
commit
|
commitdiff
|
tree
2010-06-18
A
li Ghol
a
m
i
Rudi
gen: use movsx
d
only when
src is
s
i
g
n
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holam
i
R
udi
tok: 0x1
s
h
ould be u
n
sig
n
ed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
g
en: fix the condi
t
ions
fo
r
movxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
n
c
c: fix
getti
n
g i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i
Rudi
ncc:
h
andle p
t
r
operations on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
nc
c
: fi
x
calling functi
o
n pointers with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
n
c
c: don't t
a
ke cas
e
exprs as label
s
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Ghola
m
i
R
udi
gen: don't generate code after o_nogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami
R
udi
all tmps should be
t
he sam
e
i
n condition
a
l branc
h
es
commit
|
commitdiff
|
tree
2010-06-17
Ali G
h
ol
a
m
i
R
udi
gen:
f
ix loading b
a
ck tmps in mem wit
h
o
u
t
d
eref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
let to
k
_n
u
m() return the bt
commit
|
commitdiff
|
tree
next