[PATCH] D69986: [X86] Bugfix for rL349334

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 17:41:03 PST 2019


yubing updated this revision to Diff 228789.

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

https://reviews.llvm.org/D69986

Files:
  SingleSource/UnitTests/Vector/AVX512F/getmant.c


Index: SingleSource/UnitTests/Vector/AVX512F/getmant.c
===================================================================
--- SingleSource/UnitTests/Vector/AVX512F/getmant.c
+++ SingleSource/UnitTests/Vector/AVX512F/getmant.c
@@ -116,9 +116,9 @@
 double getmant_pd(double src, int interval, int sc) {
   union {
     struct {
-      unsigned long int fraction : 52;
-      unsigned int exp : 11;
-      unsigned int sign : 1;
+      unsigned long long fraction : 52;
+      unsigned long long exp : 11;
+      unsigned long long sign : 1;
     } st;
     double value;
   } dst;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69986.228789.patch
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191112/166e0d44/attachment.bin>


More information about the llvm-commits mailing list