Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84211 - trunk/libs/log/src
From: andrey.semashev_at_[hidden]
Date: 2013-05-09 14:26:24


Author: andysem
Date: 2013-05-09 14:26:23 EDT (Thu, 09 May 2013)
New Revision: 84211
URL: http://svn.boost.org/trac/boost/changeset/84211

Log:
Minor changes.
Text files modified:
   trunk/libs/log/src/dump_avx2.cpp | 6 +++---
   trunk/libs/log/src/dump_ssse3.cpp | 8 ++++----
   2 files changed, 7 insertions(+), 7 deletions(-)

Modified: trunk/libs/log/src/dump_avx2.cpp
==============================================================================
--- trunk/libs/log/src/dump_avx2.cpp (original)
+++ trunk/libs/log/src/dump_avx2.cpp 2013-05-09 14:26:23 EDT (Thu, 09 May 2013)
@@ -92,9 +92,9 @@
     mm_char_space = _mm256_srli_si256(mm_char_space, 1);
     mm_out3 = _mm256_or_si256(mm_out3, mm_char_space);
 
- mm_output1 = _mm256_permute2x128_si256(mm_out1, mm_out2, 2u << 4 | 0u);
- mm_output2 = _mm256_permute2x128_si256(mm_out3, mm_out1, 3u << 4 | 0u);
- mm_output3 = _mm256_permute2x128_si256(mm_out2, mm_out3, 3u << 4 | 1u);
+ mm_output1 = _mm256_permute2x128_si256(mm_out1, mm_out2, (2u << 4) | 0u);
+ mm_output2 = _mm256_permute2x128_si256(mm_out3, mm_out1, (3u << 4) | 0u);
+ mm_output3 = _mm256_permute2x128_si256(mm_out2, mm_out3, (3u << 4) | 1u);
 }
 
 //! Dumps a pack of input data into a string of 8 bit ASCII characters

Modified: trunk/libs/log/src/dump_ssse3.cpp
==============================================================================
--- trunk/libs/log/src/dump_ssse3.cpp (original)
+++ trunk/libs/log/src/dump_ssse3.cpp 2013-05-09 14:26:23 EDT (Thu, 09 May 2013)
@@ -212,7 +212,7 @@
 
 void dump_data_char_ssse3(const void* data, std::size_t size, std::basic_ostream< char >& strm)
 {
- if (size >= 32)
+ if (size >= 16)
     {
         dump_data_ssse3(data, size, strm);
     }
@@ -224,7 +224,7 @@
 
 void dump_data_wchar_ssse3(const void* data, std::size_t size, std::basic_ostream< wchar_t >& strm)
 {
- if (size >= 32)
+ if (size >= 16)
     {
         dump_data_ssse3(data, size, strm);
     }
@@ -237,7 +237,7 @@
 #if !defined(BOOST_NO_CXX11_CHAR16_T)
 void dump_data_char16_ssse3(const void* data, std::size_t size, std::basic_ostream< char16_t >& strm)
 {
- if (size >= 32)
+ if (size >= 16)
     {
         dump_data_ssse3(data, size, strm);
     }
@@ -251,7 +251,7 @@
 #if !defined(BOOST_NO_CXX11_CHAR32_T)
 void dump_data_char32_ssse3(const void* data, std::size_t size, std::basic_ostream< char32_t >& strm)
 {
- if (size >= 32)
+ if (size >= 16)
     {
         dump_data_ssse3(data, size, strm);
     }


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