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
ncc: opassign should use the time of lhs
2011-05-08
Ali Gholami Rudi
ncc: opassign should u
s
e t
h
e time
o
f lhs
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami R
u
d
i
ncc: mov
e
noge
n
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
l
i G
h
o
lam
i
Rudi
n
c
c: alw
a
ys
i
ni
t
i
a
lize output filen
a
m
e
commit
|
commitdiff
|
tree
2011-05-08
Ali
G
holami Rudi
R
E
A
DM
E
: ignored key
w
ords are now built int
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li G
h
olami Ru
d
i
n
c
c: support -o
out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Ru
d
i
ncc: ha
n
dle extern function
decl
a
rations inside fun
c
t
ions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Rud
i
n
c
c: handle extern variable
d
ec
l
arations i
n
sid
e
f
u
nctions
commit
|
commitdiff
|
tree
2011-05-04
A
l
i
G
hola
m
i Ru
d
i
ncc: m
o
ve m
a
cros like __STD
C
_
_
t
o ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
A
li Gho
l
ami Rudi
t
ok: handle // comme
n
ts
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
holami Rudi
n
c
c
:
ignore the keywords neatcc doe
s
n't care ab
o
ut
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami Rudi
g
en
:
r
eset last_cmp in i_
p
rolog
(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
hol
a
m
i Rudi
gen:
back
-
port cmp+bc
c
optimi
z
ati
o
n
ag
a
in
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
l
a
m
i Rudi
ge
n
: move opc
o
de
s
to arch s
e
c
t
io
n
commit
|
commitdiff
|
tree
2011-04-29
Ali
G
holami Rudi
gen: rename
F
OR
K
_REG
t
o R
E
G_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: pa
s
s only O_* consta
n
ts to i_*() fu
n
ctions
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholam
i
Rudi
g
e
n
: handle sym+of
f
funct
i
o
n c
a
lls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
lami R
u
di
gen: move architecture-specific functions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
holami Ru
d
i
gen: us
e
i_set() in i
_
l
not
(
)
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: pa
s
s the number o
f
arguments to o_func_beg()
commit
|
commitdiff
|
tree
2011-03-31
Al
i
G
holami Rudi
gen:
encod
e
0xf0000000 as an
i
mmediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami Ru
d
i
gen:
s
wap
t
h
e
immediate if n
e
ed
e
d
f
or == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
ge
n
: encode c
m
p+im
m
ediate instruc
t
ions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
gen: put the i
m
me
d
iate in
t
he opcode if
p
o
ssible
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
ho
l
ami
Rudi
gen: remove cm
p
+bra
n
ch optimization; mov
e
d t
o
opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gh
o
lami Rudi
cpp: handle function m
a
c
r
os wi
t
h no argum
e
nts
commit
|
commitdiff
|
tree
2011-03-28
Ali Gh
o
lami Rudi
ge
n
: rename
d
a
t
_bss() and dat
_
dat() to begin with
o
_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
g
e
n:
group functions
i
n gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen:
r
es
e
t
last_set
a
ft
e
r
c
mp+b opt
i
m
ization
commit
|
commitdiff
|
tree
2011-03-28
Ali G
h
ola
m
i Rudi
g
e
n:
f
ix ~
operator implem
e
ntation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
n
c
c:
d
ereference function pointers like
a
ny other
variables
commit
|
commitdiff
|
tree
2011-03-27
A
li Ghol
a
mi
R
u
di
gen:
don't remove the last return j
u
mp
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
gen:
don
'
t let
o_cast() change dereferen
c
e
d
type
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Gholami Rudi
ncc: use tok
_
jmp() in
s
tead of tok
_
(s
e
e|
g
e
t
)() in
enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Rud
i
gen: handle large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Gholam
i
R
udi
ge
n
: r
e
place TMP_REG* macros w
i
th reg_
f
ortmp()
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Gh
o
lami R
u
d
i
gen: chang
e
o_n
o
gen()/o_
d
ogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
A
li G
h
olami
Rudi
gen: don't generate exces
s
ju
m
ps fo
r
t
he last
return
commit
|
commitdiff
|
tree
2011-03-23
Al
i
Ghola
m
i
Rudi
gen: d
o
n'
t
add du
p
lic
a
te data to numb
e
r pool
commit
|
commitdiff
|
tree
2011-03-20
Ali G
h
olami R
u
di
gen: call
t
mp_to() in for
l
oadi
n
g
r
hs
i
n
o_as
s
ing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen: ign
o
re O_SIGNED
wh
e
n chec
k
ing the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gh
o
la
m
i
Rudi
g
e
n: fix signed division to negate the r
e
mainder
commit
|
commitdiff
|
tree
2011-03-16
A
l
i Gh
o
lami Rudi
g
e
n: merge de
c
reme
n
t
and check
in i_me
m
cp
y
(
) and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
g
en: don'
t
s
av
e
v
ariabl
e
regis
t
e
r
s
before
calls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gholami
R
udi
gen: add
s
oftware div/mod imple
m
en
t
at
i
on
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: set
O
_SIGN for most
binary oper
a
tions
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
di
n
c
c: dereference th
e
n
o
t
e
xpression of cex
p
rs
commit
|
commitdiff
|
tree
2011-03-15
Ali
Ghol
a
m
i
Rudi
perform signed operation
s
i
f
O
_
S
IGNED
b
it is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Ghol
a
mi Rudi
ncc:
d
on't cas
t
the retu
r
n
v
alue fo
r
void
f
unction
s
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami
R
udi
gen: mo
r
e
co
m
pact version of memcpy() and mem
s
et()
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami
R
udi
gen:
d
on'
t
outp
u
t reloca
t
ions w
h
en o_noge
n
() is ca
l
led
commit
|
commitdiff
|
tree
2011-03-13
Al
i
G
h
ola
m
i Rudi
neatcc arm por
t
commit
|
commitdiff
|
tree
2011-03-08
Ali
G
hola
m
i Rudi
clean
up the
interface
between ncc
.
c, gen
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li Gholami R
u
di
npp: remove com
m
ents aft
e
r preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Ru
d
i
cpp:
d
on't remove
n
on-macro
n
umbe
r
signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: allow using neatcc's p
r
eprocessor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali G
h
o
l
a
mi R
u
di
cpp: don
'
t s
k
ip
non-
e
ol macro b
a
ckslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholam
i
Rudi
gen: fix op_rs()
o
ptimiza
t
ion function
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
holami Rudi
gen:
u
se better n
a
mes f
o
r opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali G
h
o
l
ami Rudi
cpp:
define
_
_i38
6
_
_; __x86_64__ is no longer supp
o
rted
commit
|
commitdiff
|
tree
2010-11-20
Ali
G
holami Ru
d
i
ge
n
: load the
f
irst tmp
b
efore
c
alling TMP_R
E
G
2
(
)
commit
|
commitdiff
|
tree
2010-09-16
Ali Gho
l
ami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
Rudi
ncc: fix name->name st
r
ini
t
ializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Ghol
a
mi
R
udi
all
o
w extern a
r
ray
d
eclarations with
o
ut
size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami
R
u
d
i
cpp: include stddef
.
h
f
or using offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Al
i
Gholami
R
ud
i
tok: parse uppercase hex
n
umbe
r
s
commit
|
commitdiff
|
tree
2010-07-25
A
l
i Gho
l
ami
Rudi
ncc: fix
se
t
t
ing
F
_IN
I
T
f
or each
d
e
fi
n
e
d
name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
u
di
cpp: h
a
ndle ne
s
ted ma
c
r
o calls li
k
e M(M(1
)
)
commit
|
commitdiff
|
tree
2010-07-14
A
l
i Gholami
R
udi
tok: don't go beyond
b
uf le
n
for 3-char
t
ok
e
ns
commit
|
commitdiff
|
tree
2010-07-14
Al
i
G
holami R
u
di
tab
.
h: use the sta
n
dard offse
t
o
f
()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
G
hola
m
i Ru
d
i
ncc: fix calling ts_pop() prematurely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Ghol
a
mi Rudi
gen: igno
r
e
the
sign of the second oper
a
nd i
n
/ and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc: fix & and * on funct
i
ons
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
ola
m
i
R
udi
gen: don't overwrite pushed
ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali G
h
olami Rudi
g
e
n: chang
e
stack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Ghol
a
mi Rudi
ncc: don't
c
hange opera
n
d order
f
or const op
s
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
e
n: only perform const o
p
for address
e
s when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali
G
h
o
lami Rudi
ge
n
: z
e
roing
eax
does
n
't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
ola
m
i Rudi
ncc
:
f
ix ++s fo
r
pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
holami Rudi
ncc: fix funct
i
on pointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami Rudi
gen: remove the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
g
e
n: us
e
t
m
p
-
>off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
holami Rudi
port
n
eatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
A
li Gholami Rudi
gen: fu
n
c
t
ions fo
r
pe
r
forming
o
ptim
i
zed ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Ghol
a
mi Rudi
gen:
fix
two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gh
o
l
a
mi Rudi
gen: use an int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami
R
udi
replace o_*()
funct
i
o
ns
with o
_
bop()
a
nd o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
Gholami Rudi
a
d
d sp
e
cial
i
z
e
d
inc/dec o
p
era
t
i
ons
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Gholami Rudi
gen: le
t
all grps be
u
sed a
s
byte regi
s
ters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
out: don't need MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
t
a
b: let ta
b
l
e s
i
ze b
e
HASH
I
TEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
hol
a
mi Rud
i
out
:
merge all
s
ecti
o
ns into
one te
x
t section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gho
l
a
m
i Rudi
cpp: reset ar
g
count o
n
m
a
cro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Ghol
a
mi Rudi
out:
make n
e
atcc work
w
ith gnu
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ge
n
: ha
n
dle char argume
n
ts
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
R
udi
ncc
:
align structs ba
s
ed
o
n t
h
e
f
ir
s
t
f
ield
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami
R
udi
mov m
a
cro hash ta
b
l
e
to
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami
Rudi
gen: handle
u
ns
i
gned -> long cast
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
c
pp: save
ma
c
ro names i
n
a
ha
s
h
ta
b
le
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
n
c
c: divide (ptr - p
t
r) res
u
lt only if size
>
1
commit
|
commitdiff
|
tree
next