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
Al
i
Gholami Rudi
n
c
c
: opassign
s
hould use
t
he time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
la
m
i Rudi
ncc: move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami R
u
di
n
c
c: a
l
ways initialize output
fi
l
ename
commit
|
commitdiff
|
tree
2011-05-08
Ali
Ghol
a
m
i Rud
i
README:
i
gnored
keywords are
n
o
w built into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami
Rudi
ncc: support -o ou
t
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholam
i
Rudi
ncc: han
d
le extern funct
i
on declarations in
s
ide function
s
commit
|
commitdiff
|
tree
2011-05-06
A
l
i Gholam
i
Rudi
ncc: han
d
le exter
n
va
r
iable
d
ecl
a
rations inside
functions
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
h
o
l
ami Rudi
ncc
:
move macros
l
ike __STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gholami Rudi
tok:
h
a
ndle //
comments
commit
|
commitdiff
|
tree
2011-05-04
Ali
G
h
olami Ru
d
i
ncc
:
i
g
nore the
k
e
ywords neatcc doesn't care
abou
t
commit
|
commitdiff
|
tree
2011-05-01
Ali Gholam
i
R
udi
gen: reset la
s
t_cmp
in i_p
r
olog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gh
o
la
m
i
R
udi
ge
n
: back-p
o
rt
c
m
p+bcc
o
ptimization again
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
olami
R
udi
gen: move opcodes
to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
u
di
ge
n
:
renam
e
FORK_REG to REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
udi
gen:
p
ass only O_* cons
t
ants to i
_
*() functi
o
ns
commit
|
commitdiff
|
tree
2011-04-29
A
li G
h
olami Rudi
g
en:
h
andle sym+off function
c
alls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move
architect
u
re-sp
e
c
i
fic functions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
l
i Gholami Rudi
gen: use
i
_set() in i_lnot()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gh
o
lami Rudi
gen: pass t
h
e number of arg
u
ments to o_fu
n
c_b
e
g()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
lami R
u
di
gen: encode 0xf00000
0
0 a
s
an immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
gen: swa
p
the
i
mmediate i
f
ne
e
ded for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
holami Ru
d
i
gen: enco
d
e cmp
+
i
mmedia
t
e inst
r
uctio
n
s
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
ola
m
i Rudi
g
en
:
put the immediate
in the opcode if possib
l
e
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami R
u
di
gen: remove cmp+branch opti
m
iz
a
tion;
m
oved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
cpp:
h
andle fu
n
c
t
ion
m
acros with no
ar
g
uments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gh
o
lami Rudi
g
en: rename
d
a
t_bss()
a
nd dat_dat() to beg
i
n with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholam
i
Rudi
gen: grou
p
functi
o
ns in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
A
li Ghola
m
i Ru
d
i
gen: reset last_set aft
e
r cmp+b opt
i
mization
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gholami Ru
d
i
gen: fi
x
~
o
per
a
t
o
r implem
e
ntation
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
ncc:
d
ereference functio
n
pointers like
a
ny other vari
a
b
l
es
commit
|
commitdiff
|
tree
2011-03-27
Ali Ghola
m
i
Ru
d
i
gen
:
don
'
t remove the
l
a
st return jump
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Rudi
gen: don't let
o
_cast() cha
n
ge dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali
G
holami Rudi
ncc: use
tok_jmp
(
)
in
s
tead of tok_(see|get)()
i
n
enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
ol
a
mi
R
udi
gen:
han
d
le large o
f
f
sets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali G
h
o
lam
i
Rud
i
gen:
replace
T
M
P_REG*
m
acros with reg_f
o
r
t
mp()
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Ru
d
i
g
en: cha
n
g
e
o
_
n
o
gen()
/
o_dogen() t
o
be rec
u
rsi
v
e
commit
|
commitdiff
|
tree
2011-03-23
Ali
Gho
l
ami
Rudi
gen: don't generate
exce
s
s jumps for the last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: don't add
duplicate data t
o
number po
o
l
commit
|
commitdiff
|
tree
2011-03-20
Ali Ghol
a
mi Rudi
gen: call
tmp_to() in for lo
a
ding rhs
i
n
o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen
:
ignore O_SIGNED when checking the
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gho
l
a
mi Rudi
gen: fix si
g
ned division to ne
g
ate the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami
Rudi
gen: merge de
c
rement and chec
k
in i_
m
emcpy() an
d
i
_
me
m
set()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: don't save va
r
iable registers
be
f
ore
call
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gh
o
lami Rudi
g
en:
a
d
d
software div/mod implementati
o
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
ncc: set O_SIGN for most b
i
nary operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gho
l
ami Rud
i
ncc: derefer
e
nce the not exp
r
ession of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
perform signed
o
perat
i
o
n
s if O
_
SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami
Rudi
ncc: don't
cast
the
r
eturn
val
u
e
for void function
s
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rud
i
gen: mor
e
co
m
pact
v
e
r
sion
of m
e
mcpy() and
memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
Ghol
a
mi Rud
i
g
en:
d
on't
o
utput re
l
ocati
o
ns when o_noge
n
() is
c
alled
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
n
eat
c
c arm port
commit
|
commitdiff
|
tree
2011-03-08
A
li Gholami Rudi
clean
u
p
the interface be
t
ween ncc
.
c, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li
Gholami Rudi
npp: remove com
m
e
n
ts aft
e
r preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rud
i
c
pp:
don't remove non-m
a
cro
number sig
n
s
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
n
p
p: allow
using neatcc's preproce
s
s
o
r
as a
standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Al
i
Gholami
R
u
di
cpp:
don't skip non-eol
m
acro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gho
l
ami Rudi
g
e
n: fix op_rs()
o
pt
i
miza
t
ion function
commit
|
commitdiff
|
tree
2010-12-18
Ali Ghola
m
i Rudi
gen:
u
se better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Ghola
m
i R
u
di
c
p
p: defin
e
__i386__
;
__
x
8
6
_64__ is n
o
l
onger supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen:
l
oad th
e
first tmp bef
o
re cal
l
ing TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add
R
EA
D
ME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami
R
udi
ncc: fix
na
m
e-
>
n
a
me str in
i
tia
l
i
z
er
commit
|
commitdiff
|
tree
2010-08-13
Ali Gho
l
ami Rudi
allow extern
a
rr
a
y declarations without
s
ize
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
c
p
p: include std
d
ef
.
h fo
r
usi
n
g offsetof()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Ghola
m
i Rudi
tok: parse u
p
percase hex n
u
mbe
r
s
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami
Rudi
ncc: fix setting F_INIT for each d
e
f
ine
d
na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
c
pp: ha
n
dle neste
d
macr
o
calls
l
ike M(
M
(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
u
d
i
tok: don't go bey
o
nd b
u
f len for 3-c
h
ar tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h:
u
se the stand
a
rd offset
o
f()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Ru
d
i
ncc: fix calling ts_pop() prematu
r
ely in opas
s
ign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
g
e
n: ignore
t
he sign of the seco
n
d
oper
a
n
d
i
n / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
G
holami Rudi
ncc: fix & an
d
*
on func
t
ions
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i
Rudi
gen: do
n
't
o
verwrite pushed ebx, es
i
a
nd edi
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami
Rudi
gen
:
change s
t
ack alignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
olami
Rud
i
nc
c
: don't change
o
perand
order f
o
r const
ops
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami Rudi
g
e
n:
only perform const op for addre
s
se
s
w
hen adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Ghol
a
mi Rudi
gen:
z
eroi
n
g ea
x
do
e
sn't
seem
necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami R
u
di
ncc: fix ++s for po
i
nter
s
commit
|
commitdiff
|
tree
2010-06-30
Ali Gho
l
ami Rudi
nc
c
: f
i
x function
p
o
i
n
ter arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Ru
d
i
gen: re
m
ove the u
n
used c_op()
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami
R
udi
gen:
u
s
e
tmp->off for locals too
commit
|
commitdiff
|
tree
2010-06-28
Ali Gholami
R
udi
port
n
e
a
tcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: functions
for performin
g
o
p
timized o
p
s
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
g
e
n: f
i
x two
-
byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i Rudi
g
en: u
s
e an
i
nt for
o
perators
commit
|
commitdiff
|
tree
2010-06-23
Ali
Gholami Rudi
replace o_*() functions with o_bop
(
)
a
nd o
_
u
o
p()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gh
o
lami Rudi
add
speciali
z
ed
i
nc/de
c
operati
o
n
s
commit
|
commitdiff
|
tree
2010-06-21
Ali Gho
l
ami Ru
d
i
ge
n
: let all grps be used as
b
y
te reg
i
sters
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
ou
t
: d
o
n't need MAXS
E
C
S an
y
more
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
G
holami
R
u
d
i
tab:
l
et table s
i
z
e
b
e
HASHIT
E
MS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami Rudi
out:
m
erge all se
c
tions
i
nto one text section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp:
r
eset
arg count on macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Al
i
Gholami Rudi
out
:
m
a
k
e
neatcc
work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Ru
d
i
gen: handle char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
ncc: align structs ba
s
ed on the first field
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
mov macro
h
a
sh table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
R
u
di
gen: handle uns
i
g
ne
d
-> long
c
a
st
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
cpp: save ma
c
ro names
in a hash table
commit
|
commitdiff
|
tree
2010-06-18
A
li Gho
l
a
m
i
R
u
di
ncc: divi
d
e
(ptr -
p
t
r)
result o
n
ly if
size
>
1
commit
|
commitdiff
|
tree
next