altivec-apple-11.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 19 行
C
19 行
/* APPLE LOCAL file AltiVec *//* This is a compile-only test for interaction of "-maltivec" and "-save-temps". *//* Author: Ziemowit Laski <zlaski@apple.com>. *//* { dg-do compile { target powerpc*-*-* } } *//* { dg-options "-save-temps -maltivec" } */#define vector_float vector float#define vector_float_foo vector float foo#define vector_float_bar_eq vector float bar =/* NB: Keep the following split across three lines. */vectorinta1 = { 100, 200, 300, 400 };vector_float f1 = { 1.0, 2.0, 3.0, 4.0 }; vector_float_foo = { 3.0, 4.0, 5.0, 6.0 };vector_float_bar_eq { 8.0, 7.0, 6.0, 5.0 };
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?