📄 i386-pf-none-1.c
字号:
/* Test that data prefetch instructions are not generated for i386 variants that do not support those instructions. *//* { dg-do compile { target i?86-*-* } } */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-not "fetch" } } */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -