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 Gh
o
lami Rud
i
gen: ign
o
re O_SIG
N
ED
w
he
n
ch
e
cking
t
h
e
o
pcode
commit
|
commitdiff
|
tree
2011-03-17
Ali
G
hol
a
mi Rudi
g
en:
f
ix sign
e
d division
t
o negate
the remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali
G
holami Ru
d
i
g
en: merge decrement
a
n
d che
c
k
in i_memcpy() and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi
R
udi
gen: don't save variable regi
s
te
r
s bef
o
re calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
gen: add so
f
t
w
a
re
d
i
v/mod implementation
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
holami Rud
i
ncc: set O_SIGN for mo
s
t
binary
operati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc: dereference
t
h
e
no
t
expressio
n
of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
pe
r
form sign
e
d ope
r
at
i
ons if O_SIGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
cpp
:
def
i
ne __arm__
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gholami Rudi
ncc: don't cast th
e
r
e
turn
v
alue for void fu
n
ctio
n
s
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Ru
d
i
gen:
more compact version of memcpy
(
) and
memse
t
(
)
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi Ru
d
i
ge
n
:
d
on't output r
e
locati
o
ns when o_nogen() is
called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neatcc
arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Ghola
m
i Rudi
clean up the int
e
rface between
n
cc
.
c, g
e
n
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Al
i
G
holami Rud
i
npp:
re
m
o
v
e comments
a
f
t
e
r pre
p
roc
e
ssin
g
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
G
h
olami
Rud
i
cpp: don
'
t r
e
move non-mac
r
o number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gholami
R
u
d
i
npp: allow usin
g
n
eatcc's preprocessor a
s
a stan
d
alone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholam
i
Rudi
cpp: don't
skip non-eol macro back
s
lashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gh
o
lami Rudi
gen:
f
i
x
op_rs(
)
optimization function
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami
Ru
d
i
gen: use better names for opco
d
es
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholami
Rudi
cpp: define __i386__; __x86_6
4
__ is no longer supporte
d
commit
|
commitdiff
|
tree
2010-11-20
A
li
G
h
o
l
ami Rudi
gen: load
the first tmp before callin
g
TM
P
_REG
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali
Gho
l
a
mi Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Ghola
m
i Rud
i
ncc: fix
n
ame->name s
t
r initializer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
allow extern array
d
e
clarations without size
commit
|
commitdiff
|
tree
2010-07-29
A
l
i Gholami
R
u
di
cpp: incl
u
de stdde
f
.
h
f
or using
o
ffsetof()
commit
|
commitdiff
|
tree
2010-07-28
A
l
i Gholami Ru
d
i
tok: parse uppercase he
x
n
u
mbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gh
o
lami Rudi
ncc: fix setting F_INIT fo
r
each d
e
fined name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp: handle nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
udi
to
k
: don't go beyon
d
bu
f
l
e
n for 3-c
h
ar tokens
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
o
la
m
i
Rudi
tab
.
h: use the sta
n
dard offsetof
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali
G
holami Rudi
ncc
:
fix calli
n
g t
s
_po
p
()
p
remat
u
rely
in o
p
assig
n
()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
G
h
olami
Rudi
g
en: ignore the sign of the second operand in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
Gho
l
ami Ru
d
i
ncc: f
i
x & and * on
functions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rudi
gen: don't
overwrite pushe
d
eb
x
, esi
a
nd edi
commit
|
commitdiff
|
tree
2010-07-09
A
li
G
holami Ru
d
i
gen: change stack
a
lignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rudi
ncc
:
d
o
n
't change operand order
f
or co
n
st ops
commit
|
commitdiff
|
tree
2010-07-09
A
li G
h
ola
m
i Ru
d
i
gen: only perf
o
rm co
n
s
t op f
o
r addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen: z
e
r
oing ea
x
d
oe
s
n
'
t seem necessary
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
n
c
c:
f
ix ++s f
o
r
p
oin
t
e
rs
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olam
i
Rudi
ncc: fix function
pointer a
r
rays
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami
R
udi
gen: remove the unused c_op
(
)
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Rudi
g
e
n
: use t
m
p-
>
of
f
for l
o
cals too
commit
|
commitdiff
|
tree
2010-06-28
A
l
i G
h
o
l
a
m
i
R
udi
port neatcc to
x
86
commit
|
commitdiff
|
tree
2010-06-24
A
li G
h
o
lami Rudi
ge
n
: functions fo
r
perfo
r
min
g
op
t
imized
ops
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
ol
a
mi Rudi
gen:
f
ix two
-
byte opc
o
de
b
it
commit
|
commitdiff
|
tree
2010-06-24
Ali
G
holami Rudi
gen:
use an int for operators
commit
|
commitdiff
|
tree
2010-06-23
Al
i
Gholami Rudi
replace o_*() funct
i
o
n
s with o
_
bop()
a
nd
o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gholami Rudi
add
spe
c
ialized inc/de
c
o
p
era
t
ions
commit
|
commitdiff
|
tree
2010-06-21
Ali Ghola
m
i Rudi
gen: l
e
t
al
l
grps be used as byte r
e
gi
s
te
r
s
commit
|
commitdiff
|
tree
2010-06-20
Al
i
G
h
olami Rudi
out: don't need MAXSECS anym
o
re
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
hol
a
mi Rudi
tab: let
t
able size b
e
HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami
R
udi
out: merge all sections into one text sect
i
on
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
cpp: reset arg
c
oun
t
on
macro redefiniti
o
n
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Rudi
out: make neat
c
c wor
k
with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
li
G
hola
m
i Rudi
gen: handle char arg
u
ment
s
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gho
l
am
i
Rudi
ncc
:
alig
n
structs
ba
s
e
d
on the fir
s
t field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
u
d
i
mov macr
o
hash table t
o
tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
ge
n
: handle unsi
g
ne
d
-> lo
n
g cast
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami
Rudi
cpp: sa
v
e macro
names in a hash
t
able
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
d
i
ncc: divide (p
t
r - p
t
r) result only
i
f s
i
ze > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gho
l
ami
R
udi
g
e
n
: use movsx
d
o
n
l
y
when src is sign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holam
i
R
u
di
tok: 0x1 should be unsign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
olami R
u
d
i
gen: f
i
x the conditions fo
r
m
ovxx
ope
r
ations
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami
R
udi
ncc: fix
g
etting i's type in
++i
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gh
o
lami Rudi
ncc:
handle ptr op
e
ra
t
i
o
n
s on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
ncc: fix calling func
t
ion pointers
with arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
o
la
m
i Rudi
ncc
:
don'
t
tak
e
case expr
s
as labels
commit
|
commitdiff
|
tree
2010-06-18
Ali
Ghol
a
mi Rudi
gen: don't
g
ene
r
ate code aft
e
r o_nog
e
n
() in o
i
()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
d
i
all tmps should b
e
the same in con
d
itional branch
e
s
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami R
u
di
ge
n
: fix loading back tmp
s
in mem wit
h
out der
e
f
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Ghol
a
mi
R
udi
let tok
_
num() retu
r
n
t
h
e b
t
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami
R
u
di
ge
n
: relocation address
s
ize
i
s a
l
ways 4 for no
w
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix SYM_
P
TR() macro
commit
|
commitdiff
|
tree
2010-06-16
A
li Ghola
m
i Rudi
gen: fix !
!
expr
commit
|
commitdiff
|
tree
2010-06-15
Ali
Gho
l
ami R
u
di
nc
c
: let shift amount be
a
n unsigned
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholam
i
R
udi
gen: cleanup tm
p
ha
n
dling and
f
ix
r
egs array in o
_
swap
(
)
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Rudi
n
cc: align s
t
ruct members
commit
|
commitdiff
|
tree
2010-06-14
A
l
i
Ghola
m
i Rudi
gen: mark co
p
i
e
d r
e
gister as the owner in o_
t
mpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holami
Rud
i
gen
:
fix "i
f
(!
e
xpr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc: f
i
x pointer arithmetic
o
n st
r
uct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholam
i
R
udi
show an error
msg
if no input file
commit
|
commitdiff
|
tree
2010-06-13
A
li Gholami Rudi
tok:
a
ccept upperca
s
e hex digits
commit
|
commitdiff
|
tree
2010-06-13
Ali Gh
o
lami
Rudi
show syntax error locat
i
on
commit
|
commitdiff
|
tree
2010-06-12
Ali G
h
ol
a
mi R
u
di
gen: fix
i
gnoring
r
egop1() r
e
tu
r
n va
l
ue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rud
i
gen: don't chan
g
e tmp->bt when
stori
n
g an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
g
e
n
:
e
xtend eax to edx for mul/d
i
v op
commit
|
commitdiff
|
tree
2010-06-11
A
l
i Gholami Rudi
ncc: arrays shoul
d
be processed in t
h
e reversed order
commit
|
commitdiff
|
tree
2010-06-10
Ali
Gholami Rudi
gen: fix
t
he order
o
f MOVSX
D
's
o
pera
n
ds
commit
|
commitdiff
|
tree
2010-06-10
Ali Gh
o
l
ami Rudi
gen: fix
f
reeing registers
b
e
f
ore call
commit
|
commitdiff
|
tree
2010-06-10
A
li Gh
o
lami Ru
d
i
invalidate
l
ast_cmp if tmps are changed
commit
|
commitdiff
|
tree
2010-06-10
Ali G
h
olami Rudi
dereference bot
h
sides o
f
a
con
d
iti
o
na
l
expression
commit
|
commitdiff
|
tree
2010-06-10
A
l
i Gholami
R
udi
c
p
p: che
c
k
buffer s
t
ack
ins
t
ead of cppeval variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Rudi
cp
p
: preven
t
recursive
m
acr
o
s
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami R
u
di
cpp: multi
-
argumen
t
macr
o
s
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gho
l
ami Rudi
cpp: space be
t
ween ma
c
ro
an
d
'(
'
commit
|
commitdiff
|
tree
2010-06-08
A
li Gholami Rudi
ncc: e
x
it
if
n
umber of elements exceed
s
its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ncc: only
a
dd
used ext
e
rnal symbols
t
o elf symtab
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
han
d
le #if and #elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rud
i
h
a
ndle #ifdef, #ifndef, #else a
n
d #endif
commit
|
commitdiff
|
tree
next