mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-19 09:57:42 +00:00
45e01d2751
although I don't see why. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107090 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
426 B
C
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;
|
|
}
|
|
}
|