代码搜索:Scan
找到约 10,000 项符合「Scan」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5517012
c compress-float-387.c
/* { dg-do compile { target i?86*-*-* } } */
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=387" } */
double foo (double x) {
return x + 1.75;
}
/* { dg-final { scan-assembler "flds"
www.eeworm.com/read/162614/5517067
c volatile-1.c
/* PR optimization/11381 */
/* Originator: */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O" } */
/* Verify that the comparison is not optimize
www.eeworm.com/read/162614/5517068
c rotate-1.c
/* Verify that rolb instruction is emitted on IA-32/x86-64. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
void foo (unsigned char *);
int
main (void)
{
unsigned char c = 0;
foo (&c);
www.eeworm.com/read/162614/5517069
c cvt-1.c
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -march=k8 -mfpmath=sse" } */
/* { dg-final { scan-assembler "cvttsd2si\[^\\n\]*xmm" } } */
/* { dg-final { scan-assembler "c
www.eeworm.com/read/162614/5517541
c asmspecvalid.c
// tests that the asm directive is correctly handled for static fields
// in structures and classes. This only applies to C++; such
// directives generate errors in C. Assembler directives for local
www.eeworm.com/read/162614/5517547
c builtin2.c
// PR c++/18514
// Test whether alternate 'asm' name is applied correctly to
// builtin imported into namespace std.
// { dg-do compile }
// { dg-options "" }
// { dg-final { scan-assembler "fancy_pr
www.eeworm.com/read/162614/5517552
c dllimport6.c
// { dg-do compile { target i?86-*-cygwin* i?86-*-mingw*} }
// Mark class static members as dllimport.
struct Baz
{
Baz(int a_ =0) : a(a_) {};
int a;
};
class __attribute__ ((dllimport)) Bar
www.eeworm.com/read/162614/5517593
c arm3.c
// { dg-do compile { target arm*-*-*eabi* } }
// { dg-options "-fvisibility=hidden" }
// Class data should be exported.
// { dg-final { scan-not-hidden "_ZTI1A" } }
// { dg-final { scan-not-hidden "_Z
www.eeworm.com/read/162614/5517603
c symbian1.c
// { dg-do compile { target arm*-*-symbianelf* } }
// Class data should not be exported.
// { dg-final { scan-hidden "_ZTV2K3" } }
// But the constructor and destructor should be exported.
// { dg-fin
www.eeworm.com/read/162614/5517604
c staticdatamem.c
// PR c++/18925
// { dg-do compile { target ia64-*-linux* } }
// { dg-options "-fPIC -fvisibility=hidden" }
// { dg-final { scan-assembler-not "gprel" } }
class __attribute__ ((visibility("default"))