📄 simd-3.c
字号:
typedef float floatvect2 __attribute__((mode(V2DF)));typedef union{ floatvect2 vector; double f[2];}resfloatvect2;void tempf(double *x, double *y){ floatvect2 temp={x[0],x[1]}; floatvect2 temp1={y[0],y[1]}; resfloatvect2 temp2; temp2.vector=temp+temp1; x[0]=temp2.f[0]; x[1]=temp2.f[1];}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -