?? doloop.c
字號:
#include "DoLoop.h"
void DoLoop(short *Input1, short *Input2, short * /* restrict */ Output, short *Weights, int LoopCount)
{
int i, Vector1, Vector2;
short Weight1 = Weights[0];
short Weight2 = Weights[1];
/*
ALIGNED_ARRAY(Input1);
ALIGNED_ARRAY(Input2);
ALIGNED_ARRAY(Output);
#pragma MUST_ITERATE(,,2);
*/
for (i = 0; i < LoopCount; i++)
{
Vector1 = Input1[i] * Weight1;
Vector2 = Input2[i] * Weight2;
Output[i] = (Vector1 + Vector2) >> 15;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -