/* PR inline-asm/15740 */ /* { dg-do compile } */ /* { dg-options "-O" } */ void foo(void) { int a, b; a = 1; b = a + 1; …
ASM-C Interface 源代码
汇集 ASM-C Interface 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* { dg-options "-Werror" } */ /* { dg-require-effective-target tls } */ __thread int i; int foo () { asm volatile ("" :: "m" (…
/* { dg-do compile } */ struct x { int selector; }; void f() { struct x* addr; __asm__("mov %%gs,%0":"=r" ((unsigned short…
/* { dg-do compile } */ /* { dg-options "" } */ void f() { asm ("foo%%bar"); } /* { dg-final { scan-assembler "foo%%bar" } } *…
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ #ifdef __hppa__ #define REGISTER "1" #else #define REGIS…
/* Make sure that gcc understands that an in/out operand is a use as well as a def. */ /* { dg-do compile } */ /* { dg-option…
/* PR 17739 */ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ #ifdef __hppa__ #define REGISTER "1" #els…
/* PR inline-asm/11676 */ /* { dg-do compile } */ /* { dg-options "-O -Wall" } */ void foo(void) { long x = 0; asm volatile (…
/* Check error messages for named asm operands. */ void foo () { int i; __asm__ ("" : [data] "=r" (i) : [data] "i" (100)); /*…
// Build don't link: // Special g++ Options: -S // GROUPS passed asm-extension // Skip if not target: sparc-sun-* // This used to…