Feature #8536

Feature #8534: Want AVX-512 Support

xsave area should size dynamically, based on CPU features

Added by Robert Mustacchi 12 months ago. Updated 11 months ago.

Status:ClosedStart date:2017-07-25
Priority:NormalDue date:
Assignee:Jerry Jelinek% Done:


Target version:-
Difficulty:Medium Tags:


AVX512 adds almost 2k to the xsave area in each LWP. Intel clearly intends for the xsave area to be dynamically sized based on the features available in the current CPU. We should do that instead of blindly just increasing the size as we did for AVX.


#1 Updated by Electric Monk 11 months ago

  • Status changed from New to Closed

git commit 088d69f878cf3fb57556357236ef8e1c8f9d893e

commit  088d69f878cf3fb57556357236ef8e1c8f9d893e
Author: Jerry Jelinek <jerry.jelinek@joyent.com>
Date:   2017-08-16T17:06:52.000Z

    8534 Want AVX-512 Support
    8535 kernel cpuid support for new processors
    8536 xsave area should size dynamically, based on CPU features
    8537 rtld needs to learn about AVX512
    8538 add support for xsaveopt for improved context switching
    8539 better handling for AMD-specifc *save_ctxt FP exceptions
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom