[sfnt] lowest gcc for vectors ( e1d0249e
) is changed to 4.7.
__builtin_shuffle() was introduced in gcc-4.7. The lowest gcc to enable vector operation is delayed from 4.6 to 4.7. * src/sfnt/pngshim.c (premultiply_data): Fix cpp-macro to enable the vector operation, to change the lowest gcc version from 4.6 to 4.7.
This commit is contained in:
parent
5ad845771a
commit
b757ddb162
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2017-09-13 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||||
|
|
||||||
|
[sfnt] lowest gcc for vectors ( e1d0249e ) is changed to 4.7.
|
||||||
|
|
||||||
|
__builtin_shuffle() was introduced in gcc-4.7. The lowest
|
||||||
|
gcc to enable vector operation is delayed from 4.6 to 4.7.
|
||||||
|
|
||||||
|
* src/sfnt/pngshim.c (premultiply_data): Fix cpp-macro to
|
||||||
|
enable the vector operation, to change the lowest gcc version
|
||||||
|
from 4.6 to 4.7.
|
||||||
|
|
||||||
2017-09-13 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
2017-09-13 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||||
|
|
||||||
[cache] Fix a possible overflow by signed integer comparison.
|
[cache] Fix a possible overflow by signed integer comparison.
|
||||||
|
|
|
@ -59,10 +59,11 @@
|
||||||
|
|
||||||
/* the `vector_size' attribute was introduced in gcc 3.1, which */
|
/* the `vector_size' attribute was introduced in gcc 3.1, which */
|
||||||
/* predates clang; the `__BYTE_ORDER__' preprocessor symbol was */
|
/* predates clang; the `__BYTE_ORDER__' preprocessor symbol was */
|
||||||
/* introduced in gcc 4.6 and clang 3.2, respectively */
|
/* introduced in gcc 4.6 and clang 3.2, respectively. */
|
||||||
|
/* __builtin_shuffle() for gcc was introduced in gcc 4.7.0. */
|
||||||
#if ( ( defined( __GNUC__ ) && \
|
#if ( ( defined( __GNUC__ ) && \
|
||||||
( ( __GNUC__ >= 5 ) || \
|
( ( __GNUC__ >= 5 ) || \
|
||||||
( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ >= 6 ) ) ) ) || \
|
( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ >= 7 ) ) ) ) || \
|
||||||
( defined( __clang__ ) && \
|
( defined( __clang__ ) && \
|
||||||
( ( __clang_major__ >= 4 ) || \
|
( ( __clang_major__ >= 4 ) || \
|
||||||
( ( __clang_major__ == 3 ) && ( __clang_minor__ >= 2 ) ) ) ) ) && \
|
( ( __clang_major__ == 3 ) && ( __clang_minor__ >= 2 ) ) ) ) ) && \
|
||||||
|
|
Loading…
Reference in New Issue