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: encode 0xf0000000 as an immediate
2011-03-31
Ali
Gholami
R
udi
gen:
e
ncode 0xf0000000 as an
immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holam
i
Rudi
gen: swap the
immediat
e
if needed f
o
r
== and !=
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
Gholami Rud
i
gen: e
n
code cmp+i
m
mediate
i
nstructi
o
ns
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
ho
l
ami R
u
di
gen: put the
i
mm
e
diate in the opc
o
de if possible
commit
|
commitdiff
|
tree
2011-03-30
A
li Gholami
Rudi
gen:
r
emove cmp+bra
n
ch optimi
z
a
tio
n
; moved
to opt bra
n
ch
commit
|
commitdiff
|
tree
2011-03-30
A
l
i Gholami
Ru
d
i
cp
p
: h
a
ndle
f
unction macro
s
with
n
o arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami R
u
di
gen
:
rename dat_bss()
and dat_dat() to beg
i
n
w
i
t
h o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Ru
d
i
gen
:
group functions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
olami Rudi
gen: reset
l
ast_
s
et
after cmp
+
b optimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi
R
udi
gen:
f
ix
~
operato
r
implement
a
tion
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc
:
deref
e
r
e
nce fu
n
ction
pointers like any other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami R
u
di
gen: don't
r
e
m
ove the las
t
return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami Rudi
gen: don
'
t let o_cast() ch
a
nge derefe
r
e
n
c
ed
type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc
:
use tok_j
m
p() i
n
stead of tok_(see|get)() in enum
_
c
r
e
a
te()
commit
|
commitdiff
|
tree
2011-03-25
Ali
Gholami Ru
d
i
ge
n
:
h
andle l
a
rg
e
offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
hola
m
i Rudi
gen: r
e
p
l
ace TM
P
_REG* macros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghola
m
i
Rudi
gen:
change o_nogen()/o_
d
ogen() to be r
e
cu
r
s
ive
commit
|
commitdiff
|
tree
2011-03-23
A
li Ghol
a
mi
R
u
di
gen: don't gene
r
ate excess jumps for the last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n: d
o
n't add
d
u
plicate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami Rudi
gen: ca
l
l tm
p
_to()
i
n for loading rh
s
i
n
o_assing()
commit
|
commitdiff
|
tree
2011-03-20
A
l
i
G
hola
m
i Rudi
g
en: ignore O_SIGNE
D
when checkin
g
the opco
d
e
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami
R
udi
gen: fix signed
d
ivisio
n
t
o
n
egate the rema
i
n
der
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
g
e
n
: merge
d
e
cr
e
m
ent
a
nd c
h
e
c
k
i
n i
_
memc
p
y() and i_
m
emset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
Rudi
gen:
d
on't sa
v
e variab
l
e r
e
gi
s
ters be
f
ore
c
alls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
gen: ad
d
software
d
i
v/
m
od implemen
t
ation
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
n
c
c
:
set O_SIGN for
m
os
t
binar
y
op
e
ratio
n
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
di
ncc: der
e
ference the n
o
t e
x
pression
of
cexp
r
s
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
perform sign
e
d op
e
rations if
O
_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
cpp: define __ar
m
__
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
olami Rudi
ncc: don
'
t cast
t
he r
e
t
u
rn value for void
function
s
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
gen: more compact version of
m
emcpy(
)
and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami
R
u
d
i
gen: do
n
't outp
u
t relocat
i
ons when o_nogen() is ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
A
li Gholami Rud
i
neatcc
a
rm por
t
commit
|
commitdiff
|
tree
2011-03-08
A
l
i Gholami Rudi
c
lean up the i
n
t
e
r
face between n
c
c
.
c
, gen
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
ami
Rudi
npp:
r
emove comments after prep
r
ocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
Rudi
cpp: don't remove non-macro number
s
igns
commit
|
commitdiff
|
tree
2011-02-19
A
li Ghola
m
i Rudi
npp: allow
using neatcc's prepr
o
cessor a
s
a s
t
anda
l
one
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali
Ghol
a
mi Rudi
cpp: don't skip non-eol mac
r
o backsl
a
shes
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghola
m
i
Rudi
gen: fix op_rs() optimizati
o
n f
u
nction
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen:
u
se better names f
o
r opcod
e
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Gh
o
lami Rudi
cpp:
d
efine __i386__; __x86_64__ is
no lo
n
g
e
r supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami
Rudi
gen: load the first tmp before call
i
ng
T
MP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
l
i G
h
olami Rudi
add RE
A
DME
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
o
l
a
mi Rud
i
ncc: fix name->name
s
t
r i
n
itializer
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Gholami Rudi
allo
w
e
x
tern arra
y
d
e
clarations
wi
t
h
out size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Ru
d
i
cpp: include stddef
.
h for
u
sing
offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali G
h
o
l
am
i
Rudi
t
o
k
:
parse upperca
s
e hex num
b
ers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholam
i
R
udi
ncc: fix setti
n
g
F
_INIT
f
o
r eac
h
d
e
f
i
ned name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Ru
d
i
cpp:
ha
n
dle nes
t
ed macro
c
alls l
i
ke M
(
M
(
1))
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
G
holami Rudi
tok: don't
go bey
o
n
d buf
l
en for 3-
c
har
tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h
:
use
t
he standard of
f
s
e
tof()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami Rudi
nc
c
: fix cal
l
ing ts_po
p
() pr
e
mature
l
y in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholami Rudi
gen:
i
gnore the
s
ign
o
f th
e
second operand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami
Rudi
ncc: fix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
gen: don't overwrite pushe
d
ebx, esi
and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami Rudi
gen: ch
a
nge stack a
l
ignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
n
c
c: don't cha
n
ge operand order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
gen: on
l
y perform co
n
st
o
p fo
r
addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
holami Rudi
gen: zeroing eax doesn
'
t
se
e
m necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
holam
i
Ru
d
i
ncc:
fix
+
+
s for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix fun
c
t
ion po
i
nter arr
a
ys
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
g
e
n: re
m
ove th
e
u
n
used c
_
op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami
R
ud
i
ge
n
:
u
se tmp->
o
ff fo
r
loca
l
s too
commit
|
commitdiff
|
tree
2010-06-28
A
l
i Gho
l
ami Ru
d
i
port
neatcc t
o
x86
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
gen
:
f
u
nctions for pe
r
forming opt
i
miz
e
d
o
ps
commit
|
commitdiff
|
tree
2010-06-24
A
l
i G
h
olami R
u
di
gen: fix two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami Rudi
gen: us
e
an
i
nt
f
or operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Ghol
a
mi Rudi
replace
o_*() function
s
with o_bop() and o_uop(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rud
i
a
dd
s
peci
a
lize
d
in
c
/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
R
ud
i
g
e
n
:
let a
l
l grps be used as byte regist
e
rs
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
mi Rudi
out: do
n
't need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gho
l
a
mi Rudi
tab: let t
a
ble
s
ize be
HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
ou
t
: merg
e
all sectio
n
s
in
t
o
o
ne text section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: reset
a
r
g count o
n
m
acro
r
e
d
e
finition
commit
|
commitdiff
|
tree
2010-06-19
Ali
Gholam
i
Ru
d
i
out: make neatcc work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: h
a
ndle
c
h
ar ar
g
umen
t
s
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Ghol
a
mi Rudi
ncc: align s
t
ruct
s
base
d
on the
f
irst field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
mov mac
r
o hash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali
Ghol
a
mi Rudi
gen
:
handle unsign
e
d
-> l
o
ng cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
cpp:
s
ave m
a
c
r
o
n
a
mes in
a
ha
s
h
t
a
ble
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
n
c
c: di
v
i
de
(
ptr
- ptr) result
on
l
y
if size >
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
gen: use movsxd
onl
y
when src is
si
g
ned
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gho
l
ami Rud
i
tok: 0x1 should be unsig
n
ed
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami
R
udi
g
e
n: fix the c
o
ndit
i
ons
f
or movxx o
p
erations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami
Rudi
ncc: f
i
x getting i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc
:
han
d
le ptr op
e
rations on str
u
cts ptr
s
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
nc
c
: fix calling function
p
ointers w
i
th argu
m
e
nts
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gh
o
lami R
u
di
ncc: don
'
t take ca
s
e exprs
a
s
l
a
b
el
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: don't gene
r
ate code after o_nogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami
R
udi
all tmps should be the
same in c
o
ndi
t
io
n
a
l branches
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gholami Rudi
gen: fix l
o
a
d
i
n
g back tmps i
n
mem
wit
h
out deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Ghola
m
i Rudi
let
tok_num() ret
u
rn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen: relocation ad
d
ress siz
e
is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gh
o
lami
R
udi
gen:
f
i
x SYM
_
PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali G
h
o
lami Ru
d
i
gen: fix !!expr
commit
|
commitdiff
|
tree
2010-06-15
Al
i
Ghola
m
i
Rudi
ncc: l
e
t shi
f
t amo
u
nt be
an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
gen: cleanup tmp handl
i
n
g and f
i
x re
g
s array in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami Rudi
n
c
c: a
l
ign struc
t
m
e
m
be
r
s
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Ghola
m
i Rud
i
ge
n
: m
a
rk copied regi
s
t
e
r as the owner
in o_tmpcopy
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen: fix
"
i
f (!expr)"
commit
|
commitdiff
|
tree
next