mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-29 22:52:18 +00:00
Testcase for llvm-gcc commit r132591.
Part of rdar://9037836 and rdar://9119939 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ce1ecf59c8
commit
ce8671c612
11
test/FrontendC/inline-asm-multichar.c
Normal file
11
test/FrontendC/inline-asm-multichar.c
Normal file
@ -0,0 +1,11 @@
|
||||
// RUN: %llvmgcc -S -march=armv7a %s
|
||||
|
||||
// XFAIL: *
|
||||
// XTARGET: arm
|
||||
|
||||
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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user