[PATCH] D60916: Add non-SSE wrapper for __kmp_{load,store}_mxcsr

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 06:54:57 PDT 2019


dim added a comment.

In D60916#1486011 <https://reviews.llvm.org/D60916#1486011>, @hfinkel wrote:

> Does the code that uses __kmp_load_mxcsr expect the pointed-to value to be initialized?


Hm, that's a good one. I expect that callers will just save the value somewhere in a struct, to restore it later via `__kmp_load_mxcsr`, which is a nop. But it is probably best to set the pointed-to value to zero, just to be safe.


Repository:
  rOMP OpenMP

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60916/new/

https://reviews.llvm.org/D60916





More information about the llvm-commits mailing list