Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

AVX/YMM registers and Win64 ABI

yuhong2
Beginner
345 Views
What are the rules for AVX/YMM registers under the Windows 64-bit ABI?
0 Kudos
4 Replies
Brijender_B_Intel
345 Views

I dont think there is any change around ABI. As XMM registers are lower 128-bit part of YMM registers. In the end they are same registers, however extended to 256bits. So, in case of function calls the lower parts will be used to pass floating point arguements.

http://en.wikipedia.org/wiki/X86_calling_conventions#Microsoft_x64_calling_convention

TimP
Black Belt
345 Views
The story of the week is back to a wait of about a year from the introduction of YMM register machines until a SP for Windows 7 and server will support them.
yuhong2
Beginner
345 Views
Except that it is more than just calling conventions, the ABI also covers exception handling, and it also includes rules for prolog/epilog of functions which needs to followed for it to work properly. That is what I am particularly concerned about.
neerajsi_msft
Beginner
345 Views

Yuhong,

The bottom half of the YMM registers follow the x64 ABI rules for XMM registers. The top half is considered volatile.

Reply