repo.or.cz
/
neatcc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
ncc: support -o out
2011-05-08
A
li G
h
o
l
a
mi Rudi
ncc: support
-
o out
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami Rudi
n
c
c: h
a
ndl
e
extern function declarati
o
ns inside functions
commit
|
commitdiff
|
tree
2011-05-06
A
l
i Gholami R
u
di
ncc: handle ex
t
e
r
n variable declarati
o
ns inside fun
c
tions
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
ncc
:
move
m
acros like
__STDC__
to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholam
i
Rudi
t
o
k: handle // comments
commit
|
commitdiff
|
tree
2011-05-04
A
l
i
Gh
o
lami Rudi
ncc: ignore
t
h
e
keywor
d
s
nea
t
cc doesn't c
a
re
a
bo
u
t
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholami
Ru
d
i
gen: reset
l
ast
_
cmp in i
_
prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: back-p
o
r
t cmp+bcc optimization again
commit
|
commitdiff
|
tree
2011-04-29
Al
i
Ghol
a
mi Rudi
g
en: move opcodes to
a
rch sectio
n
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen:
ren
a
me FORK
_
REG to REG
_
FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami R
u
d
i
gen: pass onl
y
O_
*
constants
to i_*() functio
n
s
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
G
h
olami
R
u
di
g
en:
h
andle sym+off
f
unction calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
udi
gen: move arch
i
te
c
ture
-
sp
e
cific functions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gholami Rud
i
gen: use i_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali
Gh
o
l
ami Rudi
gen: pass the number
o
f argument
s
to o_fu
n
c_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rud
i
ge
n
:
encode 0x
f
000
0
000 as an immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen:
swap t
h
e immediate if neede
d
f
or == and !
=
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rudi
ge
n
: enco
d
e cmp
+
imm
e
d
iate i
n
s
t
ructions
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami Ru
d
i
gen: put the immedi
a
te in the opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
A
li G
h
olami
Rudi
g
e
n: r
e
move cmp+
b
ranch
o
ptimi
z
at
i
o
n
; m
o
ve
d
to o
p
t
br
a
nch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gho
l
ami Ru
d
i
cpp: handle function
macros
with no arguments
commit
|
commitdiff
|
tree
2011-03-28
A
l
i
G
holami Rudi
gen: ren
a
me dat_bss
(
) and dat_dat
(
) to be
g
i
n with o_
commit
|
commitdiff
|
tree
2011-03-28
Al
i
Gholami Rudi
g
en: group func
t
ions in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rud
i
gen
:
reset last_set aft
e
r cmp+b
o
ptimi
z
ation
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami
Rudi
gen:
f
ix ~ operator imple
m
entation
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Ru
d
i
n
cc:
derefere
n
ce function pointers li
k
e any othe
r
variables
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami Rudi
g
en: don't r
e
move the
la
s
t return
jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen
:
do
n
't
l
e
t
o
_c
a
st() change
d
e
r
efe
r
enced t
y
pe
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami Rudi
ncc: use
t
ok_jmp() ins
t
ead of tok_(see|get)() in enum_create()
commit
|
commitdiff
|
tree
2011-03-25
A
l
i
Gholami
Rudi
gen: handle large offsets for str
commit
|
commitdiff
|
tree
2011-03-25
Al
i
Ghola
m
i Rudi
gen
:
re
p
lace TM
P
_REG* macros
with reg_fort
m
p()
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gholami Rudi
g
en: c
h
ange o_nogen()
/
o
_
dogen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami R
u
di
ge
n
:
d
on't generate excess jumps
f
o
r
t
he last return
commit
|
commitdiff
|
tree
2011-03-23
Ali G
h
ola
m
i Rudi
gen: don't add duplica
t
e
data to number
p
ool
commit
|
commitdiff
|
tree
2011-03-20
A
l
i Gholami R
u
di
gen: call
tmp_to(
)
in for
l
o
a
ding rhs in
o
_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
ge
n
:
i
gnore O_SIGN
E
D w
h
en chec
k
ing
t
he opc
o
de
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
h
olami R
u
di
gen:
fix signed d
i
vision t
o
n
e
gate the r
e
m
a
in
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
ge
n
: merg
e
decre
m
ent and check in i_memcp
y
()
a
nd i_mems
e
t()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami Rudi
g
en: don't
sav
e
variable reg
i
sters bef
o
re
ca
l
ls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add software
d
iv/
m
od im
p
l
ementatio
n
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
ncc: set O_SIGN f
o
r most binary
op
e
rations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
n
c
c: de
r
eferen
c
e
t
he not expre
s
sion of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami R
u
di
perf
o
r
m signed
operatio
n
s if
O_SIGNED
bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
Gholami Rudi
cp
p
: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
o
l
a
mi Rudi
ncc: d
o
n't cast the return valu
e
for
v
o
id f
u
nctions
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghola
m
i Rudi
gen: more com
p
act version of memcpy() an
d
memset
(
)
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
holami Rudi
gen: don
'
t
o
utput re
l
oc
a
tions when o_noge
n
() is called
commit
|
commitdiff
|
tree
2011-03-13
Al
i
Ghola
m
i Rudi
neatcc arm
p
ort
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami
R
udi
clea
n
u
p
t
he interface between ncc
.
c,
gen
.
c an
d
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
Ru
d
i
n
p
p: re
m
ove comments af
t
er preprocessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Gholami
Rudi
c
p
p: don't remo
v
e non-macro n
u
mb
e
r sign
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gh
o
lami Rudi
npp: allow using neatc
c
's preprocessor
as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rudi
cpp:
d
o
n
't s
k
ip non-eol
m
ac
r
o backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gho
l
ami Rudi
gen
:
fix
op_
r
s() op
t
imization
f
unct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali
G
h
ola
m
i Rudi
gen: use
better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Ghola
m
i Ru
d
i
c
pp: de
f
i
n
e
__i386__
;
_
_x86_64__
i
s n
o
longer su
p
ported
commit
|
commitdiff
|
tree
2010-11-20
A
l
i
Gholami Rudi
gen: load the first tm
p
befo
r
e calling TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
A
l
i
G
hola
m
i Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
nc
c
:
f
ix
name
-
>name st
r
initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali G
h
olami Rudi
al
l
ow extern array declarations wit
h
out
size
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghol
a
mi Rudi
cpp
:
inc
l
ude stddef
.
h for usin
g
offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami
Rudi
to
k
:
par
s
e
uppercase
h
ex numb
e
rs
commit
|
commitdiff
|
tree
2010-07-25
Ali Gh
o
lami Rudi
ncc: fix setting F_INIT for each defi
n
ed name
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
o
lami Rudi
cpp: ha
n
dle
n
est
e
d macro calls li
k
e M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
olami Rudi
t
o
k
: don't go beyond buf len for 3-cha
r
token
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Ru
d
i
tab
.
h: use the standard off
s
eto
f
()
commit
|
commitdiff
|
tree
2010-07-12
Ali G
h
olami Rudi
ncc: fix
c
allin
g
ts_pop() prematurely in
o
pas
s
ign()
commit
|
commitdiff
|
tree
2010-07-12
A
l
i Gholami Rudi
gen: ignore
t
he si
g
n o
f
the seco
n
d operand
in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
Ghol
a
mi
Rudi
ncc: fix &
and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami Rudi
ge
n
: don't overwrit
e
pu
s
hed e
b
x, e
s
i and ed
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
g
en: chan
g
e
s
tack ali
g
nment to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rud
i
ncc
:
don't c
h
ange
o
p
era
n
d
order
f
or const
o
ps
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi Rudi
gen: only
perform
c
o
nst
op for addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gho
l
ami Rud
i
gen:
z
eroing e
a
x
d
oesn't see
m
necess
a
ry
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
ncc:
fix ++
s
fo
r
p
oint
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
ncc:
f
ix f
u
nc
t
ion
p
ointer arrays
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gh
o
lami R
u
di
gen: rem
o
ve th
e
unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: use tmp->off for l
o
cal
s
too
commit
|
commitdiff
|
tree
2010-06-28
A
li Gholami Rudi
port neatc
c
to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami
R
udi
g
e
n: functions for p
e
rforming optimi
z
ed ops
commit
|
commitdiff
|
tree
2010-06-24
A
li Gho
l
ami
Rudi
gen: fix two-byte opc
o
de
bit
commit
|
commitdiff
|
tree
2010-06-24
A
li
G
holami Rud
i
gen: use an
int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali
G
holami Rudi
re
p
l
ace o_*() functions
with o_bop() and o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
Gholami Rudi
add speci
a
l
ized inc/d
e
c
operati
o
n
s
commit
|
commitdiff
|
tree
2010-06-21
Ali Gh
o
l
a
mi R
u
di
g
e
n: let all
grps b
e
used as
b
yt
e
regi
s
ters
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gho
l
ami Rudi
out:
d
o
n't
need
M
AXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rud
i
t
a
b
:
let
table size be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
l
ami Rudi
out
:
merge all sections
i
nto one
text se
c
t
ion
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
ola
m
i
Rudi
cp
p
:
r
e
set
a
rg co
u
nt on macro r
e
definit
i
on
commit
|
commitdiff
|
tree
2010-06-19
Al
i
Gholami Rudi
out: ma
k
e neatcc work with gnu l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
gen: handle ch
a
r argument
s
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
ncc:
al
i
gn structs
b
a
s
ed
o
n the first
field
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
mov macro
h
a
s
h
t
a
b
le
t
o tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
ola
m
i
Rud
i
gen: handle unsigned -> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rud
i
cpp: save mac
r
o
name
s
in
a hash t
a
ble
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
n
cc: divide (ptr -
ptr) re
s
u
lt on
l
y if s
i
ze > 1
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami
Ru
d
i
gen:
u
se movsxd only when
s
r
c
i
s signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lami Rudi
tok: 0x1 shoul
d
be unsigned
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
ol
a
mi Rudi
gen: fix the conditions for
m
ovxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
ncc: fi
x
g
et
t
ing i's type
i
n ++i
commit
|
commitdiff
|
tree
next