ASM-C+Interface 源代码

汇集 ASM-C+Interface 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

// { dg-do assemble { target sparc-sun-* } } // { dg-options "-S" } // GROUPS passed asm-extension // This used to crash because c…

源码文件

/* { 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 …

源码文件

/* PR inline-asm/15740 */ /* { dg-do compile } */ /* { dg-options "-O" } */ void foo(void) { int a, b; a = 1; b = a + 1; …

源码文件

/* { dg-options "-Werror" } */ __thread int i; int foo () { asm volatile ("" :: "m" (&i)); /* { dg-error "directly addressable…

源码文件

/* 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":"…

源码文件

/* { 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…