おぺんcv

画像処理エンジニアのブログ

2016-11-06から1日間の記事一覧

ARM NEONの使い方 乗算編

ARM

今回は乗算編です 特に変わった内容はありません 乗算 vmul[q]_<type>(va, vb) 64bit(qが付く場合は128bit)のベクタvaとvbの乗算 サンプル 符号付き16bit整数ベクタの乗算をしてみます #include <stdio.h> #include <stdint.h> #include <arm_neon.h> int main() { int16_t a[4] = { 1, 2, 3, 4 };</arm_neon.h></stdint.h></stdio.h></type>…