repo.or.cz
/
neatcc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
ncc: fix handling function pointer types without a name
2011-12-23
A
l
i Gholami
R
u
d
i
ncc: fix handling func
t
i
on point
e
r ty
p
es without a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
gen: complain i
f
MAXJMPS is reached
commit
|
commitdiff
|
tree
2011-12-09
Ali Gholami Rudi
g
en
:
simplify branch ins
t
r
uctio
n
s
by re
m
ovi
n
g
o
_filljmp
(
)
commit
|
commitdiff
|
tree
2011-12-08
Ali Gholami
Rudi
ncc: support k&r style
f
unction de
f
initions
commit
|
commitdiff
|
tree
2011-12-08
A
li Gh
o
l
ami
Rudi
out: u
s
e rel
.
* name fo
r
relocati
o
n sections
on x86
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Ru
d
i
ncc: support
(expr,
expr) expres
s
i
on
commit
|
commitdiff
|
tree
2011-12-07
Ali
Ghol
a
mi Rudi
c
p
p: fi
x
ev
a
luating i
n
teg
e
r consta
n
ts
commit
|
commitdiff
|
tree
2011-11-10
Ali
G
h
ola
m
i
Rud
i
out:
a
dd
a
w
o
r
k
a
r
ound for
b
ad linkers
commit
|
commitdiff
|
tree
2011-11-08
A
li Gh
o
la
m
i
R
udi
Makefi
l
e: default to x86
build
commit
|
commitdiff
|
tree
2011-11-08
Ali Gholam
i
Ru
d
i
ncc:
defi
n
e
__i386__ for x86 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Ghol
a
mi
Rudi
merge the x86 po
r
t
t
o
master branch
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rudi
ncc: better char
a
r
r
ay
i
nitialization
commit
|
commitdiff
|
tree
2011-10-17
Ali Gholami Rud
i
out: as
s
ure
8-byte
align
m
ent of data and bss section
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gho
l
a
m
i Rudi
tab:
fix
tab_del(); otherwi
s
e #und
e
f won't w
o
rk
commit
|
commitdiff
|
tree
2011-06-05
Ali Gholam
i
R
u
d
i
ncc: call
ts_de() in
t
s_pop
_
de()
commit
|
commitdiff
|
tree
2011-06-04
Ali
G
holami R
u
di
ncc: handle switch
s
tmt where
d
efault label app
e
ars
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i G
h
olami
R
udi
ncc: don't ov
e
rwri
t
e globa
l
names
b
y
s
ta
t
ic functi
o
n
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali G
h
ola
m
i
Rud
i
c
p
p
: fix hand
l
ing comments an
d
strings inside macros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gh
o
lami Rudi
ncc: h
a
ndle empty stati
c
initial
i
zer
s
commit
|
commitdiff
|
tree
2011-05-24
A
li
Gholam
i
Rudi
cpp: ignore
c
omments inside s
t
ring
m
acros
commit
|
commitdiff
|
tree
2011-05-24
A
li Gholami Rudi
neatcc: add a
n
cc invocation
s
c
ript
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
m
o
re
v
erbose erro
r
me
s
s
a
g
es for missing files
commit
|
commitdiff
|
tree
2011-05-24
A
li Gholami Rudi
cpp:
don't searc
h
/usr/include
f
or
h
ea
d
ers by
d
efault
commit
|
commitdiff
|
tree
2011-05-22
Ali Gho
l
ami Rudi
cpp: merge
cur++'s i
n
readarg()
commit
|
commitdiff
|
tree
2011-05-22
Ali
G
h
olami
Rudi
ge
n
:
fix
r
eg_f
o
rtmp()
i
ndentation
commit
|
commitdiff
|
tree
2011-05-19
Ali Ghola
m
i
R
udi
n
cc: hand
l
e overlappi
n
g cond
i
tional e
x
pressions
commit
|
commitdiff
|
tree
2011-05-19
Ali
G
h
o
l
ami R
u
di
ncc: handle sizeof
x +
2
commit
|
commitdiff
|
tree
2011-05-11
A
li Gholami Rudi
n
cc: m
a
ke sure t->addr == 0 before c
a
lling o_pop
n
um()
commit
|
commitdiff
|
tree
2011-05-11
Al
i
Gholami Rudi
n
c
c: ignor
e
the semicolon after do-while
commit
|
commitdiff
|
tree
2011-05-09
Al
i
Gholami Rud
i
ncc:
switch
default l
a
bels when not appearing
a
t
the end
commit
|
commitdiff
|
tree
2011-05-08
Ali G
h
olami Rudi
ncc: opassign s
h
ould use t
h
e tim
e
of
lhs
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
nc
c
:
a
l
w
ay
s
i
n
i
t
iali
z
e output filen
a
me
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
l
ami Rudi
README: i
g
nore
d
keywords are now
b
uilt into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
ncc: s
u
pport -o o
u
t
commit
|
commitdiff
|
tree
2011-05-08
A
l
i
Gholami
Rudi
n
cc: hand
l
e ex
t
ern function de
c
lara
t
ions insi
d
e
f
unc
t
ions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholam
i
Rudi
ncc: ha
n
dle exte
r
n
v
ariable
d
e
c
lara
t
ions inside fun
c
tions
commit
|
commitdiff
|
tree
2011-05-04
A
l
i Gholami Rudi
ncc:
m
ove
macros
li
k
e __STDC__
to n
c
c
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali Gh
o
lami Rudi
tok:
h
a
n
dle // comments
commit
|
commitdiff
|
tree
2011-05-04
Al
i
G
holami Rudi
n
c
c:
ignore the keywords neat
c
c doesn
'
t
care a
b
out
commit
|
commitdiff
|
tree
2011-05-01
Ali Gh
o
lami Ru
d
i
gen: reset la
s
t_cmp in i_pr
o
log()
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
u
d
i
gen: bac
k
-por
t
cm
p
+bcc op
t
imizati
o
n a
g
ai
n
commit
|
commitdiff
|
tree
2011-04-29
Ali G
h
ola
m
i Rudi
g
e
n: mo
v
e opcodes to arch s
e
ction
commit
|
commitdiff
|
tree
2011-04-29
A
l
i
G
hola
m
i Rudi
gen: renam
e
F
O
RK_REG to REG
_
FORK
commit
|
commitdiff
|
tree
2011-04-29
Ali
Gho
l
ami Ru
d
i
g
e
n:
p
a
ss on
l
y
O
_* constants to i_*() functions
commit
|
commitdiff
|
tree
2011-04-29
A
l
i Gholami R
u
di
gen: handle sym+off fu
n
ction calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Ru
d
i
gen: move ar
c
hitec
t
u
r
e-s
p
eci
f
ic
f
un
c
tions to the end
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen: use i_se
t
() in i_
l
not()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami Rudi
gen:
p
ass
the number of
arg
u
m
e
n
ts to o_func_beg(
)
commit
|
commitdiff
|
tree
2011-03-31
Al
i
Gholami Rudi
gen:
e
ncode 0xf0000000 as
an
immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Ru
d
i
gen: swap t
h
e imm
e
diate if
n
ee
d
e
d
f
o
r == and
!=
commit
|
commitdiff
|
tree
2011-03-31
Ali G
h
olami Rudi
gen: encode cm
p
+immedia
t
e instructions
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
gen: put
t
h
e immediate in
t
h
e
opcode if possible
commit
|
commitdiff
|
tree
2011-03-30
A
l
i Gholami Rudi
gen: r
e
mov
e
cmp+
b
ranch
o
p
t
imization; moved to opt branch
commit
|
commitdiff
|
tree
2011-03-30
A
li Gho
l
ami
R
u
di
cpp: handle funct
i
on mac
r
os w
i
th
n
o arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
ge
n
: re
n
ame dat_bss() and dat_dat()
to begin with o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rudi
gen: gr
o
up functions in
g
en
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rudi
gen:
reset last_s
e
t after cmp+b optimizati
o
n
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghola
m
i Ru
d
i
gen:
f
i
x ~
o
perator
implementa
t
i
o
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami Ru
d
i
ncc: deref
e
rence func
t
ion
pointers l
i
ke any oth
e
r var
i
ables
commit
|
commitdiff
|
tree
2011-03-27
A
l
i Gholami Rudi
gen:
d
o
n't remove the last retu
r
n
jump
commit
|
commitdiff
|
tree
2011-03-27
A
li Gholami Rudi
gen
:
d
on't let o_cast() chang
e
dereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gh
o
lami Ru
d
i
ncc: use tok
_
j
m
p() instead of tok
_
(see|
g
e
t)()
i
n enum_create()
commit
|
commitdiff
|
tree
2011-03-25
Ali Gho
l
ami Rudi
gen:
handle large
o
ffsets
f
or
s
tr
commit
|
commitdiff
|
tree
2011-03-25
A
l
i Gho
l
ami Rudi
ge
n
: rep
l
a
ce TMP_REG*
m
acros with reg_f
o
rtmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
g
e
n: change o_nogen()/o_
d
og
e
n() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
A
l
i Gholami
R
ud
i
gen:
don't
g
enerate exc
e
ss jump
s
for the last retu
r
n
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami R
u
di
gen: don't add duplicate data to number pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gho
l
ami Rud
i
gen: c
a
l
l
t
m
p_to(
)
in
f
o
r loading rhs in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali
G
holam
i
Rud
i
gen:
i
g
nore O_SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami
R
udi
gen
:
fix signe
d
divis
i
on to negate the re
m
ainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami
R
u
di
gen: mer
g
e
decr
e
ment and ch
e
c
k
in i_mem
c
py(
)
and i_memset()
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghola
m
i Rudi
gen: don'
t
save var
i
able registers before calls
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Ru
d
i
g
e
n
: add
s
o
ftwa
r
e div/mod imple
m
en
t
ati
o
n
commit
|
commitdiff
|
tree
2011-03-15
Ali Ghol
a
mi R
u
d
i
ncc: set O_SIGN for most binary
operations
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
n
cc: derefer
e
nce the not
express
i
on of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
per
f
orm signed o
p
erations i
f
O
_SIGNED b
i
t is set
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
cpp: de
f
ine
__a
r
m__
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
ncc
:
don't cast the ret
u
r
n
val
u
e for v
o
id
f
u
n
ctions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami R
u
di
gen: more
c
ompa
c
t
v
ersion of me
m
cp
y
() and
m
emset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rud
i
gen: d
o
n'
t
output relocations when o
_
nog
e
n() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rud
i
n
e
at
c
c arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
c
l
ean up the i
n
t
erface
b
e
tween
ncc
.
c
,
gen
.
c and
out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
npp:
re
m
ove co
m
ments after preprocessing
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami Rudi
cpp:
don't r
e
move non-
m
acro
number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali G
h
olami Ru
d
i
npp: allow u
s
ing nea
t
cc's preprocessor as a standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Al
i
Gho
l
ami Rud
i
cpp:
d
on't skip non-eol macro
b
ackslashe
s
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: fix op_rs() optimizati
o
n
functi
o
n
commit
|
commitdiff
|
tree
2010-12-18
A
li Gh
o
lami Rudi
gen: us
e
bette
r
names
f
or opcod
e
s
commit
|
commitdiff
|
tree
2010-12-11
A
li Gholami Rud
i
cpp: d
e
fi
n
e __i386_
_
; __x86_64__ is no longer supported
commit
|
commitdiff
|
tree
2010-11-20
A
l
i Gholami
R
udi
gen:
load the first t
m
p before
c
a
ll
i
ng TMP_R
E
G
2
()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
A
l
i
Gholami Rud
i
ncc: f
i
x na
m
e
-
>name str
i
n
i
t
ializer
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
hol
a
mi R
u
di
allow extern
array d
e
clarations without siz
e
commit
|
commitdiff
|
tree
2010-07-29
Ali Gholami Rudi
cpp:
include st
d
d
e
f
.
h
f
or using offs
e
t
o
f()
commit
|
commitdiff
|
tree
2010-07-28
A
li Gholami Ru
d
i
to
k
: parse upperc
a
se
h
ex numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali
G
holami Rudi
ncc: fix se
t
t
i
ng
F
_
I
N
IT for each
d
efined n
a
me
commit
|
commitdiff
|
tree
2010-07-14
Ali
G
holami Ru
d
i
cpp: handle nested
m
acro calls like M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Ali G
h
olami Rudi
tok: d
o
n't go
beyo
n
d b
u
f
l
e
n for 3-char
t
okens
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholam
i
Rudi
ta
b
.
h: use the standar
d
offsetof()
commit
|
commitdiff
|
tree
next