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 sym+off function calls
2011-04-29
Al
i
Gholami
R
udi
gen: h
a
n
dle sym+
o
ff func
t
ion calls
commit
|
commitdiff
|
tree
2011-04-29
A
li
G
h
olami Rudi
ge
n
: move archite
c
ture-specific function
s
to the
e
nd
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
li Gh
o
lami Rudi
ge
n
: use i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
A
li Gholam
i
Rudi
ge
n
: pas
s
the number of arguments to o_f
u
nc_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
a
mi
R
u
di
gen: encode 0xf0000000 as
a
n immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
ho
l
ami Rudi
gen: swap the
imm
e
diate if needed for =
=
and
!
=
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
Gholami
R
u
di
gen: encode
cm
p
+
i
mmediat
e
instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
gen: put
t
he
i
mmediate
in the opc
o
de if possi
b
le
commit
|
commitdiff
|
tree
2011-03-30
Ali G
h
olami R
u
di
ge
n
:
r
emove cmp+branch optimiz
a
tion;
m
o
v
ed to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami
Rudi
cpp: h
a
ndle function macros
wit
h
no
a
r
g
u
me
n
ts
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen
:
renam
e
da
t
_bss() an
d
dat
_
dat() to b
e
gin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
g
en: grou
p
functions
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
gen: reset last_set a
f
te
r
cmp
+
b
o
ptimization
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
gen:
fix
~ op
e
r
ator implementation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
ncc: derefer
e
nce
f
u
n
ction pointers like any
other variables
commit
|
commitdiff
|
tree
2011-03-27
Ali
G
holami Rudi
g
en: don
'
t remo
v
e
t
he las
t
return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i
R
udi
gen
:
don't let o_cast
(
) cha
n
ge derefer
e
n
c
ed typ
e
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rudi
ncc: us
e
to
k
_
jmp
(
)
in
s
tead of tok_
(
see|get)() in
enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholami Rudi
g
e
n: handle large
of
f
sets for str
commit
|
commitdiff
|
tree
2011-03-25
A
li Ghol
a
mi Rudi
g
en: replace TMP
_
R
E
G* macros with re
g
_fort
m
p()
commit
|
commitdiff
|
tree
2011-03-23
Ali
G
h
ol
a
m
i
Rudi
gen: c
h
a
n
ge o_nogen()
/
o
_
d
o
gen
(
) to
b
e recursi
v
e
commit
|
commitdiff
|
tree
2011-03-23
A
l
i
Gholam
i
Rudi
g
e
n
: d
o
n't generate excess jumps for
the
l
ast ret
u
rn
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Ghol
a
mi Ru
d
i
gen:
d
o
n't add duplicate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali
Gholami Rudi
gen:
call tmp_to() in for loading
r
hs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami
R
udi
gen: ignore O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
holami Rudi
gen: fix signed
di
v
ision to negate the
remainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gholam
i
Rudi
gen: merge decrement and check in i_mem
c
py() and i_
m
emset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami Rudi
gen: don't s
a
ve
var
i
able registers befor
e
calls
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami
R
u
d
i
gen
:
a
d
d
so
f
twa
r
e div/m
o
d im
p
lementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: set O_SIGN for most binary
operations
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gh
o
la
m
i Rudi
n
cc:
d
e
ref
e
rence the not expre
s
s
i
on of cexpr
s
commit
|
commitdiff
|
tree
2011-03-15
A
li G
h
o
lami Rudi
perform signed operat
i
o
ns if O
_
SIG
N
ED bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rud
i
cpp: de
f
ine
__arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
n
c
c:
don't
c
ast the re
t
u
rn value
f
or void
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
gen: mor
e
comp
a
c
t vers
i
on of me
m
c
p
y()
and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: don't output reloca
t
ions when
o
_
n
ogen()
i
s calle
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
lami
R
udi
n
e
atcc
a
rm p
o
r
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gho
l
a
mi Rudi
clean
u
p the
interface between ncc
.
c, gen
.
c and
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: remove c
o
mments after p
r
e
p
rocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
cpp: don't remove no
n
-ma
c
ro n
u
mber s
i
gns
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
h
o
lami Rudi
n
pp: allow using
neatcc's preprocessor as
a
standalon
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali G
h
olami
R
ud
i
cp
p
: don't skip
non-eol macr
o
b
a
c
k
slashes
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami
Rudi
gen: fix op_r
s
() opt
i
miz
a
tion
f
unct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
R
udi
gen: us
e
bett
e
r
n
a
mes for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp:
define
__i386__; __x86_64__ is
no longer
supported
commit
|
commitdiff
|
tree
2010-11-20
A
li Gholami R
u
di
gen: load
t
he first tmp bef
o
re calli
n
g T
M
P_REG2(
)
commit
|
commitdiff
|
tree
2010-09-16
Ali
Gholami
Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
n
cc:
f
ix
n
ame->name str
i
nitia
l
izer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholam
i
Rudi
allow
extern a
r
ray declarations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghola
m
i Rud
i
cpp: include stddef
.
h
f
o
r usin
g
offsetof()
commit
|
commitdiff
|
tree
2010-07-28
A
li Gho
l
ami
Ru
d
i
to
k
:
parse uppercase
h
e
x
numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Rudi
ncc:
f
ix setting
F
_INI
T
for each defined n
a
me
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rud
i
cpp:
h
andle n
e
sted macro calls like M(
M
(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tok: don't go beyond
buf len for
3
-
char
t
oke
n
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
Rudi
tab
.
h: use t
h
e standa
r
d
o
f
f
setof(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
ncc: fix call
i
ng
ts_pop() prem
a
turely in op
a
s
s
ign()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gho
l
am
i
Rudi
g
e
n:
i
gnore the sign of t
h
e second operand i
n
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami
Rudi
nc
c
: fix & and * on
f
u
n
ctions
commit
|
commitdiff
|
tree
2010-07-09
Al
i
G
holami Rudi
gen: don't overwrite push
e
d ebx, esi and
e
d
i
commit
|
commitdiff
|
tree
2010-07-09
A
l
i
Gholami Rudi
ge
n
: change
stack
alig
n
ment to
4
commit
|
commitdiff
|
tree
2010-07-09
Ali
Ghola
m
i
R
udi
ncc:
don'
t
chan
g
e
oper
a
nd or
d
er for c
o
nst ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lam
i
Rudi
gen: only perform const op for addresse
s
when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rud
i
gen: ze
r
oing eax
d
o
esn't se
e
m necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
ncc: f
i
x ++s
f
or poin
t
ers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
nc
c
: fix
functio
n
pointer arra
y
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i Rudi
g
e
n: re
m
ove the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gh
o
lami Rudi
gen
:
use tmp->off for locals
t
oo
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami Rudi
p
ort
n
ea
t
cc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: func
t
ion
s
for perf
o
rmi
n
g optimize
d
ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: fix tw
o
-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
A
li G
h
ola
m
i Rudi
ge
n
:
use an
i
nt for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gho
l
ami Rudi
repla
c
e o_*
(
) functions with o_bop()
a
nd o
_
uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghol
a
mi Rudi
a
dd
specializ
e
d in
c
/dec oper
a
tions
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Ghola
m
i Rudi
ge
n
: let all grps be
u
sed as byte
regi
s
ter
s
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami Rudi
out: don't
need MAXSE
C
S
a
nymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
tab: let table size be
HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghola
m
i R
u
di
o
ut: merge all sectio
n
s into o
n
e
text section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
c
p
p
: reset arg
count on macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
o
u
t: make neatcc
work with gnu
ld
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
g
en:
h
andle
char argu
m
ents
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
ncc: align
structs ba
s
ed on the first field
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
holam
i
Rud
i
m
o
v macro hash table
t
o
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholam
i
Rud
i
gen: handle unsigne
d
-> lo
n
g cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ol
a
mi Rudi
c
p
p:
save mac
r
o nam
e
s in a hash
tab
l
e
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Ru
d
i
ncc: di
v
ide (ptr - ptr) result
o
nly if size >
1
commit
|
commitdiff
|
tree
2010-06-18
A
li Ghol
a
mi Rudi
gen: use movsx
d
only when sr
c
is sign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
tok: 0x1 shou
l
d b
e
unsign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
gen: fix the c
o
nditions
f
or mov
x
x operations
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
n
c
c: fix g
e
tt
i
n
g
i's ty
p
e
in +
+
i
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami
R
udi
nc
c
: han
d
le p
t
r
o
perations
on st
r
ucts ptrs
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami
Rudi
ncc: fix
callin
g
function pointers wi
t
h argum
e
nts
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami
Rudi
ncc: don't take case
e
x
p
r
s
as la
b
e
ls
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i R
u
di
gen: don't generate code
af
t
er o_n
o
gen()
in
oi()
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
ho
l
ami Rudi
all
tmps should be the same in conditional
b
ranch
e
s
commit
|
commitdiff
|
tree
2010-06-17
A
l
i
Ghola
m
i
R
udi
gen: fix loading b
a
ck tmps in mem withou
t
d
er
e
f
commit
|
commitdiff
|
tree
2010-06-17
A
li G
h
ola
m
i R
u
di
let tok_nu
m
()
r
eturn the b
t
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Gholami
R
udi
gen: relocation address size is always 4
f
o
r now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gho
l
ami
Rudi
g
en: fix SYM
_
PTR()
m
acro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
ge
n
:
fix !!e
x
pr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc: let shift amount be an unsigned
commit
|
commitdiff
|
tree
next