re PR target/88541 (VPCLMULQDQ 256-bit inline function unavailable with optimization...
authorJakub Jelinek <jakub@gcc.gnu.org>
Wed, 19 Dec 2018 08:31:16 +0000 (09:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 19 Dec 2018 08:31:16 +0000 (09:31 +0100)
PR target/88541
* config/i386/vpclmulqdqintrin.h (_mm256_clmulepi64_epi128): Enable
for -mavx -mvpclmulqdq rather than just for -mavx512vl -mvpclmulqdq.

* gcc.target/i386/avx-vpclmulqdq-1.c: New test.

From-SVN: r267254

gcc/ChangeLog
gcc/config/i386/vpclmulqdqintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx-vpclmulqdq-1.c [new file with mode: 0644]

index 067ff3f0a3b0af2195d3054d3c335193dce56b83..cdfab54bb9fd7af30e8cfe30621ed669218478ec 100644 (file)
@@ -1,4 +1,10 @@
-2018-12-19  Alexandre Oliva <aoliva@redhat.com>
+2018-12-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/88541
+       * config/i386/vpclmulqdqintrin.h (_mm256_clmulepi64_epi128): Enable
+       for -mavx -mvpclmulqdq rather than just for -mavx512vl -mvpclmulqdq.
+
+2018-12-19  Alexandre Oliva  <aoliva@redhat.com>
 
        PR testsuite/86153
        PR middle-end/83239
        * config/sparc/sparc.md (unspecv): Add UNSPECV_SPECULATION_BARRIER.
        (speculation_barrier): New instruction for V9.
 
-2018-12-12 Segher Boessenkool  <segher@kernel.crashing.org>
-          Iain Sandoe  <iain@sandoe.co.uk>
+2018-12-12  Segher Boessenkool  <segher@kernel.crashing.org>
+           Iain Sandoe  <iain@sandoe.co.uk>
 
        PR target/88343
        * config/rs6000/rs6000.c (save_reg_p): Do not save the picbase reg
        * doc/invoke.texi: Document mtune value.
 
 2018-11-23  Christoph Muellner  <christoph.muellner@theobroma-systems.com>
-           Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
+           Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
 
        * config/aarch64/aarch64.c (xgene1_tunings): Optimize Xgene1 tunings
        for GCC 9.
        and TREE_TYPEs of TYPE_DECLs.
        (get_odr_type): Initialize odr_vtable_hash if needed.
 
-2018-11-21  Alexandre Oliva <oliva@adacore.com>
+2018-11-21  Alexandre Oliva  <oliva@adacore.com>
 
        * final.c (compute_discriminator): Declare.  Renamed from...
        (maybe_set_discriminator): ... this.  Set and return a local.
        (ch_base::copy_headers): Run CSE on copied loop headers.
        (pass_ch_vect::process_loop_p): Simplify.
 
-2018-11-09  Alexandre Oliva <oliva@adacore.com>
+2018-11-09  Alexandre Oliva  <oliva@adacore.com>
 
        * config/i386/mingw32.h (LINK_SPEC_LARGE_ADDR_AWARE): Adjust
        for non-w64 x86_64 biarch.
 
-2018-11-09  Alexandre Oliva <aoliva@redhat.com>
+2018-11-09  Alexandre Oliva  <aoliva@redhat.com>
 
        PR rtl-optimization/86438
        * compare-elim.c (try_eliminate_compare): Use SET_SRC instead
        * tree-streamer-in.c (lto_input_ts_block_tree_pointers): Fixup
        BLOCK_ABSTRACT_ORIGIN to be the ultimate origin.
 
-2018-11-07  Alexandre Oliva <aoliva@redhat.com>
+2018-11-07  Alexandre Oliva  <aoliva@redhat.com>
 
        PR rtl-optimization/87874
        * lra.c (lra_substitute_pseudo): Do not create a subreg for
        * simplify-rtx.c (simplify_binary_operation_1): Add pattern
        matching bitfield insertion.
 
-2018-11-06  Alexandre Oliva <aoliva@redhat.com>
+2018-11-06  Alexandre Oliva  <aoliva@redhat.com>
 
        * auto-inc-dec.c: Include valtrack.h.  Improve comments.
        (reg_next_debug_use): New.
        * cfgexpand.c (pass_expand::execute): Move the call to
        finish_eh_generation in front of the call to expand_stack_alignment.
 
-2018-11-04  Venkataramanan Kumar <venkataramanan.kumar@amd.com>
+2018-11-04  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
 
        * common/config/i386/i386-common.c (processor_alias_table): Add
        znver2 entry.
        * gimple-ssa-store-merging.c (do_shift_rotate): Punt if count is
        negative or larger or equal to type's precision.
 
-2018-10-31  Alexandre Oliva <aoliva@redhat.com>
+2018-10-31  Alexandre Oliva  <aoliva@redhat.com>
 
        * opts.c (default_options_table): Do not enable
        OPT_fdelayed_branch at -Og.
        * tree-eh.c (replace_trapping_overflow): Simplify ABS_EXPR case
        using ABSU_EXPR.
 
-2018-10-31 Sameera Deshpande <sameera.deshpande@linaro.org>
+2018-10-31  Sameera Deshpande  <sameera.deshpande@linaro.org>
 
        * config/aarch64/aarch64-cores.def (saphira): Use saphira pipeline.
        * config/aarch64/aarch64.md: Include saphira.md
        * tree-vect-slp.c (vect_build_slp_tree_2): Reject any
        non-induction or reduction PHIs.
 
-2018-10-30 Sameera Deshpande <sameera.deshpande@linaro.org
+2018-10-30  Sameera Deshpande  <sameera.deshpande@linaro.org>
 
        * config/aarch64/falkor-tag-collision-avoidance.c
        (execute_tag_collision_avoidance): Call df_note_add_problem.
        (*xscmpexpqp): Add define_insn for the xscmpexqp instruction.
 
 2018-10-25  Bill Schmidt  <wschmidt@linux.ibm.com>
-           Jinsong Ji <jji@us.ibm.com>
+           Jinsong Ji  <jji@us.ibm.com>
 
        * config/rs6000/emmintrin.h (_mm_slli_epi16): Replace deprecated
        function with vec_sl.
        (_mm_srl_epi64): Likewise.
 
 2018-10-25  Bill Schmidt  <wschmidt@linux.ibm.com>
-           Jinsong Ji <jji@us.ibm.com>
+           Jinsong Ji  <jji@us.ibm.com>
 
        * gcc/config/rs6000/emmintrin.h (_mm_sll_epi16): Replace
        comparison operators with vec_cmp* for compatibility due to
        (_mm_srl_epi64): Likewise.
 
 2018-10-25  Bill Schmidt  <wschmidt@linux.ibm.com>
-           Jinsong Ji <jji@us.ibm.com>
+           Jinsong Ji  <jji@us.ibm.com>
 
        * config/rs6000/emmintrin.h (_mm_sll_epi64): Remove wrong cast.
        * config/rs6000/xmmintrin.h (_mm_min_ps): Change m's type to
        * options.texi (Deprecated): Move list to Var section.
 
 2018-10-24  Bill Schmidt  <wschmidt@linux.ibm.com>
-           Jinsong Ji <jji@us.ibm.com>
+           Jinsong Ji  <jji@us.ibm.com>
 
        * config/rs6000/emmintrin.h (_mm_cvtpd_epi32): Change deprecated
        __vector long to __vector long long.
        PR rtl-optimization/87720
        * combine.c (make_more_copies): Skip if the dest is pc_rtx.
 
-2018-10-24  Alexandre Oliva <aoliva@redhat.com>
+2018-10-24  Alexandre Oliva  <aoliva@redhat.com>
 
        * gimple-ssa-isolate-paths.c
        (find_implicit_erroneous_behavior): Do not change code if the
        * gcc.dg/tree-ssa/vrp02.c: Likewise.
        * gcc.dg/tree-ssa/cunroll-9.c: Likewise.
 
-2018-10-22  Steven Bosscher <steven@gcc.gnu.org>
+2018-10-22  Steven Bosscher  <steven@gcc.gnu.org>
        Richard Biener  <rguenther@suse.de>
 
        * bitmap.h: Update data structure documentation, including a
        * real.h (format_helper::can_represent_integral_type_p): Ditto.
        * match.pd: New pattern.
 
-2018-10-12  Alexandre Oliva <oliva@adacore.com>
+2018-10-12  Alexandre Oliva  <oliva@adacore.com>
 
        * configure.ac: Introduce --enable-large-address-aware
        to define MINGW_DEFAULT_LARGE_ADDR_AWARE.
        * real.c (build_sinatan_real): New function.
        * real.h (build_sinatan_real): Prototype.
 
-2018-10-11  Will Schmidt <will_schmidt@vnet.ibm.com>
+2018-10-11  Will Schmidt  <will_schmidt@vnet.ibm.com>
 
        * config/rs6000/rs6000.c (map_to_integral_tree_type): New helper
        function.
        * config/aarch64/aarch64.c (aarch64_layout_frame): Add assert.
 
 2018-10-01  Jeff Law  <law@redhat.com>
-           Richard Sandiford <richard.sandiford@linaro.org>
+           Richard Sandiford  <richard.sandiford@linaro.org>
            Tamar Christina  <tamar.christina@arm.com>
 
        PR target/86486
        (aarch64_expand_epilogue): Likewise and update IP regs re-use criteria.
        (aarch64_sub_sp): Add emit_move_imm optional param.
 
-2018-10-01  MCC CS <deswurstes@users.noreply.github.com>
+2018-10-01  MCC CS  <deswurstes@users.noreply.github.com>
 
        PR tree-optimization/87261
        * match.pd: Remove trailing whitespace.
        * config/darwin.h (LINK_COMMAND_SPEC): Likewise.
        * doc/invoke.texi (Link Options): Document -r.
 
-2018-09-20  Richard Biener <rguenther@suse.de>
+2018-09-20  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/87054
        * gimplify.c (gimplify_expr): Retain alignment of
        addressable lvalue in dereference.
 
-2018-09-20  Alexandre Oliva <aoliva@redhat.com>
+2018-09-20  Alexandre Oliva  <aoliva@redhat.com>
 
        PR bootstrap/87013
        * configure.ac: Check for .loc is_stmt support.
        format_string_diagnostic_t::emit_warning_n.
 
 2018-09-17  Cesar Philippidis  <cesar@codesourcery.com>
-           Bernd Schmidt <bernds_cb1@t-online.de>
+           Bernd Schmidt  <bernds_cb1@t-online.de>
 
        * config/nvptx/nvptx.md (atomic_fetch_<logic><mode>): Enable with
        SImode args.
        PR tree-optimization/86945
        * tree-cfg.c (generate_range_test): Use unsigned arithmetic.
 
-2018-08-22  Alexandre Oliva <oliva@adacore.com>
+2018-08-22  Alexandre Oliva  <oliva@adacore.com>
 
        * config/rs6000/rs6000.c (SMALL_DATA_RELOC, SMALL_DATA_REG): Add
        a comment about how uses of r2 for .sdata2 come about.
 
-2018-08-22  Alexandre Oliva <aoliva@redhat.com>
+2018-08-22  Alexandre Oliva  <aoliva@redhat.com>
 
        * tree-ssa-reassoc.c (is_reassociable_op): Fix cut&pasto.
 
        for indexed loads.
 
 2018-08-20  Nathan Sidwell  <nathan@acm.org>
-           Jeff Law <law@redhat.com>
+           Jeff Law  <law@redhat.com>
 
        * config/s390/s390-c (s390_macro_to_expand): Use cpp_macro_p.
        * config/spu/spu-c.c (spu_macro_to_expand): Likewise.
        Use fold_build2_initializer_loc in order to fold
        the expression in -frounding-math.
 
-2018-08-14  Allan Sandfeld Jensen <allan.jensen@qt.io>
+2018-08-14  Allan Sandfeld Jensen  <allan.jensen@qt.io>
 
        * config/i386/i386.c (expand_vec_perm_movs): New method matching movs
        patterns.
        * tree-vrp.c (vrp_prop::check_array_ref): Print an inform message.
        (vrp_prop::check_mem_ref): Same.
 
-2018-08-13  Liu Hao <lh_mouse@126.com>
+2018-08-13  Liu Hao  <lh_mouse@126.com>
 
        * pretty-print.c (eat_esc_sequence): Swap the foreground and
        background colors if the COMMON_LVB_REVERSE_VIDEO flag is set,
        and clear it thereafter, as it only works for DBCS.
 
-2018-08-13  Liu Hao <lh_mouse@126.com>
+2018-08-13  Liu Hao  <lh_mouse@126.com>
 
        * pretty-print.c (mingw_ansi_fputs): Do not call _close() on the
        handle returned by _get_osf_handle().
        Add support for gimple-folding of vec_pack() and vec_unpack()
        intrinsics.
 
-2018-08-13  Will Schmidt <will_schmidt@vnet.ibm.com>
+2018-08-13  Will Schmidt  <will_schmidt@vnet.ibm.com>
 
        * config/rs6000/rs6000.c (rs6000_builtin_valid_without_lhs): Add
        vec_xst variants to the list.
        * config/i386/djgpp.c (saved_debug_info_level): New static variable.
        (i386_djgpp_asm_lto_start, i386_djgpp_asm_lto_end): New functions.
 
-2018-07-31  Alexandre Oliva <oliva@adacore.com>
+2018-07-31  Alexandre Oliva  <oliva@adacore.com>
 
        * gimple-streamer-in.c (input_bb): Restore BB discriminator.
        * gimple-streamer-out.c (output_bb): Save it.
        * optinfo.h: New file.
 
 2018-07-19  Michael Collison  <michael.collison@arm.com>
-           Richard Henderson <rth@redhat.com>
+           Richard Henderson  <rth@redhat.com>
 
        * config/aarch64/aarch64.md (subv<GPI>4, usubv<GPI>4): New patterns.
        (subti): Handle op1 zero.
        (*sub<GPI>3_carryinCV_z2, *sub<GPI>3_carryinCV): New.
 
 2018-07-19  Michael Collison  <michael.collison@arm.com>
-           Richard Henderson <rth@redhat.com>
+           Richard Henderson  <rth@redhat.com>
 
        * config/aarch64/aarch64.md: (addv<GPI>4, uaddv<GPI>4): New.
        (addti3): Create simpler code if low part is already known to be 0.
        (*add<mode>3_carryinV): Ditto.
 
 2018-07-19  Michael Collison  <michael.collison@arm.com>
-           Richard Henderson <rth@redhat.com>
+           Richard Henderson  <rth@redhat.com>
 
        * config/aarch64/aarch64-modes.def (CC_V): New.
        * config/aarch64/aarch64-protos.h
        * fold-const.c (fold_convertible_p): Pointer extension
        isn't valid.
 
-2018-06-26  Alexandre Oliva <aoliva@redhat.com>
+2018-06-26  Alexandre Oliva  <aoliva@redhat.com>
 
        PR debug/86064
        * dwarf2out.c (loc_list_has_views): Adjust comments.
        behavior of vec_packsu (vector unsigned long long, vector unsigned
        long long) to match behavior of vec_packs with same signature.
 
-2018-06-20  Chung-Lin Tang <cltang@codesourcery.com>
-           Thomas Schwinge <thomas@codesourcery.com>
+2018-06-20  Chung-Lin Tang  <cltang@codesourcery.com>
+           Thomas Schwinge  <thomas@codesourcery.com>
            Cesar Philippidis  <cesar@codesourcery.com>
 
        * gimplify.c (gimplify_scan_omp_clauses): Add support for
        * config/arc/arc.c (atomic_exchangesi): EX instruction is default
        for ARC700 and ARCv2.
 
-2018-06-13  Chenghua Xu <paul.hua.gm@gmail.com>
+2018-06-13  Chenghua Xu  <paul.hua.gm@gmail.com>
 
        PR target/86076
        * config/mips/loongson.md (vec_setv4hi): Gen_lowpart for
        * PR tree-optimization/86083
        * tree-ssa-strlen.c (handle_char_store): Use tree_expr_nonzero_p.
 
-2018-06-11  Zhouyi Zhou <zhouzhouyi@gmail.com>
+2018-06-11  Zhouyi Zhou  <zhouzhouyi@gmail.com>
 
        * tree-eh.c (lower_eh_constructs_2): Add a comma to comment.
 
        (*fix_to_zero_extenddfdi2): New pattern.
        * gcc.target/aarch64/fix_extend1.c: New testcase.
 
-2018-05-31  Qing Zhao <qing.zhao@oracle.com>
+2018-05-31  Qing Zhao  <qing.zhao@oracle.com>
 
        PR middle-end/78809
        PR middle-end/83026
        * omp-low.c (lower_omp_target): Avoid reference-type processing
        on pointers for firstprivate clause.
 
-2018-05-31  Sameera Deshpande <sameera.deshpande@linaro.org>
+2018-05-31  Sameera Deshpande  <sameera.deshpande@linaro.org>
 
        * config/aarch64/aarch64-simd-builtins.def (ld1x3): New.
        (st1x2): Likewise.
        (expand_builtin_stpcpy): Call it, and call maybe_warn_nonstring_arg
        only if the former succeeds.
 
-2018-05-31  Sameera Deshpande <sameera.deshpande@linaro.org>
+2018-05-31  Sameera Deshpande  <sameera.deshpande@linaro.org>
 
        * config/aarch64/aarch64-cores.def (saphira) : Add support for ARMv8.4
        in saphira.
        * config/aarch64/arm_neon.h: Likewise.
        * config/aarch64/iterators.md (VQ_I): New.
 
-2018-05-21  Alexey Brodkin <abrodkin@synopsys.com>
+2018-05-21  Alexey Brodkin  <abrodkin@synopsys.com>
 
        * config.gcc: Add arc/t-multilib-linux to tmake_file for
        arc*-*-linux*.
        (nds32_expand_unaligned_load): Refine.
        (nds32_expand_unaligned_store): Refine.
 
-2018-05-19  Kuan-Lin Chen <kuanlinchentw@gmail.com>
+2018-05-19  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
            Chung-Ju Wu  <jasonwucj@gmail.com>
 
        * config/nds32/constants.md: Add TP_REGNUM constant.
        * config/nds32/nds32-predicates.c (const_vector_to_hwint): Use machine
        mode with E_ prefix.
 
-2018-05-19  Kuan-Lin Chen <kuanlinchentw@gmail.com>
+2018-05-19  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
            Chung-Ju Wu  <jasonwucj@gmail.com>
 
        * config/nds32/constants.md (unspec_element): Add UNSPEC_ICT.
 
 2018-05-18  Kito Cheng  <kito.cheng@gmail.com>
            Monk Chiang  <sh.chiang04@gmail.com>
-           Jim Wilson <jimw@sifive.com>
+           Jim Wilson  <jimw@sifive.com>
 
        * common/config/riscv/riscv-common.c (riscv_parse_arch_string):
        Add support to parse rv32e*.  Clear MASK_RVE for rv32i and rv64i.
        * doc/invoke.texi (-fdebug-types-section): Fix grammar.
 
 2018-04-30  Nathan Sidwell  <nathan@acm.org>
-           Sandra Loosemore <sandra@codesourcery.com>
+           Sandra Loosemore  <sandra@codesourcery.com>
 
        * dumpfile.c (dump_open): Allow '-' for stdout.
        * doc/invoke.texi (Developer Options): Document dump filename
        (nvptx_single): Use needs_neutering_p to skip over insns that do not
        need neutering.
 
-2018-04-26  Richard Biener <rguenther@suse.de>
+2018-04-26  Richard Biener  <rguenther@suse.de>
            Tom de Vries  <tom@codesourcery.com>
 
        PR lto/85422
        * doc/invoke.texi: Remove -mibt.  Document __CET__.  Document
        -mcet as an alias for -mshstk.
 
-2018-04-20  Richard Biener <rguenther@suse.de>
+2018-04-20  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/85475
        * match.pd ((X * CST) * Y -> (X * Y) * CST): Avoid exponential
        * config/nds32/nds32.h (nds32_builtins): Likewise.
 
 2018-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
-       Andrew Pinski <pinsika@gcc.gnu.org>
+       Andrew Pinski  <pinsika@gcc.gnu.org>
 
        PR middle-end/82976
        * match.pd: Use constant_boolean_node of correct type instead of
        (ERDINFO, ETRACKC, ELDBC, ELDUC): New leaves.
 
 2018-03-15  David Malcolm  <dmalcolm@redhat.com>
-           Paul Hua <paul.hua.gm@gmail.com>
+           Paul Hua  <paul.hua.gm@gmail.com>
 
        PR c/84852
        * gcc.dg/fixits-pr84852-1.c: Fix filename in dg-regexp.
index 3d383047c3c9d29297a68b7049e106aa31c363f6..bcc9eedc366e073f86021b2d8df0f2f2f30beb2d 100644 (file)
@@ -53,9 +53,9 @@ _mm512_clmulepi64_epi128 (__m512i __A, __m512i __B, const int __C)
 #pragma GCC pop_options
 #endif /* __DISABLE_VPCLMULQDQF__ */
 
-#if !defined(__VPCLMULQDQ__) || !defined(__AVX512VL__)
+#if !defined(__VPCLMULQDQ__) || !defined(__AVX__)
 #pragma GCC push_options
-#pragma GCC target("vpclmulqdq,avx512vl")
+#pragma GCC target("vpclmulqdq,avx")
 #define __DISABLE_VPCLMULQDQ__
 #endif /* __VPCLMULQDQ__ */
 
@@ -78,6 +78,4 @@ _mm256_clmulepi64_epi128 (__m256i __A, __m256i __B, const int __C)
 #pragma GCC pop_options
 #endif /* __DISABLE_VPCLMULQDQ__ */
 
-
 #endif /* _VPCLMULQDQINTRIN_H_INCLUDED */
-
index 13fc179cbfeee38ba1e228e08daecfb663ab7ee7..a0c28eff44c7ee8e231aeb21b41c1a6ea4d63d1b 100644 (file)
@@ -1,9 +1,12 @@
 2018-12-19  Jakub Jelinek  <jakub@redhat.com>
 
+       PR target/88541
+       * gcc.target/i386/avx-vpclmulqdq-1.c: New test.
+
        PR c++/87934
        * g++.dg/cpp0x/constexpr-87934.C: New test.
 
-2018-12-19  Alexandre Oliva <aoliva@redhat.com>
+2018-12-19  Alexandre Oliva  <aoliva@redhat.com>
 
        PR testsuite/86153
        PR middle-end/83239
        PR tree-optimization/87096
        * gcc.dg/tree-ssa/builtin-snprintf-4.c: New test.
 
-2018-12-14  Alexandre Oliva <aoliva@redhat.com>
+2018-12-14  Alexandre Oliva  <aoliva@redhat.com>
 
        PR c++/87814
        * g++.dg/cpp1z/pr87814.C: New.
        * gfortran.dg/goacc/classify-routine.f95: Likewise.
        * gfortran.dg/goacc/kernels-loop-inner.f95: Likewise.
 
-2018-12-14  Alexandre Oliva <aoliva@redhat.com>
+2018-12-14  Alexandre Oliva  <aoliva@redhat.com>
 
        PR c++/86823
        * g++.dg/pr86823.C: New.
        PR sanitizer/88333
        * c-c++-common/asan/pr88333.c: New test.
 
-2018-12-05  Alexandre Oliva <aoliva@redhat.com>
+2018-12-05  Alexandre Oliva  <aoliva@redhat.com>
 
        PR c++/85569
        * g++.dg/cpp1z/pr85569.C: New.
        gnat.dg/overload2_q.ads: New testcase.
 
 2018-12-03  Fritz Reese  <fritzoreese@gmail.com>
-            Mark Eggleston <mark.eggleston@codethink.co.uk>
+            Mark Eggleston  <mark.eggleston@codethink.co.uk>
 
        PR fortran/87919
        * gfortran.dg/array_temporaries_5.f90: New test.
        PR tree-optimization/87621
        * g++.dg/vect/pr87621.cc: New testcase.
 
-2018-11-09  Alexandre Oliva <aoliva@redhat.com>
+2018-11-09  Alexandre Oliva  <aoliva@redhat.com>
 
        PR rtl-optimization/86438
        * gcc.dg/torture/pr86438.c: New.
        * g++.dg/lto/pr87906_0.C: New testcase.
        * g++.dg/lto/pr87906_1.C: Likewise.
 
-2018-11-07  Alexandre Oliva <aoliva@redhat.com>
+2018-11-07  Alexandre Oliva  <aoliva@redhat.com>
 
        PR rtl-optimization/87874
        * gcc.dg/pr87874.c: New.
        PR fortran/87597
        * gfortran.dg/inline_matmul_24.f90: New.
 
-2018-10-12  Tobias Burnus <burnus@net-b.de>
+2018-10-12  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/58787
        * gfortran.dg/goacc/pr77765.f90: Modify dg-error.
        * gcc.target/powerpc/fold-vec-mergeeo-int.c: New.
        * gcc.target/powerpc/fold-vec-mergeeo-longlong.c: New.
 
-2018-10-11  Tobias Burnus <burnus@net-b.de>
+2018-10-11  Tobias Burnus  <burnus@net-b.de>
 
        Revert:
-       2018-10-09  Tobias Burnus <burnus@net-b.de>
+       2018-10-09  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/83522
        * gfortran.dg/actual_array_substr_1.f90: Add dg-error,
        * gcc.target/powerpc/sse3-movddup.c: New file.
        * gcc.target/powerpc/pr37191.c: New file.
 
-2018-10-09  Tobias Burnus <burnus@net-b.de>
+2018-10-09  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/83522
        * gfortran.dg/actual_array_substr_1.f90: Add dg-error,
        * gcc.target/aarch64/sve/struct_vect_24_run.c: New test.
 
 2018-10-01  Jeff Law  <law@redhat.com>
-           Richard Sandiford <richard.sandiford@linaro.org>
+           Richard Sandiford  <richard.sandiford@linaro.org>
            Tamar Christina  <tamar.christina@arm.com>
 
        PR target/86486
        check_effective_target_got32x_reloc,
        check_effective_target_tls_get_addr_via_got): Use new caching.
 
-2018-10-01  MCC CS <deswurstes@users.noreply.github.com>
+2018-10-01  MCC CS  <deswurstes@users.noreply.github.com>
 
        PR tree-optimization/87261
        * gcc.dg/pr87261.c: New test.
        * gcc.dg/warn-stpcpy-no-nul.c: Drop unnecessary xfails.
        * gcc.dg/warn-stplen-no-nul.c: Likewise.
 
-2018-09-25  Alexandre Oliva <oliva@adacore.com>
+2018-09-25  Alexandre Oliva  <oliva@adacore.com>
 
        * gnat.dg/dinst.adb: Adjust for locviews.
 
        PR sanitizer/85774
        * g++.dg/asan/pr85774.C: New test.
 
-2018-09-24  Alexandre Oliva <oliva@adacore.com>
+2018-09-24  Alexandre Oliva  <oliva@adacore.com>
 
        PR middle-end/87054
        * gcc.dg/pr87054.c: Adjust for no __int128 on x86.
        * gfortran.dg/lto/20091016-1_0.f90: Likewise.
        * gfortran.dg/lto/pr79108_0.f90: Likewise.
 
-2018-09-20  Alexandre Oliva <oliva@adacore.com>
+2018-09-20  Alexandre Oliva  <oliva@adacore.com>
 
        PR middle-end/87054
        * gcc.dg/pr87054.c: New.
        functions.
 
 2018-09-17  Cesar Philippidis  <cesar@codesourcery.com>
-           Bernd Schmidt <bernds_cb1@t-online.de>
+           Bernd Schmidt  <bernds_cb1@t-online.de>
 
        * gcc.target/nvptx/atomic-fetch-2.c: Rename to ...
        * gcc.target/nvptx/atomic_fetch-2.c: ... this.
        * gfortran.dg/nan_1.f90: Remove tests that test MAX/MIN with NaNs.
 
 2018-08-21  Nicolas Koenig  <koenigni@gcc.gnu.org>
-       Thomas Koenig <tkoenig@gcc.gnu.org>
+       Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR fortran/25829
        * gfortran.dg/f2003_inquire_1.f03: Add write statement.
 
        * gcc.target/aarch64/imm_choice_comparison.c: New test.
 
-2018-08-16  Iain Sandoe <iain@sandoe.co.uk>
+2018-08-16  Iain Sandoe  <iain@sandoe.co.uk>
 
        * gcc.dg/memcmp-1.c (lib_memcmp): Apply __USER_LABEL_PREFIX__.
        (lib_strncmp): Likewise.
 
-2018-08-16  Iain Sandoe <iain@sandoe.co.uk>
+2018-08-16  Iain Sandoe  <iain@sandoe.co.uk>
 
        * c-c++-common/asan/pointer-subtract-3.c: Skip for Darwin.
        * c-c++-common/asan/pointer-subtract-4.c: Likewise.
        * g++.dg/torture/pr44295.C : Likewise.
 
-2018-08-16  Iain Sandoe <iain@sandoe.co.uk>
+2018-08-16  Iain Sandoe  <iain@sandoe.co.uk>
 
        PR testsuite/78544
        * gcc.dg/tree-prof/section-attr-1.c: Add Darwin-specific section
        * lib/multiline.exp (proc _build_multiline_regex): Remove
        special-case handling of lines with trailing '|'.
 
-2018-08-15  Qing Zhao <qing.zhao@oracle.com>
+2018-08-15  Qing Zhao  <qing.zhao@oracle.com>
 
        PR testsuite/86519
        * gcc.dg/strcmpopt_6.c: Scan the assembly file instead of
 
        * g++.dg/init/goto3.C: Adjust for error instead of permerror.
 
-2018-08-14  Allan Sandfeld Jensen <allan.jensen@qt.io>
+2018-08-14  Allan Sandfeld Jensen  <allan.jensen@qt.io>
 
        * gcc.target/i386/sse2-movs.c: New test.
 
 
        Revert 'AsyncI/O patch committed'
        2018-07-25  Nicolas Koenig  <koenigni@gcc.gnu.org>
-               Thomas Koenig <tkoenig@gcc.gnu.org>
+                   Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR fortran/25829
        * gfortran.dg/f2003_inquire_1.f03: Add write statement.
        ignored by the test harness.
 
 2018-07-25  Nicolas Koenig  <koenigni@gcc.gnu.org>
-       Thomas Koenig <tkoenig@gcc.gnu.org>
+           Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR fortran/25829
        * gfortran.dg/f2003_inquire_1.f03: Add write statement.
        * gcc.dg/Warray-bounds-32.c: New test.
 
 2018-07-19  Michael Collison  <michael.collison@arm.com>
-           Richard Henderson <rth@redhat.com>
+           Richard Henderson  <rth@redhat.com>
 
        * gcc.target/aarch64/builtin_sadd_128.c: New testcase.
        * gcc.target/aarch64/builtin_saddl.c: New testcase.
        * gcc.dg/cpp/pr61854-4.c (foo): Likewise.
        * gcc.dg/cpp/pr61854-8.c: New test.
 
-2018-07-17  David Edelsohn <dje.gcc@gmail.com>
+2018-07-17  David Edelsohn  <dje.gcc@gmail.com>
 
        * gcc.target/powerpc/pr85456.c: Require longdouble128.
 
        * gcc.target/powerpc/fold-vec-unpack-pixel.c: New.
        * gcc.target/powerpc/fold-vec-unpack-short.c: New.
 
-2018-07-17  David Edelsohn <dje.gcc@gmail.com>
+2018-07-17  David Edelsohn  <dje.gcc@gmail.com>
 
        * gcc.target/powerpc/pr57150.c: Require longdouble128.
        * gcc.target/powerpc/pr79916.c: Require dfp.
        PR middle-end/86271
        * gcc.dg/pr86271.c: New testcase.
 
-2018-06-26  Alexandre Oliva <aoliva@redhat.com>
+2018-06-26  Alexandre Oliva  <aoliva@redhat.com>
 
        PR debug/86064
        * gcc.dg/pr86064.c: New.
        * g++.dg/concepts/decl-diagnose.C: Likewise.
        * g++.dg/warn/main-2.C: Update.
 
-2018-06-20  Chung-Lin Tang <cltang@codesourcery.com>
-           Thomas Schwinge <thomas@codesourcery.com>
+2018-06-20  Chung-Lin Tang  <cltang@codesourcery.com>
+           Thomas Schwinge  <thomas@codesourcery.com>
            Cesar Philippidis  <cesar@codesourcery.com>
 
        * c-c++-common/goacc/declare-1.c: Update test case to utilize OpenACC
        PR ipa/85960
        * gcc.dg/ipa/ipa-pta-19.c: New testcase.
 
-2018-05-31  Qing Zhao <qing.zhao@oracle.com>
+2018-05-31  Qing Zhao  <qing.zhao@oracle.com>
 
        PR middle-end/78809
        * gcc.dg/strcmpopt_2.c: New test.
        * gcc.target/i386/pr85044.c (dg-options): Remove -mibt.
        * gcc.target/i386/sse-26.c (dg-options): Remove -mno-ibt.
 
-2018-04-20  Richard Biener <rguenther@suse.de>
+2018-04-20  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/85475
        * gcc.dg/torture/pr85475.c: New testcase.
        * g++.dg/ext/pr85329.C: New test.
        * gcc.target/i386/mvc12.c: New test.
 
-2018-04-16  Alexandre Oliva <aoliva@redhat.com>
+2018-04-16  Alexandre Oliva  <aoliva@redhat.com>
 
        PR c++/85039
        * g++.dg/pr85039-1.C: New.
        PR target/85193
        * gcc.target/i386/pr85193.c: New test.
 
-2018-04-05  Alexandre Oliva <aoliva@redhat.com>
+2018-04-05  Alexandre Oliva  <aoliva@redhat.com>
 
        PR c++/84979
        * g++.dg/concepts/pr84979.C: New.
        PR tree-optimization/85168
        * gcc.dg/torture/pr85168.c: New testcase.
 
-2018-04-04  Alexandre Oliva <aoliva@redhat.com>
+2018-04-04  Alexandre Oliva  <aoliva@redhat.com>
 
        PR c++/84943
        * g++.dg/pr84943.C: New.
        * gfortran.dg/parameter_array_format.f90: New test.
 
 2018-03-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
-       Neil Carlson <neil.n.carlson@gmail.com>
+           Neil Carlson  <neil.n.carlson@gmail.com>
 
        PR fortran/84381
        * gfortran.dg/literal_character_constant_1.inc: Replace
        call abort by STOP n.
        * gfortran.dg/overload_1.f90: Likewise.
 
-2018-03-25  Seth Johnson <johnsonsr@ornl.gov>
-       Dominique d'Humieres  <dominiq@gcc.gnu.org>
+2018-03-25  Seth Johnson  <johnsonsr@ornl.gov>
+           Dominique d'Humieres  <dominiq@gcc.gnu.org>
 
        PR fortran/84924
        * gfortran.dg/scalar_pointer_1.f90: New test.
        PR c++/84434
        * g++.dg/template/pr84434.C: New.
 
-2018-03-01  Thomas Preud'homme  <thomas.preudhomme@arm.com
+2018-03-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>
 
        * gcc.target/arm/copysign_softfloat_1.c: Remove dg-add-options and add
        -mthumb to the command-line.
diff --git a/gcc/testsuite/gcc.target/i386/avx-vpclmulqdq-1.c b/gcc/testsuite/gcc.target/i386/avx-vpclmulqdq-1.c
new file mode 100644 (file)
index 0000000..1041172
--- /dev/null
@@ -0,0 +1,10 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -mavx -mvpclmulqdq" } */
+
+#include <x86intrin.h>
+
+__m256i
+foo (__m256i x, __m256i y)
+{
+  return _mm256_clmulepi64_epi128 (x, y, 0);
+}