From b5e33e042a92c4f005bb7ae62c833c52410140d0 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 17 Feb 2010 11:52:41 +0100 Subject: [PATCH] re PR target/43103 (xop-vpermil2pX tests failed) PR target/43103 * config/i386/sse.md (xop_vpermil23): Use avxmodesuffixf2c for insn mnemonic suffix. testsuite/ChangeLog: PR target/43103 * gcc.target/i386/xop-check.h: Include m256-check.h. * gcc.target/i386/xop-vpermil2ps-1.c: Include x86intrin.h. * gcc.target/i386/xop-vpermil2ps-256-1.c: Ditto. * gcc.target/i386/xop-vpermil2pd-1.c: Ditto. * gcc.target/i386/xop-vpermil2pd-256-1.c: Ditto. From-SVN: r156827 --- gcc/ChangeLog | 47 ++++++++++------------ gcc/config/i386/sse.md | 2 +- gcc/testsuite/ChangeLog | 9 +++++ gcc/testsuite/gcc.target/i386/xop-check.h | 1 + gcc/testsuite/gcc.target/i386/xop-vpermil2pd-1.c | 2 + .../gcc.target/i386/xop-vpermil2pd-256-1.c | 2 + gcc/testsuite/gcc.target/i386/xop-vpermil2ps-1.c | 2 + .../gcc.target/i386/xop-vpermil2ps-256-1.c | 2 + 8 files changed, 40 insertions(+), 27 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e486fd0..a8f3b4e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-02-17 Uros Bizjak + + PR target/43103 + * config/i386/sse.md (xop_vpermil23): Use avxmodesuffixf2c + for insn mnemonic suffix. + 2010-02-17 Richard Guenther * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis @@ -18,8 +24,7 @@ 2010-02-16 Richard Guenther PR tree-optimization/41043 - * tree-vrp.c (vrp_var_may_overflow): Only ask SCEV for - real loops. + * tree-vrp.c (vrp_var_may_overflow): Only ask SCEV for real loops. (vrp_visit_assignment_or_call): Do not ask SCEV for regular statements ... (vrp_visit_phi_node): ... but only for loop PHI nodes. @@ -34,8 +39,7 @@ 2010-02-16 Richard Guenther - * alias.c (memrefs_conflict_p): Distinguish must-alias from - don't know. + * alias.c (memrefs_conflict_p): Distinguish must-alias from don't know. (true_dependence): If memrefs_conflict_p computes must-alias trust it. Move TBAA check after offset-based disambiguation. (canon_true_dependence): Likewise. @@ -54,7 +58,7 @@ * Makefile.in (var-tracking.o): Adjust dependencies. 2010-02-16 Jack Howarth - Jakub Jelinek + Jakub Jelinek PR target/42854 * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute @@ -113,11 +117,10 @@ * config/h8300/h8300.c: (h8300_push_pop): Use bool type for boolean parameters. Use emit_jump_insn when emitting a pop instruction containing a return insn. - (push): Use 'true' rather than '1' as second parameter to F. - (h8300_expand_prologue): Likewise. - Use 'true' and 'false' for boolean parameters to - h8300_push_pop. - (h8300_expand_epilogue): Likewise. + (push): Use 'true' rather than '1' as second parameter to F. + (h8300_expand_prologue): Likewise. + Use 'true' and 'false' for boolean parameters to h8300_push_pop. + (h8300_expand_epilogue): Likewise. 2010-02-15 Richard Guenther @@ -411,15 +414,13 @@ 2010-02-05 Richard Guenther - * tree-ssa-ccp.c (get_symbol_constant_value): Strip all - conversions. + * tree-ssa-ccp.c (get_symbol_constant_value): Strip all conversions. (fold_const_aggregate_ref): Likewise. (ccp_fold_stmt): Substitute loads. (maybe_fold_reference): Verify types before substituting. Unshare properly. (fold_gimple_assign): Unshare properly. - (fold_stmt_1): Insert conversion if necessary before replacing - the RHS. + (fold_stmt_1): Insert conversion if necessary before replacing the RHS. 2010-02-05 Nathan Froyd @@ -506,8 +507,7 @@ 2010-02-03 Richard Guenther PR tree-optimization/42944 - * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle - calloc. + * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle calloc. (call_may_clobber_ref_p_1): Likewise. Properly handle malloc and calloc clobbering errno. @@ -1091,8 +1091,7 @@ PR tree-optimization/42781 * tree-ssa-structalias.c (find_what_var_points_to): Skip - restrict processing only if the original variable was - artificial. + restrict processing only if the original variable was artificial. 2010-01-18 Joern Rennecke @@ -1602,8 +1601,7 @@ 2010-01-14 Richard Guenther PR lto/42665 - * gimple.c (iterative_hash_gimple_type): Avoid hashing - error_mark_node. + * gimple.c (iterative_hash_gimple_type): Avoid hashing error_mark_node. 2010-01-14 Ira Rosen @@ -1661,8 +1659,7 @@ 2010-01-13 Richard Guenther PR tree-optimization/42705 - * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after - labels. + * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after labels. 2010-01-13 Richard Guenther @@ -1955,8 +1952,7 @@ PR tree-optimization/42625 * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*, - TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body - aliases. + TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body aliases. 2010-01-07 Duncan Sands @@ -2295,8 +2291,7 @@ (BB_MAY_NOTRETURN): New. (valid_in_sets): Trapping nary operations are not valid in blocks that may not return. - (insert_into_preds_of_block): Remove check for trapping - expressions. + (insert_into_preds_of_block): Remove check for trapping expressions. (compute_avail): Compute also BB_MAY_NOTRETURN. 2010-01-03 Gerald Pfeifer diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 1056716..5f0aa3b 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -11548,7 +11548,7 @@ (match_operand:SI 4 "const_0_to_3_operand" "n")] UNSPEC_VPERMIL2))] "TARGET_XOP" - "vpermil2p\t{%4, %3, %2, %1, %0|%0, %1, %2, %3, %4}" + "vpermil2p\t{%4, %3, %2, %1, %0|%0, %1, %2, %3, %4}" [(set_attr "type" "sse4arg") (set_attr "length_immediate" "1") (set_attr "mode" "")]) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7d3f9bd..400eebe 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2010-02-17 Uros Bizjak + + PR target/43103 + * gcc.target/i386/xop-check.h: Include m256-check.h. + * gcc.target/i386/xop-vpermil2ps-1.c: Include x86intrin.h. + * gcc.target/i386/xop-vpermil2ps-256-1.c: Ditto. + * gcc.target/i386/xop-vpermil2pd-1.c: Ditto. + * gcc.target/i386/xop-vpermil2pd-256-1.c: Ditto. + 2010-02-17 Jakub Jelinek PR debug/42918 diff --git a/gcc/testsuite/gcc.target/i386/xop-check.h b/gcc/testsuite/gcc.target/i386/xop-check.h index 2dede33..fb98c6d 100644 --- a/gcc/testsuite/gcc.target/i386/xop-check.h +++ b/gcc/testsuite/gcc.target/i386/xop-check.h @@ -1,6 +1,7 @@ #include #include "cpuid.h" +#include "m256-check.h" static void xop_test (void); diff --git a/gcc/testsuite/gcc.target/i386/xop-vpermil2pd-1.c b/gcc/testsuite/gcc.target/i386/xop-vpermil2pd-1.c index c7f0594..83cb516 100644 --- a/gcc/testsuite/gcc.target/i386/xop-vpermil2pd-1.c +++ b/gcc/testsuite/gcc.target/i386/xop-vpermil2pd-1.c @@ -4,6 +4,8 @@ #include "xop-check.h" +#include + #ifndef ZERO_MATCH #define ZERO_MATCH 2 #endif diff --git a/gcc/testsuite/gcc.target/i386/xop-vpermil2pd-256-1.c b/gcc/testsuite/gcc.target/i386/xop-vpermil2pd-256-1.c index 90012db..ab2079a 100644 --- a/gcc/testsuite/gcc.target/i386/xop-vpermil2pd-256-1.c +++ b/gcc/testsuite/gcc.target/i386/xop-vpermil2pd-256-1.c @@ -4,6 +4,8 @@ #include "xop-check.h" +#include + #ifndef ZERO_MATCH #define ZERO_MATCH 1 #endif diff --git a/gcc/testsuite/gcc.target/i386/xop-vpermil2ps-1.c b/gcc/testsuite/gcc.target/i386/xop-vpermil2ps-1.c index be47564..90e59ae 100644 --- a/gcc/testsuite/gcc.target/i386/xop-vpermil2ps-1.c +++ b/gcc/testsuite/gcc.target/i386/xop-vpermil2ps-1.c @@ -4,6 +4,8 @@ #include "xop-check.h" +#include + #ifndef ZERO_MATCH #define ZERO_MATCH 1 #endif diff --git a/gcc/testsuite/gcc.target/i386/xop-vpermil2ps-256-1.c b/gcc/testsuite/gcc.target/i386/xop-vpermil2ps-256-1.c index 4a5fcc6..d458d3e 100644 --- a/gcc/testsuite/gcc.target/i386/xop-vpermil2ps-256-1.c +++ b/gcc/testsuite/gcc.target/i386/xop-vpermil2ps-256-1.c @@ -4,6 +4,8 @@ #include "xop-check.h" +#include + #ifndef ZERO_MATCH #define ZERO_MATCH 3 #endif -- 2.7.4