blob: 8acaaed2eec45eb4527f6d4be7dfdaab29589756 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
void foo()
{
int head, bar;
__asm__ __volatile__
(
"movq %0,%%xmm0\n\t" /* asm template */
"0:\n\t"
"bar\t%0, [%4]\n\t" // in template
"1:\n\t"
: "=a", (bar)
: "=&b", (&head), "+m", (bar)
: "cc"
);
}
|