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: ignore O_SIGNED when checking the opcode
2011-03-20
Ali Gholami Rudi
gen:
i
gnore O_SIGNED when
c
hecki
n
g
the
opcod
e
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami
Rudi
gen:
fix signed d
i
vision to
n
egate the r
e
m
ain
d
er
commit
|
commitdiff
|
tree
2011-03-16
Ali
G
hol
a
m
i Rudi
gen
:
merge
d
e
crement
and check in i_mem
c
py() and
i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holam
i
Ru
d
i
gen: don't save variable r
e
gi
s
ters
b
efor
e
c
alls
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami Rudi
gen: add software
div/mod
i
mplementation
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
n
cc:
s
et O_SI
G
N for most
b
inary operati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
A
li Gholami Rudi
ncc: deref
e
rence the not ex
p
re
s
s
ion o
f
c
e
xprs
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Gho
l
ami Rudi
perform s
i
gn
e
d oper
a
t
io
n
s if O_
S
IGN
E
D bi
t
is set
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
cpp: d
e
fine __arm
_
_
commit
|
commitdiff
|
tree
2011-03-14
Al
i
Gholami Rudi
n
c
c: don't ca
s
t the re
t
urn v
a
lu
e
for
v
oid functions
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
olami Rudi
g
e
n: more
compact
ver
s
ion of memcpy() a
n
d memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
o
lami Rudi
gen:
do
n
'
t
output relo
c
a
ti
o
ns wh
e
n o
_
nogen() is call
e
d
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali
Gholami Rudi
clean up
t
h
e
interface between ncc
.
c
,
ge
n
.
c
and ou
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp: r
e
move comments after pr
e
processing
commit
|
commitdiff
|
tree
2011-02-19
A
li G
h
olami Rudi
cpp: don't remove n
o
n-macro
number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gho
l
a
m
i
R
udi
npp: allow using neatcc's
p
r
e
pr
o
cessor
as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Al
i
Gh
o
lami
Rudi
cpp: don't ski
p
non-eol macr
o
backslas
h
e
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: fix
op_rs() optimization function
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami
Rud
i
gen
:
use
better name
s
f
o
r opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami Rudi
cpp:
defi
n
e __i386__
;
__x86
_
64__ is no longer suppo
r
t
e
d
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Rudi
gen: load th
e
first tmp be
f
o
r
e calli
n
g TMP_RE
G
2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gh
o
lami Ru
d
i
add
README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc: fix name
-
>name str initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali
Gholam
i
Rudi
allow
ext
e
rn array decla
r
atio
n
s
without siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
cpp: inc
l
ude stdd
e
f
.
h
for usi
n
g o
f
fs
e
tof()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Gholami Rudi
t
o
k
: parse u
p
pe
r
case hex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali G
h
o
l
a
m
i
Rud
i
n
c
c: fix s
e
tting F_I
N
IT for each defined name
commit
|
commitdiff
|
tree
2010-07-14
A
li
Gholami Rudi
cpp: handle neste
d
macro call
s
like M
(
M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
o
l
ami Rudi
tok:
don't go beyo
n
d buf
len for
3
-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali Ghola
m
i Rudi
tab
.
h: us
e
t
h
e standard
o
ff
s
etof
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami
Rudi
nc
c
: f
i
x calling ts
_
pop() pre
m
aturely in
o
p
assign(
)
commit
|
commitdiff
|
tree
2010-07-12
A
l
i
G
h
o
lami Rudi
gen:
ignore the sig
n
of the se
c
ond operand in /
and
%
commit
|
commitdiff
|
tree
2010-07-10
Al
i
G
hola
m
i Rudi
ncc: fix &
a
n
d * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
ho
l
ami R
u
di
gen
:
don't overwri
t
e pushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
g
en: chan
g
e stack alignment t
o
4
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi Rudi
ncc:
don't
c
hange operand order f
o
r const ops
commit
|
commitdiff
|
tree
2010-07-09
A
li Gholami Rudi
g
e
n: on
l
y perform con
s
t op
for addre
s
s
es when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Ghola
m
i
R
udi
gen
:
z
e
roing eax
d
o
e
sn't seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami R
u
di
n
cc: fi
x
++
s
for p
o
inters
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
n
cc
:
fix fu
n
ction p
o
i
n
ter arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: r
e
move the unused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Al
i
G
ho
l
ami Rudi
gen: use tm
p
->
o
ff for l
o
cal
s
too
commit
|
commitdiff
|
tree
2010-06-28
Al
i
Gholami Rudi
p
ort neatcc
t
o x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen:
fu
n
ctions for performing op
t
imized ops
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
g
e
n:
fix two-
b
y
te
op
c
ode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghola
m
i R
u
di
gen:
use an int
f
o
r
operato
r
s
commit
|
commitdiff
|
tree
2010-06-23
Ali Ghola
m
i Rudi
r
eplace o_*() functions with o
_
b
op() and
o_
u
op(
)
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Gh
o
lam
i
Ru
d
i
a
dd special
i
zed inc/dec operati
o
ns
commit
|
commitdiff
|
tree
2010-06-21
A
l
i
G
h
olami Rudi
g
en: let al
l
grps be
used as byte
r
egisters
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
holami Ru
d
i
o
ut: don't need MAXSECS anymo
r
e
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
tab: let
tab
l
e size b
e
HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
A
li Gholam
i
Rudi
o
u
t
: merge
all s
e
ctions
i
n
to one text s
e
ction
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami
Rud
i
cpp: reset arg cou
n
t on macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
o
ut: make neatc
c
work
w
i
t
h gnu ld
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami R
u
di
gen: handle char
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholam
i
Rudi
ncc
:
alig
n
structs
b
a
sed on the first fie
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olam
i
Rudi
mov macro h
a
sh ta
b
le to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
g
e
n: han
d
le unsigned
-
> long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
cpp: save
macro na
m
es in a has
h
table
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
ncc: divide (ptr - ptr) result o
n
ly if si
z
e >
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
gen: use m
o
v
s
x
d
o
nly when
s
r
c is signed
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gho
l
ami Rudi
tok:
0
x1 should
be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
gen: fix th
e
conditions for mo
v
xx
o
p
erations
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gho
l
ami Rudi
ncc:
f
ix getting i's type in ++
i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
ncc: hand
l
e ptr operations on struc
t
s ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
ncc:
f
ix
c
alli
n
g funct
i
on poin
t
ers
w
ith
a
r
gu
m
e
n
t
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
ncc: don't take case exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
gen: don'
t
gener
a
te co
d
e after o_
n
ogen()
i
n
oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holam
i
Rud
i
all tmps
should be
t
he
same in conditional branch
e
s
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gholami Ru
d
i
ge
n
: fix loa
d
ing
back tmps
i
n
m
em wi
t
hout de
r
ef
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gholam
i
Rudi
let
t
ok_num()
r
eturn the
bt
commit
|
commitdiff
|
tree
2010-06-17
A
l
i
Gholami Rudi
gen:
r
el
o
cation a
d
dress size is alwa
y
s 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali
Ghola
m
i Rudi
gen: fix S
Y
M_PTR() m
a
cro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rud
i
gen
:
fix !!
e
xpr
commit
|
commitdiff
|
tree
2010-06-15
A
l
i
G
holami Ru
d
i
ncc: let shift am
o
unt be an unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali
G
holami Rudi
gen:
cleanup t
m
p handling and
f
i
x regs array i
n
o_swap
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali Gh
o
lami Rudi
ncc
:
align s
t
ruct m
e
mbers
commit
|
commitdiff
|
tree
2010-06-14
A
li Gholami Rudi
gen:
m
ar
k
cop
i
ed regi
s
ter as the owner
i
n
o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholam
i
Rudi
gen
:
fix "if (!e
x
p
r)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
R
u
d
i
ncc
:
fix pointer arithme
t
ic
on struct p
t
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Ru
d
i
s
how an e
r
r
or msg if no input file
commit
|
commitdiff
|
tree
2010-06-13
A
l
i
Gholami Rudi
tok:
accept uppercase hex digits
commit
|
commitdiff
|
tree
2010-06-13
Al
i
Gholam
i
Rud
i
sho
w
syntax e
r
ro
r
l
o
cation
commit
|
commitdiff
|
tree
2010-06-12
Ali
G
h
o
lami Rudi
gen: fix ign
o
ring regop1() return
v
alue
commit
|
commitdiff
|
tree
2010-06-11
A
l
i Gholam
i
R
udi
gen: d
o
n
'
t change tm
p
-
>
bt when sto
r
ing an lval
u
e
commit
|
commitdiff
|
tree
2010-06-11
Al
i
Gholami
Rudi
gen
:
extend eax
to
edx for
m
ul/div op
commit
|
commitdiff
|
tree
2010-06-11
Al
i
Gholami Rudi
ncc
:
arrays should be processed in the
reversed order
commit
|
commitdiff
|
tree
2010-06-10
Ali
Gholami
R
udi
gen: fi
x
t
he order of
MOVSXD's o
p
erands
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami
Rud
i
gen:
fix freeing registers before call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
invalidate
l
a
st_cmp i
f
t
m
ps are
ch
a
nged
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghol
a
mi Rudi
dere
f
e
r
ence both
si
d
es of a
co
n
d
i
t
ional ex
p
ression
commit
|
commitdiff
|
tree
2010-06-10
Ali G
h
olami Rudi
cpp
:
check buffe
r
stack instead of cppeval
v
ariable
commit
|
commitdiff
|
tree
2010-06-09
A
l
i Ghola
m
i Ru
d
i
cpp: prev
e
nt
r
e
cursive
macros
commit
|
commitdiff
|
tree
2010-06-09
Ali Gho
l
a
m
i
Rudi
cpp:
m
ulti-argume
n
t macros
commit
|
commitdiff
|
tree
2010-06-08
A
li Gholami Rudi
cpp: spa
c
e between
m
acro and '('
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gholami
R
udi
nc
c
:
e
x
it
if number
o
f elemen
t
s
e
xceeds i
t
s max
commit
|
commitdiff
|
tree
2010-06-08
A
l
i Gholami Rudi
nc
c
:
only add used externa
l
symbols to elf symtab
commit
|
commitdiff
|
tree
2010-06-08
A
li Gholam
i
Rudi
handle #if and #elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami R
u
d
i
handle #ifdef, #
i
f
n
d
ef, #els
e
and #e
n
dif
commit
|
commitdiff
|
tree
next