diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-21 19:59:52 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-21 19:59:52 +0000 |
commit | 63bd35a7652b3d77d4a6e04924c7c365fa89589e (patch) | |
tree | 3d7aedb66e9309f17f2bf184b9ca9e6ffaf29856 | |
parent | d645609eb411cedc534570b6b266522143f65bd0 (diff) | |
download | gcc-63bd35a7652b3d77d4a6e04924c7c365fa89589e.tar.gz |
PR target/47840
* config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32.
(_mm256_insert_epi64): Use _mm_insert_epi64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170371 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 16 | ||||
-rw-r--r-- | gcc/config/i386/avxintrin.h | 4 |
2 files changed, 12 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47bca58aad1..89113ffbfd7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-02-21 Uros Bizjak <ubizjak@gmail.com> + + PR target/47840 + * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. + (_mm256_insert_epi64): Use _mm_insert_epi64. + 2011-02-21 Anatoly Sokolov <aesok@post.ru> * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. @@ -15,7 +21,7 @@ Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. (lto_input_ts_block_tree_pointers): Hook a BLOCK into the TUs context. - * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): + * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. 2011-02-20 Richard Guenther <rguenther@suse.de> @@ -23,7 +29,7 @@ PR lto/47822 * tree.c (free_lang_data_in_decl): Clean builtins from the TU decl BLOCK_VARS. - + 2011-02-19 Alexandre Oliva <aoliva@redhat.com> PR debug/47620 @@ -131,7 +137,7 @@ 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for - objc_abi == 2. + objc_abi == 2. * config/darwin.c (output_objc_section_asm_op): Added support for ABI v1 and v2. (is_objc_metadata): New. @@ -187,12 +193,10 @@ (copy_arguments_for_versioning): Drop redundant get_var_ann. * ipa-inline.c (compute_inline_parameters): Do not compute disregard_inline_limits here. - are not available. (compute_inlinable_for_current, pass_inlinable): New. (pass_inline_parameters): Require PROP_referenced_vars. * cgraphunit.c (cgraph_process_new_functions): Don't run - compute_inline_parameters explicitly unless function is in - SSA form. + compute_inline_parameters explicitly unless function is in SSA form. (cgraph_analyze_function): Set .disregard_inline_limits. * tree-sra.c (convert_callers): Compute inliner parameters only for functions already in SSA form. diff --git a/gcc/config/i386/avxintrin.h b/gcc/config/i386/avxintrin.h index 70bfce1a274..8055cc60722 100644 --- a/gcc/config/i386/avxintrin.h +++ b/gcc/config/i386/avxintrin.h @@ -737,7 +737,7 @@ extern __inline __m256i __attribute__((__gnu_inline__, __always_inline__, __arti _mm256_insert_epi32 (__m256i __X, int __D, int const __N) { __m128i __Y = _mm256_extractf128_si256 (__X, __N >> 2); - __Y = _mm_insert_epi16 (__Y, __D, __N % 4); + __Y = _mm_insert_epi32 (__Y, __D, __N % 4); return _mm256_insertf128_si256 (__X, __Y, __N >> 2); } @@ -762,7 +762,7 @@ extern __inline __m256i __attribute__((__gnu_inline__, __always_inline__, __arti _mm256_insert_epi64 (__m256i __X, int __D, int const __N) { __m128i __Y = _mm256_extractf128_si256 (__X, __N >> 1); - __Y = _mm_insert_epi16 (__Y, __D, __N % 2); + __Y = _mm_insert_epi64 (__Y, __D, __N % 2); return _mm256_insertf128_si256 (__X, __Y, __N >> 1); } #endif |