repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git]
/
test
/
FrontendC++
/
2010-07-19-nowarn.cpp
blob
a61a84ff28b0569b18a6ea87af09e34f94aa0390
1
// RUN: %llvmgcc %s -S -m32 -fasm-blocks -o /dev/null
2
// This should not warn about unreferenced label. 8195660.
3
// XFAIL: *
4
// XTARGET: x86,i386,i686
5
6
void
quarterAsm
(
int
array
[],
int
len
)
7
{
8
__asm
9
{
10
mov esi
,
array
;
11
mov ecx
,
len
;
12
shr ecx
,
2
;
13
loop
:
14
movdqa xmm0
, [
esi
];
15
psrad xmm0
,
2
;
16
movdqa
[
esi
],
xmm0
;
17
add esi
,
16
;
18
sub ecx
,
1
;
19
jnz loop
;
20
}
21
}