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: handle large offsets for str
2011-03-25
Al
i
Ghola
m
i R
u
di
gen: hand
l
e lar
g
e o
f
f
s
ets for
s
tr
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
olami Rud
i
g
en: replace TMP_REG* macros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rud
i
gen: change o_no
g
e
n()/o_dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Ghol
a
mi Rud
i
gen: don't generate excess jumps for the
l
a
st return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n: do
n
'
t add duplicate data to numbe
r
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holami Rudi
ge
n
: cal
l
tmp_to
(
) in for loa
d
ing rhs in o_ass
i
ng()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
g
e
n:
i
gnore
O
_SIGNED when checking the
o
pc
o
de
commit
|
commitdiff
|
tree
2011-03-17
A
li Gholami Rudi
gen: fi
x
sig
n
ed divisi
o
n to negate the rema
i
nder
commit
|
commitdiff
|
tree
2011-03-16
Ali G
h
olami Rudi
gen: merge
d
e
cremen
t
a
n
d check in i_m
e
m
cpy() and i
_
me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen:
d
on't s
a
ve variable regist
e
r
s
before calls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gh
o
l
a
mi R
u
di
gen: add software d
i
v/mod
i
m
p
leme
n
tation
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholam
i
R
ud
i
ncc: set O_SIGN
f
or
most bin
a
r
y operations
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
G
h
olami Rudi
ncc: dereference the not expression
o
f cexprs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholam
i
R
u
di
perform s
i
g
n
ed oper
a
ti
o
ns if
O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Ru
d
i
c
p
p:
d
efin
e
__
a
rm_
_
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lami Rudi
ncc: don't cast the return value for voi
d
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: more compact versi
o
n
o
f mem
c
py() and
mem
s
et()
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
ola
m
i Rudi
gen: don't output reloca
t
ion
s
when
o_noge
n
() is
called
commit
|
commitdiff
|
tree
2011-03-13
Al
i
Gholam
i
Rud
i
n
e
atcc arm
port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gho
l
ami Rudi
clean up the in
t
erface between ncc
.
c
,
gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
G
ho
l
a
m
i Rudi
npp: remove comments after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cpp: don't remove no
n
-macro n
u
mber si
g
ns
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
o
l
ami Rudi
n
pp: al
l
ow
u
sing neatcc's preproces
s
o
r as
a
s
t
andalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali G
h
olami Ru
d
i
cpp: don
'
t sk
i
p
non-eol m
a
cro bac
k
slashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holam
i
R
ud
i
g
en: fix op_
r
s
()
optimization function
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Ghol
a
mi
Rudi
gen: use better names
f
o
r opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
holami Ru
d
i
c
pp: define __i386__;
__x86_
6
4__ is no longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: load the first tmp befo
r
e calling
T
MP_REG2
(
)
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rud
i
add README
commit
|
commitdiff
|
tree
2010-08-13
Al
i
G
holami R
u
di
n
cc: fix name->name s
t
r
i
n
i
tia
l
i
zer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholam
i
R
u
di
a
l
l
ow
extern array decl
a
rations without size
commit
|
commitdiff
|
tree
2010-07-29
A
li G
h
olami Rudi
cpp
:
in
c
lude
s
t
d
def
.
h for u
s
in
g
offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Ghola
m
i
R
udi
tok: parse uppercase hex numbe
r
s
commit
|
commitdiff
|
tree
2010-07-25
A
li Gholami Rudi
ncc:
f
ix
s
etting F_INIT fo
r
each d
e
fine
d
name
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholami Rudi
cpp: handle n
e
sted
m
acro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
to
k
: don't go bey
o
nd
bu
f
len
f
o
r
3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
h
o
l
a
m
i Ru
d
i
t
ab
.
h: us
e
t
h
e
s
tandard offsetof
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami R
u
di
nc
c
: fix cal
l
ing ts_pop() prematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olami Rud
i
g
e
n
:
ignore
t
he sign of the
s
econd op
e
ran
d
in
/
and %
commit
|
commitdiff
|
tree
2010-07-10
Al
i
Gholami Rudi
ncc: fix & and * on functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Ru
d
i
gen:
don't
overwrite push
e
d ebx
,
e
s
i and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami Rudi
gen: cha
n
ge stack alignm
e
n
t to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holam
i
Rudi
nc
c
: don'
t
chang
e
operand
o
rder for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rud
i
g
en:
only perform co
n
st op
f
or
a
ddresses
w
hen
a
dding
commit
|
commitdiff
|
tree
2010-07-08
Ali
Gh
o
l
a
mi Rudi
gen:
z
e
r
o
in
g
eax doesn't s
e
em n
e
c
essary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami Rudi
ncc: fix ++
s
fo
r
pointers
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami Rudi
ncc: f
i
x function pointer ar
r
ays
commit
|
commitdiff
|
tree
2010-06-30
A
li Gh
o
l
ami Rudi
gen: remove the unused c_
o
p()
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Rud
i
gen: use tmp->off for locals to
o
commit
|
commitdiff
|
tree
2010-06-28
Ali G
h
o
lami Rudi
port
n
e
a
tc
c
to x8
6
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: funct
i
on
s
for
performing
o
ptimiz
e
d ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
ami Rudi
gen: fix two-
b
yte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use an int f
o
r
o
p
e
rators
commit
|
commitdiff
|
tree
2010-06-23
Al
i
Gholami Ru
d
i
r
e
p
la
c
e o_*() fu
n
ctions
with o_
b
op()
a
n
d
o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghola
m
i
Rudi
add spec
i
alized inc/dec o
p
eratio
n
s
commit
|
commitdiff
|
tree
2010-06-21
A
l
i
Gholami R
u
di
gen: l
e
t
a
ll grps be used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholam
i
Rudi
ou
t
:
d
on't need MAXSECS any
m
o
re
commit
|
commitdiff
|
tree
2010-06-20
A
li Ghol
a
mi Rudi
tab
:
l
e
t table size be
HASHI
T
EM
S
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghol
a
mi Rudi
out: me
r
ge all sections into
one
t
ext sect
i
on
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cp
p
: reset arg count on ma
c
ro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali
Gholam
i
Rudi
out
:
ma
k
e neatcc
work wi
t
h
gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: handl
e
char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
Ghola
m
i
R
udi
ncc: align
structs based
o
n
the first field
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
mo
v
macro
has
h
table t
o
t
a
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
gen:
h
andle un
s
ig
n
ed
-
>
long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
cpp:
save m
a
cro na
m
es
in
a
h
a
s
h table
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gh
o
lami R
u
di
n
c
c: divide (ptr - ptr) result only if
size >
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami
R
udi
gen: use movsxd only when sr
c
i
s
s
i
gned
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gh
o
lami Rudi
tok: 0x1 sho
u
ld be unsigned
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
gen: fi
x
t
he conditions for movxx
operat
i
ons
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
ncc:
fix getting i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Ru
d
i
ncc: handl
e
ptr o
p
e
ra
t
i
o
n
s
o
n
s
tructs
ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
d
i
ncc: fix ca
l
ling function pointers with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
ncc: don't take case exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: don't genera
t
e c
o
de
a
fter o
_
nogen()
in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
a
ll tm
p
s should be th
e
s
ame
in
c
onditi
o
nal branches
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gholam
i
Rudi
gen: fix
l
oading ba
c
k
tmps in me
m
without d
e
ref
commit
|
commitdiff
|
tree
2010-06-17
A
li Gholami Rudi
let tok
_
num()
return
t
h
e bt
commit
|
commitdiff
|
tree
2010-06-17
A
li Ghol
a
mi Rudi
ge
n
: relocation address size is alway
s
4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami
R
udi
gen:
f
i
x SYM
_
P
T
R() m
a
cro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami
R
u
d
i
gen: fix
!
!
expr
commit
|
commitdiff
|
tree
2010-06-15
Ali G
h
o
l
am
i
R
udi
ncc:
let shift
a
mount be an unsi
g
ned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholam
i
Rudi
g
e
n: cle
a
nup tmp
handling an
d
fix regs arr
a
y in
o
_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Rudi
ncc
:
align struct members
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Gholam
i
Ru
d
i
ge
n
:
ma
r
k c
o
pie
d
reg
i
ster as the owner
i
n
o
_tmp
c
opy()
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gh
o
lami Rudi
g
en: fix "if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
A
l
i
Gholami Rudi
ncc: fix poin
t
er
a
r
ithmeti
c
on stru
c
t
ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholam
i
Rudi
show an error msg i
f
no inp
u
t file
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
tok: accept
u
ppercase hex
d
igits
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami R
u
d
i
sh
o
w syntax er
r
or locati
o
n
commit
|
commitdiff
|
tree
2010-06-12
Ali Gholami Rudi
gen
:
fix i
g
n
o
ring r
e
g
op1(
)
re
t
urn value
commit
|
commitdiff
|
tree
2010-06-11
A
l
i
Gh
o
lami Rudi
gen: don't c
h
ange tmp->bt when storin
g
an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami R
u
di
gen:
extend eax
t
o edx for mu
l
/div
o
p
commit
|
commitdiff
|
tree
2010-06-11
A
l
i
G
holami Rud
i
ncc: arrays should be processed in the
re
v
ersed
o
rder
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
gen:
f
ix the or
d
e
r
o
f
MOVSX
D
's operands
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami
R
u
d
i
g
en: f
i
x freeing registers before
c
all
commit
|
commitdiff
|
tree
2010-06-10
A
l
i Gho
l
a
mi
Rudi
i
nvalid
a
te la
s
t_cmp if tmps are chan
g
ed
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
holami Rudi
deref
e
rence both sid
e
s of a conditional expr
e
ssion
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
ami Rudi
cpp: check buffer
stack ins
t
ead of cppeval v
a
riable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gho
l
ami
R
u
d
i
cpp: preven
t
recursive
m
ac
r
os
commit
|
commitdiff
|
tree
next