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
npp: allow using neatcc's preprocessor as a standalone program
2011-02-19
Ali Ghola
m
i Rudi
npp: all
o
w using neatcc's
p
r
e
p
rocesso
r
as
a
standalo
n
e
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami Rud
i
cpp: don't skip non-eol
m
a
cro back
s
las
h
es
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
olami Ru
d
i
gen: fix op_rs() optimizat
i
on function
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gholami Rudi
g
e
n: use better na
m
e
s
f
o
r
opco
d
e
s
commit
|
commitdiff
|
tree
2010-12-11
Ali Gholam
i
Ru
d
i
c
p
p:
d
efine _
_
i386__; __x86_
6
4_
_
i
s
no longer su
p
ported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholam
i
R
udi
gen: load the f
i
rst tmp b
e
fore callin
g
T
MP_R
E
G
2()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gholami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali
Gholami Rudi
n
c
c: fix
name->name str i
n
i
t
ialize
r
commit
|
commitdiff
|
tree
2010-08-13
A
li Gho
l
ami Rudi
a
llow extern ar
r
ay declarations without size
commit
|
commitdiff
|
tree
2010-07-29
Ali
G
holam
i
Rudi
cpp: includ
e
stddef
.
h for using
o
ffset
o
f()
commit
|
commitdiff
|
tree
2010-07-28
A
li
G
hola
m
i Ru
d
i
tok: parse upp
e
rcase hex number
s
commit
|
commitdiff
|
tree
2010-07-25
A
l
i
Gholami
R
udi
n
cc: fix setting F_INIT for each defin
e
d
name
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami
R
udi
cpp: handle neste
d
macro ca
l
l
s like
M
(
M
(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
olami Rudi
t
ok
:
don't
g
o b
e
yond buf len for 3-char toke
n
s
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
R
u
d
i
tab
.
h: use the
standard offseto
f
()
commit
|
commitdiff
|
tree
2010-07-12
Ali
Gholam
i
Rudi
ncc: fix calling ts_pop() prematurely in o
p
assign(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Gho
l
a
mi Rudi
gen: ignor
e
the si
g
n
of
the seco
n
d oper
a
nd in /
a
nd %
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami R
u
di
ncc:
f
ix
&
and
*
on functions
commit
|
commitdiff
|
tree
2010-07-09
Ali
G
holami Rudi
gen: don't overwrite pushed ebx,
e
si an
d
e
di
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rudi
g
en:
change sta
c
k
alignme
n
t to 4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
ncc:
don'
t
c
h
ange operand ord
e
r fo
r
const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Gho
l
ami
Rudi
gen: only perform
c
ons
t
op for ad
d
resses
w
h
en a
d
d
ing
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
gen: zeroing eax d
o
esn't seem
n
ecessary
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami Rudi
n
cc: fix +
+
s
for poi
n
ters
commit
|
commitdiff
|
tree
2010-06-30
Ali Ghola
m
i
Rudi
ncc: f
i
x functi
o
n pointer
arrays
commit
|
commitdiff
|
tree
2010-06-30
Ali G
h
olami Ru
d
i
gen:
remove the unused c_
o
p
(
)
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: use
tmp->o
f
f for locals
too
commit
|
commitdiff
|
tree
2010-06-28
Ali Ghol
a
mi Rudi
port n
e
a
t
cc
t
o
x
86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen:
f
unc
t
ions
for p
e
r
f
orming opt
i
mized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen:
fi
x
two-byte op
c
ode bit
commit
|
commitdiff
|
tree
2010-06-24
A
l
i
G
holami Rudi
gen: u
s
e
an
i
n
t for oper
a
tors
commit
|
commitdiff
|
tree
2010-06-23
A
l
i
G
holami
R
udi
repl
a
ce o_*() func
t
io
n
s with o_bop() and
o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali
G
ho
l
ami Rudi
add sp
e
cializ
e
d inc/de
c
operations
commit
|
commitdiff
|
tree
2010-06-21
A
l
i Gh
o
lami Rudi
gen: let a
l
l
g
rps b
e
used
a
s by
t
e registers
commit
|
commitdiff
|
tree
2010-06-20
A
l
i
Gholami Rudi
out:
d
on'
t
need MAXSECS an
y
more
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Rudi
tab: l
e
t table size be
H
ASHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali
Gholami
Rudi
out: merge all sec
t
ions
i
nto one
text se
c
t
i
on
commit
|
commitdiff
|
tree
2010-06-20
A
l
i Gholami Rud
i
cpp: reset
arg count on macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gh
o
lami Rudi
out: mak
e
n
e
atcc wo
r
k wi
t
h gnu
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gh
o
la
m
i Rudi
g
en: handle c
h
a
r
argum
e
nts
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: align
s
t
ructs b
a
s
ed on the first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
mov ma
c
ro hash table
t
o tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen:
ha
n
dle unsi
g
n
ed ->
long cast
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholami Rudi
cpp: save macro name
s
in
a
hash tabl
e
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rudi
nc
c
: divide (ptr - p
t
r)
resu
l
t
o
nly if
s
i
z
e
>
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
gen
:
us
e
mo
v
sxd
o
nly when src is signe
d
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
tok: 0
x
1 shoul
d
be uns
i
gned
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Gholami Ru
d
i
gen:
fix the conditions f
o
r movxx operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: fix getting
i
's type in
+
+
i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
ncc: h
a
ndle ptr operatio
n
s on structs p
t
r
s
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Gholami Rud
i
ncc
:
fix calling
function pointers with ar
g
u
m
ents
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hola
m
i R
u
di
ncc: don't take case exprs as lab
e
ls
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
gen: don't
g
en
e
r
ate c
o
de
a
fter
o_nogen() in oi(
)
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami
Rud
i
a
ll tmps should
b
e the
s
ame i
n
conditional bran
c
hes
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
gen: fi
x
l
o
ading
b
a
ck
tmps in mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Ghola
m
i Rud
i
le
t
tok_num
(
) retu
r
n the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali Ghola
m
i Rudi
g
en: relocation ad
d
r
es
s
s
i
ze is always 4 for now
commit
|
commitdiff
|
tree
2010-06-16
A
l
i
Ghol
a
mi Rudi
gen: fix SYM
_
P
TR() m
a
cr
o
commit
|
commitdiff
|
tree
2010-06-16
Ali Gh
o
l
ami
R
udi
gen
:
fix !!ex
p
r
commit
|
commitdiff
|
tree
2010-06-15
A
li G
h
olami Rudi
n
c
c
: let shift amoun
t
b
e
an
un
s
igned
commit
|
commitdiff
|
tree
2010-06-15
A
l
i
Gholami Ru
d
i
g
e
n
:
clea
n
up tmp handlin
g
and fi
x
regs
ar
r
ay in o
_
swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
h
olami Rudi
n
c
c:
a
lign struct me
m
bers
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi Ru
d
i
g
en: ma
r
k copied register a
s
the owner in o_tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
g
e
n: f
i
x "if (
!
expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc
:
fix po
i
nter arithme
t
ic
on struct ptr
s
commit
|
commitdiff
|
tree
2010-06-14
A
l
i
Gholami Rudi
show an
e
rror ms
g
i
f no input file
commit
|
commitdiff
|
tree
2010-06-13
A
li Gholami Rudi
t
ok: accept upperca
s
e hex digi
t
s
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami R
u
di
show syntax
error location
commit
|
commitdiff
|
tree
2010-06-12
Ali Gholami
R
udi
ge
n
: fi
x
ignor
i
n
g
r
e
g
op1(
)
return value
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
Rudi
gen:
d
on't change t
m
p->b
t
when s
t
o
ring an lval
u
e
commit
|
commitdiff
|
tree
2010-06-11
Al
i
G
ho
l
ami Ru
d
i
ge
n
: exten
d
eax to
e
dx for
mul/
d
i
v op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
n
c
c: a
r
ra
y
s
s
hould b
e
processed in th
e
revers
e
d order
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghol
a
mi R
u
di
gen
:
fix t
h
e order o
f
MOVSXD's operand
s
commit
|
commitdiff
|
tree
2010-06-10
Ali G
h
olami Rudi
gen:
f
ix f
r
eeing re
g
ister
s
befo
r
e c
a
ll
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholam
i
Rudi
i
nvalidate last_cmp i
f
tmps are change
d
commit
|
commitdiff
|
tree
2010-06-10
A
li Gho
l
am
i
Rudi
dereference
both sides of a conditional express
i
o
n
commit
|
commitdiff
|
tree
2010-06-10
Ali
Ghol
a
mi Ru
d
i
cpp: check
b
uffer stac
k
instead of cppeval var
i
able
commit
|
commitdiff
|
tree
2010-06-09
Ali G
h
olami Rudi
cpp: preve
n
t recurs
i
ve ma
c
r
os
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami Ru
d
i
cp
p
: multi-arg
u
men
t
macros
commit
|
commitdiff
|
tree
2010-06-08
Ali Gh
o
lami Ru
d
i
c
p
p: space b
e
t
w
een m
a
cro and
'
(
'
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
h
olami Rud
i
ncc
:
exit if number of elements exce
e
ds its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ncc: only
add used e
x
te
r
nal symbols to el
f
symtab
commit
|
commitdiff
|
tree
2010-06-08
A
li Gho
l
a
m
i
R
udi
ha
n
d
l
e #if and
#
elif
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
hol
a
mi Rudi
ha
n
d
l
e #ifdef, #i
f
ndef
,
#e
l
se and #endif
commit
|
commitdiff
|
tree
2010-06-08
Al
i
G
ho
l
ami Rudi
support #unde
f
NAME
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami
Rudi
allow -Dname=val option
commit
|
commitdiff
|
tree
2010-06-08
Ali Ghola
m
i Rudi
cpp:
h
a
n
dle funct
i
o
n
macro
s
commit
|
commitdiff
|
tree
2010-06-07
Ali Gholami Rudi
hand
l
e -I include
p
a
t
hs
commit
|
commitdiff
|
tree
2010-06-06
Ali
G
holam
i
Rudi
cpp:
b
asic
i
nclude macro
s
commit
|
commitdiff
|
tree
2010-06-06
Ali Gholami R
u
di
add a basic preprocesso
r
commit
|
commitdiff
|
tree
2010-06-05
Ali Gholami
Rudi
ncc: f
i
x marking un
d
efined functions as functions
commit
|
commitdiff
|
tree
2010-06-04
Ali Gh
o
lami
R
udi
f
o
r statements
wi
t
h no condition
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami
Ru
d
i
t
ok: '\12' and '\x3b'
commit
|
commitdiff
|
tree
2010-06-04
A
li Gho
l
ami Rudi
tok: s
u
pport numbers with ul postfix
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami Rudi
tok: s = "a" "b";
commit
|
commitdiff
|
tree
2010-06-03
Ali
G
holami Rudi
tok: r
e
ad str and num
as they are
see
n
commit
|
commitdiff
|
tree
2010-06-03
Ali Gh
o
lami Rudi
array->fi
e
ld
commit
|
commitdiff
|
tree
2010-06-03
A
l
i
Gholam
i
Rudi
g
en: fix o_tmpcopy()
when co
p
ying
regs
commit
|
commitdiff
|
tree
2010-06-03
Ali Gho
l
ami Ru
d
i
support initializer
for stati
c
variables
commit
|
commitdiff
|
tree
2010-06-02
Ali Gholami Rudi
int a[] = {1, 2};
commit
|
commitdiff
|
tree
next