fast-math-slp-27.c

来自「用于进行gcc测试」· C语言 代码 · 共 18 行

C
18
字号
/* { dg-do compile } *//* { dg-require-effective-target vect_float } */float x[256];void foo(void){  int i;  for (i=0; i<256; ++i)   {    x[2*i] = x[2*i] * x[2*i];    x[2*i+1] = x[2*i+1] * x[2*i+1];   }}/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { target vect_strided } } } *//* { dg-final { cleanup-tree-dump "vect" } } */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?