[PATCH] D69979: clang: Guess at some platform FTZ/DAZ default settings
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 7 18:36:48 PST 2019
craig.topper added a comment.
I checked Redhat 7.4 that's on the server I'm using for work. And I had a coworker check his Ubuntu 18.04 system with this program. And both systems printed 1f80 as the value of MXCSR which shows FTZ and DAZ are both 0. Are you seeing something different?
#include <x86intrin.h>
#include <stdio.h>
int main() {
int csr = _mm_getcsr();
printf("%x\n", csr);
return 0;
}
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69979/new/
https://reviews.llvm.org/D69979
More information about the cfe-commits
mailing list