Skip to content
This repository was archived by the owner on Aug 18, 2019. It is now read-only.

Commit 28d002c

Browse files
committed
Update to v1.30
1 parent 8d52f13 commit 28d002c

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Projected future version, 2018:
66
* use C++14
77
* replace long template argument lists by constant arrays
88

9+
2017-07-27 version 1.30
10+
* fixed bug in permute8f for a particular combination of indexes
11+
912
2017-05-10 version 1.29
1013
* Reversed Apple Clang patch in version 1.28 because the problem has reoccurred in
1114
later versions of Clang

vectorclass.pdf

-57 Bytes
Binary file not shown.

vectorf256.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**************************** vectorf256.h *******************************
22
* Author: Agner Fog
33
* Date created: 2012-05-30
4-
* Last modified: 2017-02-19
5-
* Version: 1.27
4+
* Last modified: 2017-07-27
5+
* Version: 1.30
66
* Project: vector classes
77
* Description:
88
* Header file defining 256-bit floating point vector classes as interface
@@ -2475,6 +2475,7 @@ static inline Vec4d permute4d(Vec4d const & a) {
24752475
r1 = _mm256_castpd128_pd256(_mm256_extractf128_pd(a,1)); break;
24762476
case 0x33: // ZZ
24772477
r1 = do_zero ? _mm256_setzero_pd() : __m256d(a); break;
2478+
default:; // Not needed. Avoid warning in Clang
24782479
}
24792480

24802481
if (s2 == s1) {
@@ -2504,6 +2505,7 @@ static inline Vec4d permute4d(Vec4d const & a) {
25042505
r2 = _mm256_castpd128_pd256(_mm256_extractf128_pd(a,1)); break;
25052506
case 0x33: // ZZ
25062507
r2 = do_zero ? _mm256_setzero_pd() : __m256d(a); break;
2508+
default:; // Not needed. Avoid warning in Clang
25072509
}
25082510
}
25092511
return _mm256_shuffle_pd(r1, r2, sm);
@@ -2729,7 +2731,7 @@ static inline Vec8f permute8f(Vec8f const & a) {
27292731
break;
27302732
case 0x01: // HL
27312733
r2 = _mm256_castps128_ps256(_mm256_extractf128_ps(a,1));
2732-
r2 = _mm256_insertf128_ps(r1,_mm256_castps256_ps128(a),1); break;
2734+
r2 = _mm256_insertf128_ps(r2,_mm256_castps256_ps128(a),1); break;
27332735
case 0x10: // LH
27342736
case 0x13: // ZH
27352737
case 0x30: // LZ

0 commit comments

Comments
 (0)