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: put the immediate in the opcode if possible
2011-03-31
Ali Gholami Rud
i
gen:
put th
e
immediate in t
h
e opcode if p
o
s
sible
commit
|
commitdiff
|
tree
2011-03-30
A
li Gho
l
ami Rud
i
ge
n
: remove c
m
p+br
a
n
ch opt
i
mization; moved t
o
o
p
t br
a
n
ch
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
olami
R
udi
cpp: handle func
t
ion mac
r
os wi
t
h no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: rename
d
a
t
_
bs
s
() and dat_
d
at() to beg
i
n with
o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen
:
g
ro
u
p functions in g
e
n
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen: reset
last_set after
c
mp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
A
l
i G
h
o
lami
R
u
d
i
g
en: fix ~ operator implementation
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Rudi
ncc
:
de
r
e
ferenc
e
fu
n
c
t
io
n
pointers
l
ik
e
a
n
y other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holam
i
Rud
i
gen
:
don't
remove the last return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
lami Rudi
gen: do
n
'
t
l
e
t o_ca
s
t
() change dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Al
i
G
hol
a
mi Rudi
ncc: use
t
o
k_jmp
(
) instead of tok_(se
e
|ge
t
)() in enu
m
_cre
a
t
e
()
commit
|
commitdiff
|
tree
2011-03-25
Al
i
G
holami Ru
d
i
gen: handle
large
offsets
f
or str
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olami
R
udi
g
en: replace TMP_R
E
G*
m
a
c
r
o
s with
reg
_
fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
gen: c
h
a
nge
o
_n
o
gen()/o_dogen() to be recu
r
sive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
ami
R
udi
gen
:
do
n
't gen
e
rate excess jumps for the last return
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
gen: don't add
du
p
licate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
A
l
i
G
holam
i
Rudi
gen: call tmp_
t
o() in for loading rh
s
in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
am
i
Rudi
g
e
n:
i
g
nore O
_
SIGNED
wh
e
n checking th
e
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
hola
m
i Rudi
gen: fix signed divisi
o
n to negate the
r
emainder
commit
|
commitdiff
|
tree
2011-03-16
Al
i
Gho
l
ami R
u
d
i
gen: merge
d
ecrement and check in i_memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: don't
s
ave variable registe
r
s bef
o
re calls
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami
R
u
di
gen: add software
d
iv/mod i
m
pl
e
m
e
ntatio
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
ncc
:
set O_SIGN for most
b
inar
y
operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholam
i
Rudi
ncc:
dereference the
n
ot exp
r
ession of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami
Rudi
perfor
m
signed operati
o
ns if
O
_SIGNED
b
it is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: defin
e
__arm_
_
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc: don't cast t
h
e ret
u
rn value for void f
u
nctions
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
gen: more compact version o
f
memcpy()
a
n
d
memset()
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
holami
R
u
d
i
gen: don'
t
o
utput relocations w
h
en o_n
o
g
e
n() i
s
called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
n
e
atc
c
ar
m
port
commit
|
commitdiff
|
tree
2011-03-08
Al
i
G
h
o
lami Rudi
clean up t
h
e interface betwe
e
n ncc
.
c
,
gen
.
c and o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghola
m
i R
u
di
npp: remove comment
s
after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Rudi
cpp:
d
o
n't remove non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali
Ghola
m
i Rudi
npp: allow using neatcc's p
r
e
processor as
a
standa
l
one
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Ghola
m
i R
u
di
cpp: don't s
k
ip non-e
o
l macro bac
k
s
l
ashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
Rudi
ge
n
: fix op_rs() optimizatio
n
f
u
nc
t
ion
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
Rudi
gen: use
b
etter names for opc
o
des
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Ru
d
i
c
p
p: define __
i
3
8
6__
;
__x86_64__ is n
o
longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gh
o
lami
R
udi
gen:
l
o
ad the firs
t
tmp
b
efore
c
a
l
l
i
ng TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali G
h
olami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gh
o
lami Rudi
ncc: fi
x
na
m
e->name str init
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Ru
d
i
al
l
ow extern ar
r
a
y de
c
larat
i
on
s
without s
i
ze
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp: include s
t
ddef
.
h for using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami R
u
di
tok: pa
r
s
e
up
p
ercase
h
ex
n
um
b
ers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
n
cc:
f
ix setting F_INIT for
e
a
ch def
i
n
e
d n
a
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp: hand
l
e
n
e
s
t
e
d
ma
c
ro c
a
lls like
M(M
(
1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami Rudi
tok: don't go bey
o
nd
buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami Rud
i
tab
.
h: use t
h
e standard offse
t
of()
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami Rudi
ncc: fix call
i
n
g
t
s
_pop() premature
l
y in
opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gh
o
lam
i
Rudi
gen: ignore th
e
sign of the sec
o
nd ope
r
a
nd in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami
R
udi
n
c
c
:
fix & and * on
f
u
n
ctions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen:
d
on't overwrite
p
ushed eb
x
, esi
a
n
d
e
d
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
gen: chang
e
stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gho
l
a
m
i
Rudi
ncc: don't change
o
perand order
for co
n
st o
p
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rudi
gen: o
n
l
y p
e
rform const op for
addresses w
h
en adding
commit
|
commitdiff
|
tree
2010-07-08
A
l
i Gholami Rudi
g
en: zeroing eax doesn't seem ne
c
essary
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami Rudi
nc
c
:
fix ++s for
pointe
r
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
n
c
c: fix function pointer
a
rrays
commit
|
commitdiff
|
tree
2010-06-30
Al
i
G
h
ola
m
i R
u
di
gen
:
r
emove the
u
nused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami
Rudi
gen: use tmp->o
f
f for locals too
commit
|
commitdiff
|
tree
2010-06-28
A
li Gholam
i
Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
ho
l
ami Rudi
g
en: functions
f
or p
e
rforming optim
i
z
ed ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i
G
h
olami R
u
di
gen: fix two-
b
yte opc
o
de
b
i
t
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
lami Rudi
gen: use
a
n int for o
p
e
rators
commit
|
commitdiff
|
tree
2010-06-23
A
li Gh
o
lami Rudi
replac
e
o_*(
)
f
unc
t
ions with o_bop(
)
a
n
d o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
hol
a
m
i
R
u
di
add speciali
z
ed
inc/dec
operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami
R
udi
g
e
n: let al
l
grps be used as by
t
e
re
g
iste
r
s
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
m
i
Rudi
o
ut:
d
o
n't ne
e
d
MAX
S
EC
S
anymore
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami Rudi
t
a
b:
l
et
t
able
s
ize be HASHIT
E
MS
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
hola
m
i Ru
d
i
o
u
t: mer
g
e al
l
sections into one text section
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami
Rudi
cpp: r
e
set ar
g
c
o
unt
on
macro r
e
de
f
inition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami
Rudi
ou
t
: make n
e
atcc work with gn
u
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
gen
:
h
a
n
dle cha
r
a
r
gum
e
nts
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: align
structs based o
n
t
he first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
la
m
i Rudi
mov mac
r
o hash table to
t
ab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
g
e
n: handle u
n
sign
e
d
-
> long
c
ast
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami Rudi
cpp: save macro names in
a
hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
d
i
n
c
c: d
i
vide (pt
r
- ptr)
r
esult onl
y
if size >
1
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
h
olami Rudi
gen
:
use movsxd only when sr
c
i
s signe
d
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
holami Rudi
t
o
k: 0x1 s
h
ould be u
n
signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: fix the condition
s
for movxx operations
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
ola
m
i Rudi
n
c
c: f
i
x getting i's type in
+
+i
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gh
o
lami Rudi
ncc: handle
pt
r
opera
t
i
o
ns on stru
c
ts ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix calli
n
g function pointers with argu
m
e
n
ts
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
la
m
i Rudi
ncc: don't take case exprs
as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
gen: do
n
'
t
gener
a
te code after o_
n
ogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami Rudi
all tmps should b
e
the sam
e
in conditional
b
ranche
s
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
g
en:
fix l
o
adi
n
g
b
ack tmps in
mem
without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rud
i
let to
k
_nu
m
() r
e
turn
t
he
bt
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami Rudi
gen:
r
elo
c
ation address size
is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami R
u
d
i
gen
:
fix SYM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali G
h
olami Rudi
gen: fix
!
!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gho
l
ami Rudi
ncc
:
let s
h
ift amount b
e
an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali
G
holami Rudi
g
en: cleanup tm
p
handling
a
nd fix regs a
r
ray i
n
o_swap
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gh
o
lami Rudi
n
c
c
: ali
g
n st
r
uc
t
me
m
b
e
rs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rud
i
ge
n
: mark copie
d
reg
i
ster as the o
w
ner in o_
t
mpcopy(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholam
i
Ru
d
i
gen: fix "if (!expr
)
"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
n
cc: f
i
x pointe
r
ar
i
thmetic on struct p
t
rs
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi Rudi
show an error msg if no inp
u
t f
i
le
commit
|
commitdiff
|
tree
2010-06-13
Ali Ghola
m
i
Rud
i
t
o
k
: accept
u
ppercase hex
digits
commit
|
commitdiff
|
tree
next