mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
0e5f8a53fd
llvm-svn: 108733
22 lines
384 B
C++
22 lines
384 B
C++
// RUN: %llvmgcc %s -c -m32 -fasm-blocks -o /dev/null
|
|
// This should not warn about unreferenced label. 8195660.
|
|
// XFAIL: *
|
|
// XTARGET: x86,i386,i686
|
|
|
|
void quarterAsm(int array[], int len)
|
|
{
|
|
__asm
|
|
{
|
|
mov esi, array;
|
|
mov ecx, len;
|
|
shr ecx, 2;
|
|
loop:
|
|
movdqa xmm0, [esi];
|
|
psrad xmm0, 2;
|
|
movdqa [esi], xmm0;
|
|
add esi, 16;
|
|
sub ecx, 1;
|
|
jnz loop;
|
|
}
|
|
}
|