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: add software div/mod implementation
2011-03-15
Ali Ghola
m
i Rudi
g
en: ad
d
softw
a
re div/mod implementati
o
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
ncc
:
set O_SIGN for m
o
st bina
r
y o
p
erations
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olam
i
Rudi
ncc
:
der
e
ference the not expression of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i
R
u
di
perform signed opera
t
ions if O_
S
I
G
NED
bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i Gholami Rudi
cpp
:
define
_
_arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc: do
n
't cast the retu
r
n
v
alue for
void funct
i
ons
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
gen
:
more comp
a
c
t
version of
m
e
m
cpy() and memse
t
()
commit
|
commitdiff
|
tree
2011-03-14
Ali G
h
o
lami Rudi
gen: don't
o
utpu
t
r
e
locations
w
hen o_nogen()
i
s c
a
lled
commit
|
commitdiff
|
tree
2011-03-13
Ali Gh
o
lam
i
Rudi
n
e
atcc
a
rm port
commit
|
commitdiff
|
tree
2011-03-08
Ali
G
hola
m
i Rudi
c
lean up the interface be
t
we
e
n
ncc
.
c,
g
e
n
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
A
li G
h
olam
i
Rud
i
npp: re
m
ove commen
t
s a
f
ter prepr
o
cessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i Gh
o
lami Rudi
c
pp:
d
o
n
't remove
n
o
n
-
m
ac
r
o
numbe
r
signs
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
G
hola
m
i Rud
i
np
p
: a
l
low using
n
eatcc's pr
e
proc
e
ssor as a standal
o
ne
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali G
h
olam
i
Rudi
cp
p
: don't ski
p
non-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
A
l
i Gh
o
l
ami Rudi
gen:
f
ix op_rs() optimiz
a
tio
n
function
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gh
o
lami Rudi
gen: use better names fo
r
opc
o
des
commit
|
commitdiff
|
tree
2010-12-11
Ali G
h
olami R
u
di
cpp: define
_
_i386__; __x
8
6_
6
4__
i
s no long
e
r supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Ru
d
i
g
en:
load
t
he
first tmp before
c
alling T
M
P_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gh
o
lami R
u
di
add READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Ghol
a
mi Rudi
ncc:
fix name->name str i
n
it
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholam
i
Rudi
allow extern array de
c
laratio
n
s w
i
th
o
u
t
s
iz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholam
i
Rudi
cpp: includ
e
stddef
.
h fo
r
u
s
i
ng offsetof()
commit
|
commitdiff
|
tree
2010-07-28
Ali
Ghol
a
mi Rudi
tok: parse uppercase hex numb
e
rs
commit
|
commitdiff
|
tree
2010-07-25
Ali Gholami Ru
d
i
ncc: fi
x
s
e
tting F_I
N
IT
for
e
ach de
f
in
e
d name
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
h
olami
Rudi
c
p
p: handle
nested macro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
di
tok:
don't go beyond buf len for 3
-
char tok
e
n
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
tab
.
h: use the standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Gholam
i
Rudi
nc
c
:
f
i
x
c
all
i
n
g
ts_pop() pre
m
aturely in opassign()
commit
|
commitdiff
|
tree
2010-07-12
A
li Gh
o
la
m
i
Rud
i
g
en: i
g
n
ore the sign of the
sec
o
nd opera
n
d in / and %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami Rudi
ncc
:
fix & and * on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
h
olami Rudi
ge
n
: don'
t
overwrite
p
us
h
ed ebx, esi
and ed
i
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghol
a
mi
R
udi
ge
n
: change stack alignment
t
o 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gh
o
lami Rud
i
n
cc: don't ch
a
n
g
e
o
p
e
r
a
n
d
order for
c
onst ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
hol
a
mi Rudi
g
e
n: only perform co
n
st op for addresse
s
when adding
commit
|
commitdiff
|
tree
2010-07-08
Al
i
G
hol
a
m
i Rudi
gen: zeroi
n
g eax doesn't seem
nece
s
sary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
n
c
c: fix
++s for poi
n
ters
commit
|
commitdiff
|
tree
2010-06-30
Ali
G
hol
a
mi R
u
d
i
ncc:
f
ix
f
u
nction pointe
r
arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami R
u
di
g
en:
r
emove the unused c
_
op()
commit
|
commitdiff
|
tree
2010-06-30
A
li Gholam
i
R
udi
gen
:
u
s
e tmp->off for
l
o
c
a
ls too
commit
|
commitdiff
|
tree
2010-06-28
Ali Ghola
m
i Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali
Gh
o
lami Rudi
ge
n
: func
t
i
o
ns for
p
e
r
form
i
n
g
o
ptimized op
s
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholam
i
R
u
di
gen: f
i
x
t
wo-by
t
e opcode b
i
t
commit
|
commitdiff
|
tree
2010-06-24
A
l
i Gholami Rudi
gen: use a
n
int for
operators
commit
|
commitdiff
|
tree
2010-06-23
Ali Gholami Rudi
replace o_*()
f
unctions with o_b
o
p()
a
nd o_
u
op
(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
holami Rudi
add specialized inc/dec op
e
rations
commit
|
commitdiff
|
tree
2010-06-21
A
li Gholami R
u
di
gen: let a
l
l
grps
b
e
used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami Rudi
ou
t
:
d
o
n
't nee
d
MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Ghola
m
i Rudi
tab: let table s
i
ze be HASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
olami Rudi
ou
t
: merge
a
l
l sect
i
ons into o
n
e
text se
c
tion
commit
|
commitdiff
|
tree
2010-06-20
Ali G
h
ol
a
mi Ru
d
i
c
pp: reset arg co
u
nt on m
a
cro
rede
f
i
nitio
n
commit
|
commitdiff
|
tree
2010-06-19
Al
i
G
h
olami Rudi
out
:
make
n
eatcc work with gnu ld
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rudi
gen: handle char arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gho
l
ami Rudi
ncc: align structs based on
the
firs
t
field
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
mov
m
acro hash t
a
ble to ta
b
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Ru
d
i
gen: ha
n
dle unsigned
-
>
long cast
commit
|
commitdiff
|
tree
2010-06-18
Al
i
G
h
ola
m
i Rudi
c
p
p:
save
macro
n
a
me
s
in a hash table
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hol
a
mi
R
udi
ncc:
d
ivide (
p
tr - ptr
)
result
o
nly if s
i
ze > 1
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Rudi
gen: use
m
ovsxd only when s
r
c is signed
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
d
i
t
o
k:
0
x
1 should be unsigned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
l
ami Rudi
gen: fix the conditions for m
o
vxx operat
i
ons
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i
R
udi
ncc:
f
ix get
t
ing
i
's type
i
n
++i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
ncc: handle ptr oper
a
t
i
o
n
s on
structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i
Rudi
ncc: fix calling function poi
n
ters with a
r
guments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
d
i
ncc: don't
t
a
k
e case exprs as l
a
bels
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami Rudi
gen: don't g
e
nerate code after o_nogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
all tmps s
h
ould
be
t
he
s
a
m
e
i
n condi
t
ional branches
commit
|
commitdiff
|
tree
2010-06-17
Ali
G
holami Ru
d
i
gen: fix loading bac
k
tmps in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gh
o
l
ami Rud
i
let tok_num() ret
u
rn the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Ghola
m
i Rudi
gen: relo
c
ation a
d
d
ress size is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Ghola
m
i Rudi
gen: fix SYM_
P
TR()
m
acro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
g
e
n: fix !!
e
xpr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc: let shift amount be
an
u
nsign
e
d
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rud
i
ge
n
: clea
n
u
p
tmp handling
and fix regs
array
i
n
o_sw
a
p()
commit
|
commitdiff
|
tree
2010-06-14
A
l
i
Gholami
Rudi
ncc: align str
u
ct membe
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
o
l
ami
R
udi
gen
:
mark copied regis
t
er as the owner
in o_tmp
c
opy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen:
f
ix "if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali G
h
o
l
ami Rudi
n
c
c: fix pointer
arithmet
i
c on
s
truct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghola
m
i Rudi
s
h
ow
an error msg if no input file
commit
|
commitdiff
|
tree
2010-06-13
Al
i
Gh
o
lami R
u
d
i
tok:
accept up
p
ercase
hex digit
s
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami Rudi
show
s
ynt
a
x erro
r
location
commit
|
commitdiff
|
tree
2010-06-12
Ali Gh
o
lami Rud
i
gen: fix
i
gnoring reg
o
p1() re
t
urn val
u
e
commit
|
commitdiff
|
tree
2010-06-11
Al
i
Gholami R
u
di
gen: don't ch
a
nge tmp->bt whe
n
s
toring
an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Ghola
m
i Rudi
gen: extend eax to
edx for mu
l
/
d
iv
op
commit
|
commitdiff
|
tree
2010-06-11
Ali Ghol
a
mi Ru
d
i
ncc: arrays
s
h
ould be processed in the revers
e
d o
r
der
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
h
o
lami Rudi
gen: fix
t
he order of MOVSXD's operands
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami R
u
di
gen: fix f
r
eeing re
g
iste
r
s
before call
commit
|
commitdiff
|
tree
2010-06-10
A
l
i Gholami Rudi
in
v
alidate l
a
st_
c
m
p if tmps
a
r
e changed
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghol
a
mi Rudi
derefer
e
n
ce b
o
th sides of a conditi
o
nal
e
xpression
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
cp
p
: check buffer stack inste
a
d
o
f
cppeval variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Rudi
cpp: prevent recursive macros
commit
|
commitdiff
|
tree
2010-06-09
Ali
Gholami Rudi
cpp
:
multi-argume
n
t ma
c
ros
commit
|
commitdiff
|
tree
2010-06-08
A
li
G
h
olami Rudi
cpp:
s
pace b
e
tween macro
a
nd '('
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ncc: exi
t
i
f
number of elements exceeds its max
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
holam
i
Rudi
ncc: only add
u
s
e
d external s
y
m
b
ols t
o
elf s
y
mt
a
b
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholam
i
R
u
di
h
a
nd
l
e
#
if and #elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
handle
#
ifdef, #ifndef, #else and
#
e
ndif
commit
|
commitdiff
|
tree
2010-06-08
Ali Ghol
a
mi R
u
di
s
upp
o
rt #undef NA
M
E
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
allo
w
-
Dna
m
e=val option
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Ru
d
i
cpp: hand
l
e function m
a
cro
s
commit
|
commitdiff
|
tree
2010-06-07
Ali Gholami
R
udi
han
d
le
-
I include paths
commit
|
commitdiff
|
tree
next