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: don't let o_cast() change dereferenced type
2011-03-27
Ali Gholami Rud
i
gen: do
n
't
l
et o_cast() change deref
e
renced t
y
pe
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc: use to
k
_jmp() ins
t
ead of tok_(se
e
|g
e
t)() in e
n
um_cre
a
te()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
la
m
i Rudi
gen: hand
l
e large of
f
sets for
str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
g
e
n: repl
a
ce TMP_REG* macro
s
wit
h
r
eg_fort
m
p
()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
gen: change
o
_nogen()/o_dogen(
)
t
o be recursive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gho
l
ami Rudi
ge
n
: do
n
't
generate excess jumps for the la
s
t return
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami Rudi
g
e
n: don't add duplicate data to numb
e
r
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami
R
udi
gen:
call tmp_to() in for loading rhs in o_assi
n
g()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rud
i
g
en: i
g
n
ore
O
_SIGNED when checking
the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
holam
i
Rudi
gen: fix
sig
n
ed division to ne
g
ate
t
h
e remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gh
o
lami Rudi
gen:
merge
d
ecrement
a
nd
check in i_memc
p
y() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i
Rudi
gen: d
o
n
'
t save varia
b
le reg
i
s
t
ers before calls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami Ru
d
i
gen: add software div/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
n
cc:
set O_SIGN for mo
s
t
bin
a
ry
o
p
erations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc:
dere
f
erenc
e
the no
t
expressio
n
of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
p
e
rform sig
n
e
d
op
e
rations
if O
_
SIGNED bit i
s
set
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
holami Rudi
cp
p
:
define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc
:
do
n
't cast the
r
e
t
urn value
f
or void func
t
ions
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
gen:
m
ore c
o
mpact
v
ersion o
f
me
m
cpy
(
) and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gh
o
la
m
i
R
ud
i
gen:
don't output relocation
s
when o_
n
ogen()
i
s
called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
l
a
m
i
Rudi
nea
t
cc arm port
commit
|
commitdiff
|
tree
2011-03-08
A
l
i Gho
l
ami Rudi
clean up the interfac
e
betw
e
en ncc
.
c, gen
.
c
a
nd out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami Rudi
npp: re
m
ove co
m
ments after preprocessin
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Ghol
a
mi Rudi
cpp: don't remove non-macro numb
e
r signs
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
ol
a
mi Rudi
npp: all
o
w
using
n
eatcc's preprocessor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
li Gholami Ru
d
i
cpp:
don't skip non-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen
:
f
ix op_
r
s() optimizatio
n
func
t
ion
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
ol
a
m
i Rudi
gen: use bett
e
r names for
o
pcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Ghola
m
i
Rudi
cpp:
define __i386__; __
x
86_64__ is no longer sup
p
ort
e
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Gho
l
ami
Rud
i
ge
n
: load
the first
t
m
p
b
efore c
a
l
l
in
g
TM
P
_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
R
udi
ad
d
READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholam
i
R
udi
n
cc: fix name
-
>
name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali
Gholami Ru
d
i
a
l
low extern arr
a
y
declaratio
n
s
without siz
e
commit
|
commitdiff
|
tree
2010-07-29
A
l
i Gholami Rudi
cpp
:
include
stddef
.
h for usin
g
offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali
Ghol
a
m
i Rudi
tok: pars
e
uppercase hex
numb
e
rs
commit
|
commitdiff
|
tree
2010-07-25
Ali Gh
o
lam
i
Rudi
ncc:
f
ix
s
etting F
_
INIT
for each d
e
fined
n
am
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i Rudi
cpp:
h
andle nested
macro calls like M(M(
1
)
)
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghol
a
mi
R
udi
t
ok:
d
on't
go beyond
buf le
n
fo
r
3-
c
har t
o
kens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h: use
t
he sta
n
d
a
r
d
o
f
fset
o
f
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
o
l
am
i
Rudi
n
c
c
: fix ca
l
ling t
s
_
pop() prematurel
y
in opassi
g
n()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gho
l
ami Rudi
gen: igno
r
e
t
he sign of the second
o
pe
r
and in
/
and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: fix
&
and * on functio
n
s
commit
|
commitdiff
|
tree
2010-07-09
A
li
G
ho
l
a
m
i Rudi
g
en: don't overwr
i
te pushed ebx, esi
a
nd edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: change stack
a
lignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc:
don't change op
e
rand order for cons
t
ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rud
i
gen: only perform const op for address
e
s
when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen: zeroi
n
g eax doesn't
seem necessary
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholami Rudi
ncc: fix ++s for pointe
r
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: fix function pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Ghol
a
mi Rudi
gen: remove the unused c
_
op()
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
gen: use tmp->o
f
f for l
o
c
als to
o
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholam
i
Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
h
olami R
u
di
gen
:
fun
c
ti
o
ns for perfo
r
ming optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gho
l
ami Rudi
gen: fix two-by
t
e
o
pcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
lam
i
R
u
di
gen: use
a
n int
f
or operat
o
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
replace o_*() functions with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Ghola
m
i Rudi
add specialized in
c
/
d
ec
operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholam
i
Rudi
gen
:
let all grps
b
e use
d
as byte reg
i
sters
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gho
l
a
m
i
Rudi
out
:
don't need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami Ru
d
i
tab: le
t
t
able size be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
out:
m
e
rge all sect
i
ons into one text s
e
ction
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
cpp: reset arg cou
n
t on
macro rede
f
inition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out:
m
ake neat
c
c work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
g
en: handle
c
har argu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
n
cc:
a
li
g
n structs based on t
h
e first field
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami Rudi
m
o
v
macro hash
t
able to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i
Rudi
gen: h
a
ndle unsigned -> l
o
n
g cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i Rudi
cpp: save macro n
a
mes
in a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
ncc: divide (
p
tr -
ptr) resul
t
o
nly if size > 1
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
ge
n
: use m
o
vsxd on
l
y when s
r
c
i
s
signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i
R
udi
tok: 0x1
should b
e
unsign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: fix the conditions
for movxx operations
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
ncc: fix get
t
in
g
i's type in ++i
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Ru
d
i
ncc:
h
andle pt
r
opera
t
ions on
s
t
ructs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
nc
c
: f
i
x calli
n
g
function pointers wi
t
h arg
u
m
e
n
t
s
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami
R
udi
ncc: don't
t
a
k
e c
a
se exprs as
labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
g
en: don't
g
enera
t
e
cod
e
after o_n
o
gen(
)
in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
a
ll tmp
s
sh
o
uld be the same in condition
a
l branche
s
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami R
u
di
gen: fix loading back tmps in me
m
without deref
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gho
l
ami Rudi
l
et tok_num() return the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Ghol
a
mi Ru
d
i
gen: re
l
o
catio
n
address si
z
e is always 4 f
o
r now
commit
|
commitdiff
|
tree
2010-06-16
A
li Gholami Rudi
gen: fix SYM_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali
G
hol
a
m
i
Rudi
gen: fix !
!
expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Ghol
a
mi Rudi
ncc: let shift amount be a
n
unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali
G
h
o
lami R
u
di
ge
n
: cleanu
p
tmp
h
andling and fix
r
egs array i
n
o_s
w
ap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gh
o
l
a
mi Rudi
ncc
:
a
lign
s
truct membe
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholam
i
Rudi
gen: mark copie
d
r
egis
t
er as the owner in
o_tmpcopy(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holami Ru
d
i
g
e
n: fix "if (!e
x
pr)
"
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gho
l
ami
R
udi
ncc: fix pointer
a
rit
h
metic on
s
truct
ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
h
olami Rudi
show an
e
rr
o
r msg if n
o
input fi
l
e
commit
|
commitdiff
|
tree
2010-06-13
Ali Gh
o
l
ami
Rudi
tok: accept
u
p
p
ercase hex digits
commit
|
commitdiff
|
tree
2010-06-13
A
li Gholami
R
udi
s
ho
w
syntax erro
r
loc
a
tion
commit
|
commitdiff
|
tree
2010-06-12
Ali
Gholami
R
u
d
i
gen: f
i
x i
g
noring
regop1() return value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami
R
udi
gen: don't
change tm
p
->bt when storing an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Al
i
Gholami Rudi
gen:
e
x
tend eax to edx for
mul/d
i
v op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami
Rudi
ncc
:
arrays sho
u
ld
b
e
p
rocessed in
the reverse
d
or
d
er
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholam
i
Rudi
gen: fix the order of
MO
V
S
X
D
'
s operands
commit
|
commitdiff
|
tree
2010-06-10
Ali Gh
o
lami Rudi
g
e
n: fix freeing
r
e
gist
e
rs before
call
commit
|
commitdiff
|
tree
2010-06-10
Al
i
Ghola
m
i Rudi
i
n
validate last_
c
mp i
f
tmps are
cha
n
ged
commit
|
commitdiff
|
tree
2010-06-10
Ali G
h
olami
R
udi
d
ereference both
s
i
des of a
c
ond
i
tional expression
commit
|
commitdiff
|
tree
next