代码搜索:optimize
找到约 6,026 项符合「optimize」的源代码
代码结果 6,026
www.eeworm.com/read/240162/4588044
c strlen.c
extern int inside_main;
__SIZE_TYPE__
strlen (const char *s)
{
__SIZE_TYPE__ i;
#ifdef __OPTIMIZE__
if (inside_main)
abort ();
#endif
i = 0;
while (s[i] != 0)
i++;
return i;
}
www.eeworm.com/read/233448/4681894
c strrchr.c
extern int inside_main;
char *
strrchr (const char *s, int c)
{
__SIZE_TYPE__ i;
#ifdef __OPTIMIZE__
if (inside_main)
abort ();
#endif
i = 0;
while (s[i] != 0)
i++;
do
if (s[
www.eeworm.com/read/233448/4681897
c strlen.c
extern int inside_main;
__SIZE_TYPE__
strlen (const char *s)
{
__SIZE_TYPE__ i;
#ifdef __OPTIMIZE__
if (inside_main)
abort ();
#endif
i = 0;
while (s[i] != 0)
i++;
return i;
}
www.eeworm.com/read/233448/4685228
c badshift.c
/* PR rtl-optimization/20532 */
/* { dg-do run } */
/* { dg-options "" } */
/* { dg-options "-march=i386" { target { i?86-*-* && ilp32 } } } */
/* We used to optimize the DImode shift-by-32 to zero
www.eeworm.com/read/233448/4686313
c 20020531-1.c
/* PR optimization/6842
This testcase caused ICE when trying to optimize V8QI subreg of VOIDmode
CONST_DOUBLE. */
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O2 -mmmx" } */
t
www.eeworm.com/read/216502/4891481
c tk.c
/*
* optimize output for Tek 4014
*/
#include
#include
#define MAXY 3071
#define LINE 47
#define XOFF 248
#define US 037
#define GS 035
#define ESC 033
#define CR 015
#define
www.eeworm.com/read/162614/5526761
c strrchr.c
extern void abort (void);
extern int inside_main;
char *
strrchr (const char *s, int c)
{
__SIZE_TYPE__ i;
#ifdef __OPTIMIZE__
if (inside_main)
abort ();
#endif
i = 0;
while (s[i] != 0)
www.eeworm.com/read/340665/3270228
c strlen.c
#if defined __thumb__ || defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
#include "../../string/strlen.c"
#else
#include
#include "xscale.h"
size_t
strlen (const char *str
www.eeworm.com/read/340665/3280183
c old-style-asm-1.c
/* PR inline-asm/8832 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* Verify that GCC doesn't optimize
old style asm instructions. */
void foo(int v)
{
if (v)
asm ("dummy1");
a
www.eeworm.com/read/340665/3281071
c 20020531-1.c
/* PR optimization/6842
This testcase caused ICE when trying to optimize V8QI subreg of VOIDmode
CONST_DOUBLE. */
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O2 -mmmx" } */
t