Testcase for 108732 (8195660).

llvm-svn: 108733
This commit is contained in:
Dale Johannesen 2010-07-19 18:22:40 +00:00
parent 18efced1a2
commit d4e389441d
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
// 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;
}
}