LoginSignup
0
0

More than 3 years have passed since last update.

ARM NEON vmin/vmax 命令のメモ

Last updated at Posted at 2020-03-31

ARM NEON では vmin,vmax の命令には, 二種類あるのがわかりました.

vmin, vmax

入力のどちらかが NaN だと, 結果も NaN になる.
ARMv7(32bit), ARMv8 で使える.

vminnm, vmaxnm

ARMv8 以降のみ(or AARCH64). NaN の扱いがより IEEE754 準拠(?). SSE2 での min/max の振る舞いと似ている.

まとめ

aarch64 なら vminm, vmaxnm を使うのを推奨.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0