/* { dg-do compile } */ /* { dg-options "" } */ int main() { int x, y, z; asm volatile ("test0 X%0Y%[arg]Z" : [arg] "=g" (x)…
ASM-C+Interface 源代码
汇集 ASM-C+Interface 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* Gcc 3.3.1 deprecates memory inputs of non-lvalues. */ /* { dg-do compile } */ void test(void) { register int r; register …
/* PR inline-asm/15740 */ /* { dg-do compile } */ /* { dg-options "-O" } */ void foo(void) { int a, b; a = 1; b = a + 1; …
/* { dg-options "-Werror" } */ /* { dg-require-effective-target tls } */ __thread int i; int foo () { asm volatile ("" :: "m" (…
// Build don't link: // Special g++ Options: -S // GROUPS passed asm-extension // Skip if not target: sparc-sun-* // This used to…
/* { dg-do compile } */ /* { dg-options "" } */ void f() { asm volatile ("foo%%bar" : : ); } /* { dg-final { scan-assembler "f…
/* { dg-do compile } */ /* { dg-options "" } */ int main() { int x, y, z; asm volatile ("test0 X%0Y%[arg]Z" : [arg] "=g" (x)…
/* Gcc 3.3.1 deprecates memory inputs of non-lvalues. */ /* { dg-do compile } */ void test(void) { register int r; register …
/* Asm operands that are given as hard registers must keep the same hard register all the way through compilation. Example der…
/* { dg-do compile { target i?86-*-* } } */ struct x { int selector; }; void f() { struct x* addr; __asm__("mov %%gs,%0":"…