1 // RUN: %clang_cc1 -triple arm64-apple-ios -emit-llvm -o - %s | FileCheck %s
6 __asm__("mov %0, 7" : "=r" (x
));
13 __asm__("mov %0, 7" : "=r" (x
));
20 __asm__("mov %w0, 7" : "=r" (x
));
26 asm ("mov x0, %1; svc #0;" : "=r"(x1
) :"r"(op
),"r"(x1
) :"x0" );
30 __asm__("fadd %0, %0, %0" : "+w" (x
));
34 void t6 (void *f
, int g
) {
36 // CHECK: call void asm "str $1, $0", "=*Q,r"
37 asm("str %1, %0" : "=Q"(f
) : "r"(g
));