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
Al
i
Gholami Rudi
n
p
p: al
l
ow usin
g
neat
c
c's prepr
o
cessor
a
s a
s
tandalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
A
l
i Gholami Rudi
cpp: don
'
t skip non
-
eo
l
macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali
Gh
o
lami Rudi
gen: fix op_r
s
(
) opti
m
iza
t
ion function
commit
|
commitdiff
|
tree
2010-12-18
A
li Ghol
a
mi Ru
d
i
gen: use better names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
A
li Ghol
a
mi
Rudi
cpp: define
_
_i386__
;
_
_
x86_6
4
__ is
n
o longer supported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholami Ru
d
i
gen: load
t
he first
tm
p
before callin
g
TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gholami Rud
i
add README
commit
|
commitdiff
|
tree
2010-08-13
A
li
G
hol
a
mi Rudi
ncc: fix name
-
>
n
am
e
str initial
i
ze
r
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
hol
a
mi Rudi
al
l
ow ext
e
rn
array
d
ec
l
arations
without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp
:
inclu
d
e stdd
e
f
.
h for using offsetof(
)
commit
|
commitdiff
|
tree
2010-07-28
Ali
Gholami Rud
i
tok:
p
ars
e
uppercase h
e
x numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
holami Rudi
ncc
:
f
i
x setting F
_
INIT
for each defi
n
ed n
a
me
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami
Rudi
cpp: han
d
le nested macro
c
alls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali
Gholami Rudi
to
k
: don'
t
go beyond buf len for 3-char
t
okens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami R
u
di
tab
.
h: use the standard offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Al
i
Ghol
a
mi Rud
i
ncc:
f
ix calling ts
_
pop()
p
rematur
e
ly in opassign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gho
l
ami Rud
i
g
e
n: ignore t
h
e
s
i
gn of the second operand in
/
an
d
%
commit
|
commitdiff
|
tree
2010-07-10
A
l
i Gholami Rudi
nc
c
: fix & and *
o
n
f
u
nctions
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen:
d
o
n't ov
e
rwrite pushed ebx, es
i
a
n
d
edi
commit
|
commitdiff
|
tree
2010-07-09
A
li Gh
o
lami Rudi
gen
:
c
h
an
g
e stack a
l
ignment to 4
commit
|
commitdiff
|
tree
2010-07-09
Al
i
Gholami Rudi
ncc: don't change oper
a
nd order for const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali Ghola
m
i
Rudi
gen: only perfor
m
cons
t
op for
a
ddresses
when adding
commit
|
commitdiff
|
tree
2010-07-08
Ali Gholami Rudi
ge
n
: zeroing eax
doesn
'
t seem ne
c
essary
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gho
l
ami Rudi
ncc: fix ++
s
for pointers
commit
|
commitdiff
|
tree
2010-06-30
A
l
i Gholami Rud
i
ncc
:
fix f
u
nc
t
ion
p
o
inter ar
r
ays
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
Ru
d
i
gen:
remo
v
e th
e
u
nused c_op()
commit
|
commitdiff
|
tree
2010-06-30
Al
i
Gholami R
u
di
g
e
n: use t
m
p->off for loc
a
ls too
commit
|
commitdiff
|
tree
2010-06-28
Ali
G
holami R
u
di
port
n
eatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
ge
n
: functi
o
ns for performin
g
opti
m
i
zed ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Ghol
a
mi Rudi
gen: fix two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rudi
gen: use an int for operators
commit
|
commitdiff
|
tree
2010-06-23
Ali
Gholami R
u
di
replace o_*() f
u
nctions with
o_bop() a
n
d o_uop()
commit
|
commitdiff
|
tree
2010-06-21
Ali Gh
o
l
ami Rudi
add specialized i
n
c/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali Gh
o
lami Ru
d
i
g
e
n: let al
l
grp
s
b
e
used as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali
G
ho
l
ami Rudi
out: don
'
t
ne
e
d MAXSECS anymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
tab: let table size be H
A
SHITEMS
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholam
i
Rudi
out
:
merge all sectio
n
s i
n
t
o one text sec
t
i
on
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami Ru
d
i
cpp:
reset arg
count on macro redefinition
commit
|
commitdiff
|
tree
2010-06-19
A
l
i Ghola
m
i Rudi
out: m
a
ke neatc
c
w
o
rk
wi
t
h gnu
l
d
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
la
m
i Rudi
gen: han
d
le char argumen
t
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
m
i Rud
i
ncc: al
i
gn structs based on the fi
r
st field
commit
|
commitdiff
|
tree
2010-06-18
Ali G
h
olami
Rudi
mov macro
h
ash table to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
gen: handle unsigned -> lo
n
g
c
as
t
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami
Rudi
cpp: save macro names in a h
a
sh table
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
Ghola
m
i R
u
di
ncc: divide (ptr
- ptr)
result only if size
>
1
commit
|
commitdiff
|
tree
2010-06-18
Ali Gh
o
lam
i
Rudi
gen:
u
s
e mov
s
xd only when
s
rc is sign
e
d
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
tok: 0x1 should be unsi
g
ne
d
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
gen: fix
t
he conditions for mov
x
x operations
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc: f
i
x get
t
in
g
i's type in +
+
i
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
h
olami Rudi
n
c
c
: hand
l
e ptr operat
i
ons on str
u
cts ptrs
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami
R
udi
ncc: f
i
x calling fu
n
ction p
o
inter
s
with a
r
g
uments
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
holami Rudi
ncc:
d
on't take
c
ase
e
x
prs as la
b
els
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Ghol
a
mi Rudi
gen: don't gener
a
te
c
ode after o_nogen() i
n
oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
hola
m
i Rudi
all tmps should be the s
a
me in cond
i
tional br
a
nches
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Ru
d
i
gen: fix load
i
ng back tmps i
n
mem without deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gholami Rudi
let tok_n
u
m()
r
eturn the bt
commit
|
commitdiff
|
tree
2010-06-17
A
l
i
Gho
l
ami
R
udi
gen: r
e
locat
i
on addres
s
size is always
4
for now
commit
|
commitdiff
|
tree
2010-06-16
Ali Ghola
m
i Rud
i
gen: fix
S
YM_P
T
R() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali
Gho
l
ami
Rudi
gen: fix
!!e
x
pr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
n
c
c
: let
s
hif
t
amount
b
e a
n
unsign
e
d
commit
|
commitdiff
|
tree
2010-06-15
Ali Ghola
m
i
Rudi
gen: cleanup tm
p
handling
a
nd fix
r
egs array in
o_swap(
)
commit
|
commitdiff
|
tree
2010-06-14
A
li
G
h
olami Rudi
nc
c
:
al
i
g
n struct me
m
b
e
r
s
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
gen:
mark copie
d
reg
i
s
ter as the ow
n
e
r
in o
_
tmpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gho
l
ami Ru
d
i
gen: fix "if (!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami Rudi
ncc: fix pointer
arithmetic on
struct p
t
rs
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholam
i
R
u
di
sho
w
a
n
er
r
or
m
sg
if no inp
u
t
file
commit
|
commitdiff
|
tree
2010-06-13
Ali Gholami R
u
d
i
tok: accept uppercase he
x
digits
commit
|
commitdiff
|
tree
2010-06-13
A
l
i Ghola
m
i R
u
di
show syntax error location
commit
|
commitdiff
|
tree
2010-06-12
A
li Gholami Rudi
ge
n
: fix
ignoring regop1() r
e
t
urn value
commit
|
commitdiff
|
tree
2010-06-11
Al
i
Gholam
i
Rudi
g
en: don't
c
hange
tmp->b
t
when storing an
l
va
l
u
e
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
g
e
n: extend eax to edx
f
or mul/div op
commit
|
commitdiff
|
tree
2010-06-11
A
l
i Ghol
a
mi Rudi
ncc: arrays sh
o
uld
b
e p
r
o
ces
s
ed in
t
he reversed
order
commit
|
commitdiff
|
tree
2010-06-10
Ali
G
ho
l
ami Rudi
ge
n
: fix the order
o
f M
O
VSXD's ope
r
ands
commit
|
commitdiff
|
tree
2010-06-10
A
l
i Gh
o
lami Rudi
gen: fix freeing registe
r
s before call
commit
|
commitdiff
|
tree
2010-06-10
Al
i
G
h
o
l
a
m
i Rudi
invalidate last_cmp if tmps are changed
commit
|
commitdiff
|
tree
2010-06-10
Al
i
G
h
olami
R
udi
dereference both side
s
of
a
cond
i
tional expr
e
ssi
o
n
commit
|
commitdiff
|
tree
2010-06-10
Ali Gholami Rudi
cpp: ch
e
ck buffer stack instead of cp
p
ev
a
l varia
b
le
commit
|
commitdiff
|
tree
2010-06-09
Ali Gh
o
lami Ru
d
i
cp
p
: prevent
recursive m
a
cros
commit
|
commitdiff
|
tree
2010-06-09
Ali Gho
l
ami R
u
di
cp
p
: multi-argument macro
s
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
ola
m
i
R
u
di
cpp:
s
p
ace b
e
tw
e
en macro
and '('
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
o
l
ami Rudi
nc
c
: exit if num
b
e
r
of elements
exceeds its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ncc
:
only add u
s
ed
external symbols to
elf sy
m
t
a
b
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
hand
l
e
#if
and #
e
lif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ha
n
dle #if
d
e
f
, #ifn
d
ef, #else and #endif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gh
o
l
ami Rudi
support #u
n
def NAME
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
a
llow
-Dn
a
me=val
o
ption
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
hol
a
m
i
Ru
d
i
cpp: handle function macros
commit
|
commitdiff
|
tree
2010-06-07
Ali
G
ho
l
ami Rudi
h
andle -I includ
e
paths
commit
|
commitdiff
|
tree
2010-06-06
Ali Gh
o
lami Ru
d
i
cpp: ba
s
ic include macr
o
s
commit
|
commitdiff
|
tree
2010-06-06
Ali
Gholami Rudi
add a basic pr
e
processor
commit
|
commitdiff
|
tree
2010-06-05
Ali Gholami Rudi
nc
c
:
f
ix marking undefine
d
functions a
s
f
unctio
n
s
commit
|
commitdiff
|
tree
2010-06-04
Ali
G
holami Rudi
f
o
r
stateme
n
t
s
with no con
d
i
t
ion
commit
|
commitdiff
|
tree
2010-06-04
Ali Gho
l
am
i
R
u
d
i
t
ok: '\12' and '\x3b'
commit
|
commitdiff
|
tree
2010-06-04
Ali Ghola
m
i
R
u
di
t
ok:
s
upport
n
umbers wi
t
h ul postfix
commit
|
commitdiff
|
tree
2010-06-04
Al
i
Gholami
R
udi
tok: s = "a" "b";
commit
|
commitdiff
|
tree
2010-06-03
A
l
i Gholami Ru
d
i
tok: read
str and num as they are s
e
e
n
commit
|
commitdiff
|
tree
2010-06-03
Ali Gholami
R
udi
array->field
commit
|
commitdiff
|
tree
2010-06-03
Ali Ghol
a
mi Rudi
g
en:
f
i
x o
_
tmpcopy()
when copying r
e
gs
commit
|
commitdiff
|
tree
2010-06-03
A
li Gho
l
ami Rudi
support initi
a
lizer for static variables
commit
|
commitdiff
|
tree
2010-06-02
Ali
Ghola
m
i Rudi
int
a
[] = {
1
, 2};
commit
|
commitdiff
|
tree
next