Questions tagged [fxsave]

3 questions
11
votes
2 answers

What are coding conventions for using floating-point in Linux device drivers?

This is related to this question. I'm not an expert on Linux device drivers or kernel modules, but I've been reading "Linux Device Drivers" [O'Reilly] by Rubini & Corbet and a number of online sources, but I haven't been able to find anything on…
Die in Sente
  • 9,546
  • 3
  • 35
  • 41
4
votes
1 answer

Linux device driver unsafe FXSAVE/FXRSTOR bug -- any precedents?

There's a nasty problem that has temporarily stumped a number of engineers at my company trying to debug it. The C++ program is normally run on a cluster of multicore computers with MPI. It will run for a very long time -- perhaps days -- and then…
Die in Sente
  • 9,546
  • 3
  • 35
  • 41
0
votes
0 answers

When can I call xsaves and xsaves64?

When is it allowed to call xsaves and xsaves64? Using Intel Software Development Emulator (8.12.0-2017-10-23), I can use xsaves64 + xrstors64 from user-space without any problems, but trying to use xsaves + xrstors produces: Illegal instruction at…
gnzlbg
  • 7,135
  • 5
  • 53
  • 106