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: ignore O_SIGNED when checking the opcode
2011-03-20
Ali Ghola
m
i Rudi
gen: ignore
O
_
SIGNED when checking the opcode
commit
|
commitdiff
|
tree
2011-03-17
A
l
i Gholami
Rudi
gen: f
i
x
s
i
g
ne
d
divisi
o
n
t
o neg
a
te the re
m
ainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen
:
m
erge decrement and che
c
k in i_memcpy() and
i_mems
e
t()
commit
|
commitdiff
|
tree
2011-03-15
Ali
Gholami Rudi
gen: don't save variable registers befo
r
e calls
commit
|
commitdiff
|
tree
2011-03-15
A
l
i
Ghol
a
mi Rudi
gen:
a
dd software div/
m
o
d imp
l
ementa
t
ion
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami Rudi
ncc: set
O
_SIGN for most binary op
e
rations
commit
|
commitdiff
|
tree
2011-03-15
Ali G
h
olami R
u
di
ncc
:
derefer
e
nce the
not
e
x
pr
e
ssio
n
o
f cexprs
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Ghola
m
i Rudi
p
e
rf
o
rm sig
n
ed operatio
n
s
if O
_
S
IGNED bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
l
i
Gho
l
ami Rudi
cpp: define __arm_
_
commit
|
commitdiff
|
tree
2011-03-14
Ali Gh
o
lami Rudi
ncc: don't cast
t
h
e re
t
ur
n
value for void functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: more compact version of memcp
y
() and memset()
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholami Rudi
gen: don'
t
ou
t
put reloc
a
tions when o_nogen() is called
commit
|
commitdiff
|
tree
2011-03-13
Ali Gholami Rudi
neatcc arm port
commit
|
commitdiff
|
tree
2011-03-08
A
li Gholam
i
Rudi
cl
e
an up
the interf
a
ce
b
etween n
c
c
.
c, gen
.
c
and out
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholam
i
Rud
i
npp: remove
co
m
ments
a
fte
r
pr
e
p
r
ocessin
g
commit
|
commitdiff
|
tree
2011-02-19
Ali
Gho
l
ami Rudi
cpp: don't re
m
o
v
e
n
on-macro number s
i
gns
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami R
u
di
npp: allow using neatc
c
's prep
r
o
cessor
a
s
a
standalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Ghol
a
mi Rudi
cpp: don't skip no
n
-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Ali Gholami Rudi
gen: f
i
x op_rs() optimization funct
i
on
commit
|
commitdiff
|
tree
2010-12-18
Ali Gho
l
ami Rudi
gen
:
use better names f
o
r opcodes
commit
|
commitdiff
|
tree
2010-12-11
Ali Gho
l
ami Rudi
cpp:
define __i386__; __x86_6
4
__ is
n
o
l
onger su
p
ported
commit
|
commitdiff
|
tree
2010-11-20
Ali Gholam
i
Ru
d
i
gen
:
loa
d
the
f
irs
t
t
m
p
befo
r
e
c
alling
T
MP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Ali Gholami
Rudi
a
d
d
R
EADME
commit
|
commitdiff
|
tree
2010-08-13
Ali Gh
o
lami Rudi
nc
c
: fix name->name st
r
in
i
t
ializer
commit
|
commitdiff
|
tree
2010-08-13
Ali
G
holami R
u
di
allow
e
xtern array decla
r
ations wit
h
o
u
t
s
ize
commit
|
commitdiff
|
tree
2010-07-29
Ali G
h
olami Rudi
cpp: incl
u
de
s
t
d
def
.
h
f
o
r using off
s
etof()
commit
|
commitdiff
|
tree
2010-07-28
Ali Gholami Rudi
to
k
: pars
e
uppercase he
x
numbers
commit
|
commitdiff
|
tree
2010-07-25
Ali G
h
ola
m
i Rudi
ncc: f
i
x
s
etting F_
I
NIT f
o
r each
defi
n
ed name
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami Rudi
cpp: h
a
n
d
le nested ma
c
ro calls lik
e
M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gh
o
lami Rudi
tok: don't go beyond bu
f
len for 3-char tokens
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Gholami Rudi
tab
.
h
:
use
t
he standard o
f
fsetof()
commit
|
commitdiff
|
tree
2010-07-12
Ali Gholami R
u
di
ncc: fix calling t
s
_pop() pr
e
m
at
u
rely in op
a
ssign
(
)
commit
|
commitdiff
|
tree
2010-07-12
Ali Ghola
m
i Rudi
g
e
n:
i
gnore the sign of th
e
second operand
i
n / and
%
commit
|
commitdiff
|
tree
2010-07-10
Ali Gholami R
u
di
ncc: fix & and
* o
n
functions
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami
Rudi
gen:
don
'
t overwri
t
e
p
ushed ebx, esi and edi
commit
|
commitdiff
|
tree
2010-07-09
Ali Gholami Rudi
gen: change
stack a
l
ignme
n
t to 4
commit
|
commitdiff
|
tree
2010-07-09
A
l
i Gholami Rudi
ncc: don't c
h
ange operand order
f
or const ops
commit
|
commitdiff
|
tree
2010-07-09
Ali
Gholami Ru
d
i
gen: only perform const op for
addresses when adding
commit
|
commitdiff
|
tree
2010-07-08
A
l
i Gholami Rudi
gen:
z
eroing eax doesn't seem nece
s
sary
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
n
c
c: f
i
x ++
s
for pointers
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholam
i
Ru
d
i
ncc: fi
x
function
p
o
inter ar
r
a
ys
commit
|
commitdiff
|
tree
2010-06-30
Ali Gholami Rudi
gen: remove t
h
e
unused
c
_
o
p()
commit
|
commitdiff
|
tree
2010-06-30
Ali
Gholami Rudi
gen:
us
e
t
m
p->off for lo
c
als too
commit
|
commitdiff
|
tree
2010-06-28
Ali
Gholami Rudi
port neatcc to x86
commit
|
commitdiff
|
tree
2010-06-24
Al
i
Gholami
R
u
d
i
gen: functions for perf
o
rming optimized ops
commit
|
commitdiff
|
tree
2010-06-24
Ali Gholami Rud
i
gen: fix two-byte opcode bit
commit
|
commitdiff
|
tree
2010-06-24
Ali G
h
olami Rudi
gen
:
use an int for opera
t
ors
commit
|
commitdiff
|
tree
2010-06-23
Ali Ghol
a
mi
R
udi
replace
o_
*
() functions with o_bop
(
) and o_
u
op
(
)
commit
|
commitdiff
|
tree
2010-06-21
Ali Gho
l
ami Rudi
add specia
l
ized inc/dec operations
commit
|
commitdiff
|
tree
2010-06-21
Ali
Ghol
a
mi Rudi
gen: let all
grps be
u
s
e
d
as byte registers
commit
|
commitdiff
|
tree
2010-06-20
Ali Gh
o
lami Rudi
out
:
don't need MA
X
SECS a
n
ymore
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
di
tab: let tabl
e
size be HASHITE
M
S
commit
|
commitdiff
|
tree
2010-06-20
Al
i
Gholami Rudi
out: merge al
l
sections i
n
to one text section
commit
|
commitdiff
|
tree
2010-06-20
Ali Gholami R
u
d
i
cpp: reset arg count
on macro rede
f
inition
commit
|
commitdiff
|
tree
2010-06-19
Ali Gholami Ru
d
i
o
ut: make nea
t
cc work with
g
nu ld
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami Rudi
gen: hand
l
e cha
r
arguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Rudi
ncc: a
l
ign structs based on th
e
first field
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghola
m
i Rudi
mov macr
o
has
h
table
to tab
.
c
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami R
u
di
gen: handle unsigned -> long
c
ast
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
h
o
lam
i
Rudi
cpp: save macro na
m
es
in
a
has
h
table
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
ncc: d
i
vide (ptr - ptr) result only
i
f
size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gho
l
ami Rudi
gen: use m
o
v
s
x
d only when src is si
g
ned
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
R
udi
tok
:
0x1 should be uns
i
gned
commit
|
commitdiff
|
tree
2010-06-18
Ali
Gholam
i
Rudi
g
e
n: fix the co
n
d
iti
o
n
s
for movxx operat
i
o
n
s
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami
Rudi
ncc: fix gett
i
ng i's type in
+
+i
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Ru
d
i
n
c
c: handl
e
ptr oper
a
tions on stru
c
ts ptrs
commit
|
commitdiff
|
tree
2010-06-18
A
l
i Gholami Rudi
n
cc: fix calling function
pointers
with arg
u
ments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholam
i
Ru
d
i
ncc: don't take c
a
se exp
r
s
a
s labels
commit
|
commitdiff
|
tree
2010-06-18
Ali
G
holami
R
udi
g
e
n
:
don'
t
generate code after o
_
n
ogen() in oi()
commit
|
commitdiff
|
tree
2010-06-18
Al
i
Ghola
m
i
R
udi
all tmps should
b
e t
h
e
same in conditi
o
nal bra
n
ches
commit
|
commitdiff
|
tree
2010-06-17
Al
i
Ghola
m
i Rud
i
gen: fix loading back tmps i
n
mem without
deref
commit
|
commitdiff
|
tree
2010-06-17
Ali Gho
l
ami Rudi
let
t
ok_num() return the bt
commit
|
commitdiff
|
tree
2010-06-17
Ali
Gho
l
ami Rudi
ge
n
: reloca
t
ion address size is always 4
f
or now
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
gen: fix S
Y
M
_PTR() macro
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami Rudi
g
e
n:
f
ix
!!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali Gholami Rudi
ncc: l
e
t shift am
o
un
t
b
e
an unsigne
d
commit
|
commitdiff
|
tree
2010-06-15
A
li Gholami
Rudi
g
e
n:
c
leanup
tmp h
a
ndlin
g
and fi
x
regs array in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
Ali Ghol
a
mi Rudi
n
cc
:
align st
r
uct members
commit
|
commitdiff
|
tree
2010-06-14
Ali
Gh
o
la
m
i
R
udi
gen:
m
ark copied reg
i
ster as th
e
owner in o_tmp
c
opy()
commit
|
commitdiff
|
tree
2010-06-14
Ali
G
holami Rudi
g
e
n: fix "if (!e
x
pr)
"
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholam
i
Rudi
ncc: fi
x
pointer a
r
ithmet
i
c on struct ptrs
commit
|
commitdiff
|
tree
2010-06-14
A
l
i Ghol
a
m
i
R
udi
show
an
e
r
r
o
r ms
g
if no inp
u
t fil
e
commit
|
commitdiff
|
tree
2010-06-13
Ali
Gh
o
lami Rudi
t
o
k: acc
e
pt up
p
ercase hex d
i
gits
commit
|
commitdiff
|
tree
2010-06-13
A
l
i Gholami
Rudi
show
s
yn
t
a
x
err
o
r location
commit
|
commitdiff
|
tree
2010-06-12
Ali Gho
l
ami Rudi
gen:
fix
i
gn
o
ring re
g
o
p
1
()
r
etu
r
n
v
a
lue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholam
i
Rudi
g
en: do
n
't chan
g
e
t
m
p->b
t
whe
n
storing an lva
l
ue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
gen: ex
t
en
d
eax to
e
d
x for mul
/
div op
commit
|
commitdiff
|
tree
2010-06-11
A
li Gh
o
l
a
mi Rudi
n
cc:
arrays shoul
d
be proc
e
s
s
e
d in the re
v
ersed
o
r
der
commit
|
commitdiff
|
tree
2010-06-10
A
li
G
h
o
lami Rudi
gen: fix
the order of
M
OVSX
D
's operands
commit
|
commitdiff
|
tree
2010-06-10
Al
i
Gh
o
lami Rudi
gen:
f
ix fr
e
eing re
g
isters
be
f
ore call
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
ami Rudi
in
v
a
l
idate la
s
t_cmp if tmps are changed
commit
|
commitdiff
|
tree
2010-06-10
A
l
i
G
hola
m
i R
u
di
derefe
r
ence b
o
th sides of a conditional expression
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghola
m
i
R
u
d
i
cpp: check buffer st
a
ck ins
t
ead
o
f
cppeval variable
commit
|
commitdiff
|
tree
2010-06-09
Ali Gholami
Rudi
c
p
p: prevent r
e
c
ur
s
ive
macros
commit
|
commitdiff
|
tree
2010-06-09
A
l
i Gh
o
lami
R
ud
i
cpp: multi-argument
macros
commit
|
commitdiff
|
tree
2010-06-08
Ali
G
holami Rudi
c
p
p: space between macro and '('
commit
|
commitdiff
|
tree
2010-06-08
Al
i
Gholam
i
Rudi
ncc: exit if number of
elemen
t
s
e
xceeds its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholam
i
Rudi
ncc:
o
nly a
d
d
u
s
e
d externa
l
s
y
mbol
s
to
e
lf sy
m
tab
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
ha
n
dle #if and #elif
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
h
a
nd
l
e #ifdef, #ifndef, #else and
#
endif
commit
|
commitdiff
|
tree
next