mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 00:39:36 +00:00
Testcase for llvm-gcc fix 107051.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107052 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
61c35e835e
commit
18afa5a498
21
test/FrontendC/2010-06-28-nowarn.c
Normal file
21
test/FrontendC/2010-06-28-nowarn.c
Normal file
@ -0,0 +1,21 @@
|
||||
// RUN: %llvmgcc %s -c -m32 -fasm-blocks -o /dev/null
|
||||
// This should not warn about unreferenced label. 7729514.
|
||||
// XFAIL: *
|
||||
// XTARGET: i386,i686,x86,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;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user