Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86600 - trunk/libs/log/src
From: andrey.semashev_at_[hidden]
Date: 2013-11-09 10:59:41


Author: andysem
Date: 2013-11-09 10:59:41 EST (Sat, 09 Nov 2013)
New Revision: 86600
URL: http://svn.boost.org/trac/boost/changeset/86600

Log:
Fixed garbage dump output on AVX2-enabled CPUs.

Text files modified:
   trunk/libs/log/src/dump_avx2.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/log/src/dump_avx2.cpp
==============================================================================
--- trunk/libs/log/src/dump_avx2.cpp Sat Nov 9 10:26:49 2013 (r86599)
+++ trunk/libs/log/src/dump_avx2.cpp 2013-11-09 10:59:41 EST (Sat, 09 Nov 2013) (r86600)
@@ -205,7 +205,7 @@
             __m256i mm_input = _mm256_load_si256(reinterpret_cast< const __m256i* >(p));
             __m256i mm_output1, mm_output2, mm_output3;
             dump_pack(mm_char_10_to_a, mm_input, mm_output1, mm_output2, mm_output3);
- store_characters_x3(mm_output1, mm_output2, mm_output3, buf);
+ store_characters_x3(mm_output1, mm_output2, mm_output3, b);
         }
 
         _mm256_zeroall(); // need to zero all ymm registers to avoid register spills/restores the compler generates around the function call


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk