mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
372ab67ee8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132785 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
226 B
C
9 lines
226 B
C
// RUN: %llvmgcc -S -march=armv7a %s
|
|
|
|
int t1() {
|
|
static float k = 1.0f;
|
|
// CHECK: call void asm sideeffect "flds s15, $0 \0A", "*^Uv,~{s15}"
|
|
__asm__ volatile ("flds s15, %[k] \n" :: [k] "Uv,m" (k) : "s15");
|
|
return 0;
|
|
}
|