Assembly x64 Intro - XMM ABS
生活随笔
收集整理的這篇文章主要介紹了
Assembly x64 Intro - XMM ABS
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
%macro WELS_AbsW 2
??? pxor??????? %2, %2
??? psubw?????? %2, %1
??? pmaxsw????? %1, %2
%endmacro
WELS_AbsW? xmm0, xmm3
展開如下:
pxor xmm3, xmm3???? => xmm3 = 0
psubw xmm3, xmm0? => xmm3 = -xmm0
pmaxsw xmm0, xmm3? => (Maximum of Packed Signed Word Integers)? xmm0 = max(xmm0, xmm3) = max(xmm0, -xmm0) = abs(xmm0)
總結(jié)
以上是生活随笔為你收集整理的Assembly x64 Intro - XMM ABS的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mp3转wma格式转换器 mp3音频怎么
- 下一篇: 德鲁克《卓有成效的管理者》学习笔记-掌握