ASM-C Interface 源代码

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

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

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