llvm-6502/test/FrontendC/2010-06-28-nowarn.c
Dale Johannesen 45e01d2751 Refix XTARGET. Previous attempt matches on powerpc-apple-darwin,
although I don't see why.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107090 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-28 22:45:33 +00:00

22 lines
426 B
C

// RUN: %llvmgcc %s -c -m32 -fasm-blocks -o /dev/null
// This should not warn about unreferenced label. 7729514.
// XFAIL: *
// XTARGET: i386-apple-darwin,x86_64-apple-darwin,i686-apple-darwin
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;
}
}