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
cpp: fix evaluating integer constants
2011-12-07
A
li Gholam
i
Rud
i
cpp: fix
evaluating intege
r
c
o
nstants
commit
|
commitdiff
|
tree
2011-11-10
Ali
G
holami Rudi
out: add a workaround
for
bad linkers
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholami Rudi
M
a
kefile:
d
e
f
a
ult to
x
86 build
commit
|
commitdiff
|
tree
2011-11-08
Ali Ghol
a
mi
R
udi
ncc
:
d
efine __
i
386__ for
x86 buil
d
s
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholam
i
Rudi
mer
g
e the x86 port to mas
t
er branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
ncc: better char arr
a
y
initialization
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
out: assure 8-byte
alignment of
data
and
b
ss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali
G
h
o
lam
i
Rudi
tab: fix tab_del()
;
otherw
i
se #undef won't wo
r
k
commit
|
commitdiff
|
tree
2011-06-05
A
li Gh
o
lami Rudi
ncc
:
call ts_de()
in
t
s_pop_d
e
()
commit
|
commitdiff
|
tree
2011-06-04
Ali
G
holami
R
udi
ncc: h
a
ndle switch stmt where d
e
fault l
a
bel appea
r
s
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami Ru
d
i
ncc: don't overwri
t
e glob
a
l n
a
mes
by static functi
o
n
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali G
h
olami
Rudi
cpp: fix
ha
n
dling
c
omments and strings
i
n
s
i
de
m
a
c
ros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholam
i
Rudi
ncc: h
a
n
d
l
e
empty stat
i
c initia
l
iz
e
r
s
commit
|
commitdiff
|
tree
2011-05-24
A
l
i
G
h
olami Rudi
cpp: i
g
n
ore commen
t
s insid
e
strin
g
macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
neatcc: add a ncc invocati
o
n scr
i
pt
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghol
a
m
i Rudi
m
o
r
e verbose er
r
or
m
es
s
ages for m
i
ssi
n
g
f
iles
commit
|
commitdiff
|
tree
2011-05-24
Ali Ghol
a
mi Ru
d
i
c
p
p:
don't
search /
u
s
r
/incl
u
de for
he
a
d
ers by default
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholam
i
Ru
d
i
cpp: merge cur++'s in
readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali
Ghol
a
m
i
Rudi
gen: fix reg_fortmp() indent
a
t
i
on
commit
|
commitdiff
|
tree
2011-05-19
Ali Gh
o
l
a
m
i Rud
i
ncc: h
a
ndl
e
o
v
erlapping condi
t
ional expressi
o
ns
commit
|
commitdiff
|
tree
2011-05-19
Ali G
h
o
lami Rudi
n
c
c: h
a
n
dle sizeof x + 2
commit
|
commitdiff
|
tree
2011-05-11
Ali
Gholam
i
Ru
d
i
ncc: make s
u
re t-
>
addr == 0 bef
o
r
e
calling o_popn
u
m()
commit
|
commitdiff
|
tree
2011-05-11
A
li G
h
olami
Ru
d
i
ncc: ignor
e
the semicolon
a
fter
do-while
commit
|
commitdiff
|
tree
2011-05-09
Ali Gho
l
am
i
Rudi
n
c
c:
switch default
l
abe
l
s when not
appearing at
t
he end
commit
|
commitdiff
|
tree
2011-05-08
Ali Ghola
m
i
R
udi
ncc: opass
i
gn sho
u
ld use the time of lhs
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Gholami R
u
di
ncc:
move nog
e
n t
o
ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
G
h
olami Rudi
ncc
:
a
lway
s
initiali
z
e output filename
commit
|
commitdiff
|
tree
2011-05-08
Al
i
Ghola
m
i
R
u
di
README: ignored keywo
r
d
s
are now built
i
nto n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami Rudi
n
c
c: support -o out
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc:
h
andl
e
ext
e
rn func
t
ion d
e
c
l
aratio
n
s inside
functions
commit
|
commitdiff
|
tree
2011-05-06
Ali Ghol
a
mi Rud
i
n
cc: handle
extern variab
l
e
declarations insi
d
e functions
commit
|
commitdiff
|
tree
2011-05-04
Ali
Gholami R
u
di
ncc: move m
a
cros lik
e
__S
T
DC
_
_
to n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
Al
i
Gholam
i
Rud
i
tok: handle // comments
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Ghola
m
i R
u
di
ncc:
i
gnore the keywords nea
t
cc doesn't car
e
about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gh
o
lami
Rudi
gen
:
reset last_c
m
p
in i_prolog(
)
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
g
e
n: back-
p
ort cmp+bc
c
o
p
tim
i
zation a
g
ain
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
o
l
ami
Rud
i
gen: move opcodes to
a
rch section
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gho
l
ami Rudi
gen: rename F
O
RK_REG
t
o REG_FORK
commit
|
commitdiff
|
tree
2011-04-29
A
li Gholami Rudi
gen: pass o
n
ly O_* c
o
nst
a
nts t
o
i_*() function
s
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
ge
n
: handle sym
+
off function
c
alls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move archite
c
ture-specific fu
n
ctio
n
s to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
A
li Gho
l
a
mi Rudi
gen: use i_set() in
i
_ln
o
t()
commit
|
commitdiff
|
tree
2011-04-01
Ali
G
holami R
u
di
g
e
n: pass th
e
number of arguments to o_fu
n
c_beg()
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
ami
Rudi
gen: encode 0x
f
0000000 as a
n
immedia
t
e
commit
|
commitdiff
|
tree
2011-03-31
Ali Gh
o
l
a
mi Ru
d
i
gen: swap the
immediate i
f
n
e
eded f
o
r =
=
and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Gho
l
a
m
i Rudi
gen: encode cm
p
+i
m
me
d
iate instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali
G
h
olami
R
udi
gen: put t
h
e immediate in the opcod
e
i
f
poss
i
ble
commit
|
commitdiff
|
tree
2011-03-30
Ali Gholami Rudi
g
en: rem
o
ve
c
mp+branch
o
p
t
im
i
z
a
tion; move
d
to opt
branch
commit
|
commitdiff
|
tree
2011-03-30
Al
i
Gholam
i
Rudi
cp
p
:
ha
n
dle
function macros
w
ith no
arg
u
ments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: rename dat_
b
ss() and dat_dat() to begin w
i
th o_
commit
|
commitdiff
|
tree
2011-03-28
A
li Gholami Rud
i
ge
n
: gr
o
up functions in
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: reset l
a
st_set after
cmp+b optimization
commit
|
commitdiff
|
tree
2011-03-28
A
l
i Gh
o
lami
R
udi
gen: fix ~ ope
r
ator implementatio
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami
Rudi
ncc
:
dereference
function
p
o
i
nte
r
s like any other vari
a
bles
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholam
i
Rudi
gen:
don't re
m
ove the last retur
n
j
ump
commit
|
commitdiff
|
tree
2011-03-27
Al
i
Gholami Rudi
ge
n
: don't let o_cast() change der
e
feren
c
ed type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
la
m
i R
u
d
i
ncc: use t
o
k_
j
mp() ins
t
ea
d
of t
o
k_(see|get)() in e
n
u
m_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Ghol
a
m
i
Rud
i
g
en
:
handle large
o
f
f
sets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
gen:
r
e
place TMP_RE
G
*
m
acros with reg_fortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Ghol
a
mi Rudi
gen: change o_nog
e
n()/o_dogen(
)
to be
r
ecursive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami
Rudi
gen: don
'
t
g
en
e
rate excess jump
s
for th
e
last return
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami
Ru
d
i
g
e
n: don't add duplicate data to numbe
r
p
ool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
gen:
c
all tmp
_
t
o() in
f
or loa
d
in
g
rhs
i
n o_ass
i
ng()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami Rudi
g
e
n: ignor
e
O
_SIGNE
D
when checking the
opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali G
h
olami Rudi
gen: fi
x
s
igned divisi
o
n to
n
ega
t
e t
h
e
r
emainder
commit
|
commitdiff
|
tree
2011-03-16
A
li Gholami R
u
di
g
e
n
:
merge d
e
creme
n
t and
check in i_memcpy() and
i
_
memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rud
i
g
e
n: don't
save variable regi
s
ters before calls
commit
|
commitdiff
|
tree
2011-03-15
A
li Gho
l
am
i
Rudi
gen: add software div/mod im
p
l
ementation
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Ru
d
i
n
c
c
:
set O_SIGN for most b
i
nary operations
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gholami
Rudi
nc
c
: deref
e
r
e
nce the not exp
r
e
s
si
o
n
of cexpr
s
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami
R
udi
p
erform signed operations i
f
O_S
I
GNED
b
it is set
commit
|
commitdiff
|
tree
2011-03-14
Ali
G
h
olami Rudi
cpp: define __arm__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
nc
c
: don't ca
s
t
t
he retu
r
n
value for vo
i
d functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gho
l
ami Rudi
gen: more comp
a
c
t
versi
o
n of memcpy() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Ghol
a
mi Rud
i
gen:
d
on't outp
u
t relocation
s
when o_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali G
h
olami Rudi
neat
c
c arm po
r
t
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholam
i
Ru
d
i
clean
up
t
h
e inter
f
ace b
e
tween ncc
.
c
, gen
.
c and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami
R
u
d
i
n
p
p
: remove comments after prep
r
ocessing
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
G
holami Rudi
c
p
p: don
'
t
r
em
o
ve non-macro numb
e
r si
g
ns
commit
|
commitdiff
|
tree
2011-02-19
A
l
i
Ghol
a
mi Rudi
npp: allow
u
sing neatcc's preprocessor
a
s
a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gholami R
u
di
cpp: don't skip non-eol macro
b
ack
s
l
ashe
s
commit
|
commitdiff
|
tree
2010-12-18
A
li Gholami Rud
i
gen: fix op_rs() optimizat
i
on function
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
g
e
n: use better
names for opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali
Gholami Ru
d
i
cp
p
: defin
e
__i386__; __x86_64__ is
no longer sup
p
orted
commit
|
commitdiff
|
tree
2010-11-20
Ali
Gholami Rudi
gen: lo
a
d the first tmp before ca
l
l
i
n
g TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add READ
M
E
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc:
fix nam
e
->name str ini
t
i
alizer
commit
|
commitdiff
|
tree
2010-08-13
Al
i
Gholami Rud
i
allow extern array
decla
r
a
t
io
n
s without size
commit
|
commitdiff
|
tree
2010-07-29
Ali Ghol
a
mi R
u
di
c
pp: incl
u
de stddef
.
h for usin
g
offs
e
t
of()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
to
k
:
p
a
rs
e
uppercase hex n
u
mbers
commit
|
commitdiff
|
tree
2010-07-25
Ali Gho
l
ami Rud
i
ncc: fix setting F_IN
I
T
f
or each
def
i
ne
d
nam
e
commit
|
commitdiff
|
tree
2010-07-14
A
l
i
G
hola
m
i Rudi
cpp
:
handle nes
t
ed ma
c
ro calls
like M(M(1)
)
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
t
o
k: d
o
n't go
b
e
yond buf len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholam
i
Ru
d
i
tab
.
h:
use the standa
r
d
offsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
ncc: fix c
a
lling ts_
p
op() pr
e
ma
t
urely in
o
p
assign()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami Rudi
g
e
n: ignore th
e
sign of the s
e
cond oper
a
nd i
n
/
and %
commit
|
commitdiff
|
tree
2010-07-10
Ali
Gholami
Rudi
ncc:
fix
&
a
n
d
* on functions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
gen:
d
on
'
t over
w
rite pushed ebx, esi
a
n
d edi
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami Rudi
gen: change
stack al
i
g
n
ment t
o
4
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholam
i
Rudi
n
c
c: don
'
t
change
op
e
rand
ord
e
r f
o
r co
n
st ops
commit
|
commitdiff
|
tree
next