linux下编程用 编译软件

源代码在线查看: i386-pf-athlon-1.c

软件大小: 49607 K
上传用户: IsABC
关键词: linux 编程 编译 软件
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* Test that the correct data prefetch instructions are generated for i386				   variants that use 3DNow! prefetchw or SSE prefetch instructions with				   locality hints.  */								/* { dg-do compile { target i?86-*-* x86_64-*-* } } */				/* { dg-require-effective-target ilp32 } */								extern void exit (int);								char *msg = "howdy there";								void foo (char *p)				{				  __builtin_prefetch (p, 0, 0);				  __builtin_prefetch (p, 0, 1);				  __builtin_prefetch (p, 0, 2);				  __builtin_prefetch (p, 0, 3);				  __builtin_prefetch (p, 1, 0);				  __builtin_prefetch (p, 1, 1);				  __builtin_prefetch (p, 1, 2);				  __builtin_prefetch (p, 1, 3);				}								int main ()				{				  foo (msg);				  exit (0);				}								/* { dg-final { scan-assembler "prefetchw" } } */				/* { dg-final { scan-assembler "prefetchnta" } } */				/* { dg-final { scan-assembler "prefetcht" } } */							

相关资源