Why do SSE instructions preserve the upper 128-bit of the YMM registers?

前端 未结 2 1639
暖寄归人
暖寄归人 2020-12-18 21:13

It seems to be a recurring problem that many Intel processors (up until Skylake, unless I\'m wrong) exhibit poor performance when mixing AVX-256 instructions with SSE instru

2条回答
  •  萌比男神i
    2020-12-18 22:17

    Background: the decision was made early to make KeSaveFloatingPointState do nothing on Windows x64 and to allow XMM registers to be used without extra save/restore calls even in drivers. Obviously these drivers would not be aware of AVX or the YMM registers.

提交回复
热议问题