blob: b0225c957f5ef212fa65a7543230f453670a2f62 [file] [log] [blame]
Dale Johannesen18afa5a2010-06-28 20:07:30 +00001// RUN: %llvmgcc %s -c -m32 -fasm-blocks -o /dev/null
2// This should not warn about unreferenced label. 7729514.
3// XFAIL: *
4// XTARGET: i386,i686,x86,darwin
5
6void quarterAsm(int array[], int len)
7{
8 __asm
9 {
10 mov esi, array;
11 mov ecx, len;
12 shr ecx, 2;
13loop:
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}