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
gen: encode 0xf0000000 as an immediate
2011-03-31
A
l
i Gholami Rudi
gen: encode
0
xf0000000 as an immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami
Ru
d
i
gen: sw
a
p
the immedi
a
te if needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami R
u
di
gen: e
n
code cmp+immedia
t
e instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
en: put the immediate in
the opcode
i
f
possib
l
e
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Gh
o
lami Ru
d
i
g
en: remove cmp+
b
r
a
nch opt
i
miz
a
tion; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi Rudi
c
p
p
: ha
n
dle function macros with no
a
rgume
n
ts
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
Gholami Ru
d
i
gen: rename
d
at_bss
(
)
and dat_dat() to begi
n
with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rudi
gen: group
f
u
nctio
n
s in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Ru
d
i
g
en:
r
eset las
t
_s
e
t af
t
er c
m
p+b opti
m
i
zation
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
gen: fi
x
~ operator
i
mplemen
t
ation
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gho
l
ami Rudi
ncc:
der
e
fere
n
c
e
function pointers
l
ike
a
n
y other variables
commit
|
commitdiff
|
tree
2011-03-27
A
li Gholami Rudi
gen: don't remove
the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gho
l
ami R
u
di
gen:
don't let o_
c
ast() change dereferenc
e
d
ty
p
e
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc: use t
o
k_jmp() instead of tok_(see|get)()
i
n
enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holam
i
Rudi
ge
n
: handle larg
e
o
f
fsets f
o
r
s
tr
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
gen: replace TMP
_
R
E
G* macros wi
t
h reg_fortmp(
)
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholam
i
Rudi
gen:
c
hange o_
n
o
g
e
n()/
o
_dogen
(
) to be rec
u
rsive
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gholami
R
udi
gen
:
don
'
t gen
e
rat
e
exc
e
ss jumps
f
or the
l
a
st return
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
holami R
u
di
gen: don't add
d
u
pli
c
ate data to n
u
mber pool
commit
|
commitdiff
|
tree
2011-03-20
A
li Gholami
Rudi
gen
:
c
a
ll tmp_to() in
f
or loading rhs i
n
o_assi
n
g()
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami Rudi
gen: ignore O_SI
G
NED when check
i
ng the o
p
code
commit
|
commitdiff
|
tree
2011-03-17
A
l
i
G
holami Rudi
gen: fix s
i
gned division to
nega
t
e th
e
r
e
maind
e
r
commit
|
commitdiff
|
tree
2011-03-16
Ali Gh
o
lami Rudi
g
e
n: merge d
e
creme
n
t and check in i_memcpy()
an
d
i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen
:
don't
s
ave
variable registers bef
o
re calls
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Ghola
m
i Rudi
gen: add software di
v
/
m
od
i
mpl
e
mentatio
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
l
a
mi Rudi
ncc:
set O_SIGN for
m
ost b
i
nary ope
r
ations
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi Rud
i
ncc:
d
ereference the no
t
expression
o
f cexprs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Ghola
m
i Ru
d
i
perform signed operations if O_SIGNED bit is
se
t
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami Rudi
cpp: define
__arm__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami
R
udi
n
c
c: don't cast t
h
e return value for void f
u
ncti
o
ns
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
h
o
lami Rudi
gen: more comp
a
ct versio
n
of
m
e
mc
p
y() and mem
s
e
t
(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: don't ou
t
p
u
t
reloca
t
ions when
o
_nogen() i
s
called
commit
|
commitdiff
|
tree
2011-03-13
Al
i
Gho
l
ami Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clean
up t
h
e interf
a
c
e
betwe
e
n ncc
.
c
,
gen
.
c and
o
ut
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gholami Rud
i
npp:
r
emove
comment
s
af
t
er pre
p
r
oce
s
sing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
Rudi
c
p
p: don't
rem
o
ve non-macro num
b
er signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
a
mi
Rudi
n
p
p: allow using
n
eatcc's p
r
e
p
rocessor as a
s
tandalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
Gholam
i
Rudi
cpp: don't skip non-eol macro backs
l
a
s
hes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami Rudi
gen:
f
ix o
p
_rs
(
)
o
ptimization func
t
ion
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: use
b
ett
e
r names for o
p
codes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rud
i
cpp: de
f
ine
_
_i386__; __x86_64__ is n
o
longer s
u
p
port
e
d
commit
|
commitdiff
|
tree
2010-11-20
Ali G
h
o
l
ami Rudi
gen: lo
a
d
the
first t
m
p
before calling TMP_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali
G
ho
l
ami R
u
d
i
add RE
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
o
la
m
i
Rudi
ncc:
f
i
x
n
a
me->na
m
e
str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow ext
e
r
n array declarations
withou
t
size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rud
i
cpp
:
include stddef
.
h
f
o
r us
i
ng o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rud
i
tok: parse
u
ppe
r
cas
e
hex n
u
mbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc: fix sett
i
ng F_I
N
IT
f
or each defined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i Rudi
cpp: handl
e
neste
d
macro call
s
like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami Rudi
tok: don't go beyo
n
d
buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Ru
d
i
tab
.
h: use the standard offse
t
of()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gholami Rudi
ncc: fix calling ts_pop() prematurely
i
n opassign
(
)
commit
|
commitdiff
|
tree
2010-07-12
A
li Gholami Rudi
gen: ignor
e
t
h
e sign
of
t
he
s
econd
o
perand in / and
%
commit
|
commitdiff
|
tree
2010-07-10
A
l
i Gholami Rudi
ncc: fix & and * on functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami
R
udi
gen: do
n
't overwrite p
u
shed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: cha
n
ge
s
tack align
m
en
t
to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc: do
n
't change o
p
erand
o
rder for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rudi
gen: only p
e
rfor
m
c
o
n
st op for a
d
dr
e
sses
w
hen addin
g
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen: zeroing eax does
n
't s
e
em n
e
cessary
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Rudi
ncc:
f
ix ++s for point
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami
Rudi
ncc: f
i
x
f
u
nc
t
i
on
po
i
nter ar
r
ays
commit
|
commitdiff
|
tree
2010-06-30
A
l
i
Gh
o
lami Rudi
gen: remove the unused c_o
p
()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: us
e
tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rud
i
port
ne
a
tcc
t
o x86
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
gen: funct
i
ons f
o
r performing optimized ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i
G
holami Rudi
gen: fix
t
wo-b
y
t
e opcode
b
i
t
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gholami Rud
i
gen: use an
int for o
p
erators
commit
|
commitdiff
|
tree
2010-06-23
Ali
G
holami Rudi
replace o_*() functions with
o_bop
(
)
and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghola
m
i
Rudi
add s
p
ecialized inc/dec operat
i
o
n
s
commit
|
commitdiff
|
tree
2010-06-21
Ali Gh
o
l
a
m
i Rud
i
gen: l
e
t
a
ll gr
p
s be used as byte re
g
isters
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami Rudi
o
ut:
don
'
t need M
A
XSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami
Rudi
tab
:
let
t
able s
i
ze b
e
HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rudi
out: m
e
rge all sections
i
n
to
o
n
e
te
x
t
s
ection
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghola
m
i Rudi
cpp: reset arg cou
n
t on macr
o
redef
i
n
i
t
i
o
n
commit
|
commitdiff
|
tree
2010-06-19
Ali
G
holami Rudi
out: make neatcc
w
ork with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: h
a
ndle c
h
ar argume
n
ts
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
holami Rudi
ncc:
a
lign structs based on th
e
fir
s
t fie
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
mov m
a
c
ro hash
t
a
ble to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami
R
udi
gen: handle
unsig
n
ed -> long ca
s
t
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
c
p
p: save m
a
cro name
s
i
n
a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hol
a
m
i
R
u
di
ncc: divide (p
t
r - ptr) result only
i
f size >
1
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
gen:
us
e
movsxd only when sr
c
is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
tok: 0x1 sho
u
ld be u
n
signed
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
gen: fix the
c
ondit
i
ons fo
r
m
o
vxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami
Rudi
ncc: fix g
e
tt
i
ng
i's ty
p
e in ++
i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
n
cc:
handle ptr
o
perations on s
t
ructs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix cal
l
i
n
g func
t
ion
p
ointe
r
s with argum
e
nts
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
a
mi Rudi
ncc: don't
t
ake cas
e
exprs as label
s
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami
Rudi
gen: don't generate c
o
de after o_noge
n
() in
o
i
()
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami Rudi
a
l
l
tmps should be the same
in condi
t
io
n
al
branc
h
es
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami R
u
di
gen: fix loading bac
k
tmp
s
in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Ghol
a
m
i Rudi
let tok_num() ret
u
rn t
h
e
bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen: relocation address
size is alway
s
4
f
o
r now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix SYM_PTR
(
)
m
ac
r
o
commit
|
commitdiff
|
tree
2010-06-16
Ali Ghol
a
mi Rud
i
gen: fi
x
!!ex
p
r
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Ru
d
i
ncc: let s
h
ift amount be an un
s
igned
commit
|
commitdiff
|
tree
2010-06-15
Ali
Gholami Rudi
g
e
n
: c
l
eanup tm
p
handling and
f
ix regs arra
y
in o_swap
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
olami Rudi
ncc: align str
u
ct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ge
n
:
mark cop
i
ed register
a
s the owner in o_tmp
c
opy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rud
i
g
en: fix "if (!
e
xpr)"
commit
|
commitdiff
|
tree
next