Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2017 20:42:35 +0000
From:      "Rang, Anton" <Anton.Rang@dell.com>
To:        "freebsd-amd64@freebsd.org" <freebsd-amd64@freebsd.org>
Subject:   XSAVE vs. XSAVEOPT in fpusave / fpu_kern_enter?
Message-ID:  <F21EDC44C64DB34B90AF485AC3CEDD4BBB339AEF@MX103CL02.corp.emc.com>

index | next in thread | raw e-mail

Hi,

While glancing at fpu_kern_enter, I noticed that fpusave() uses the XSAVE instruction, but not XSAVEOPT. The instance in cpu_switch.S is patched if XSAVEOPT is available, but should we also be able to use XSAVEOPT in fpusave as well?  I can't see any reason why not, but I'm not 100% sure that the save area is set up properly in all cases.

Anton



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F21EDC44C64DB34B90AF485AC3CEDD4BBB339AEF>