re PR target/43103 (xop-vpermil2pX tests failed)
authorUros Bizjak <uros@gcc.gnu.org>
Wed, 17 Feb 2010 10:52:41 +0000 (11:52 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 17 Feb 2010 10:52:41 +0000 (11:52 +0100)
PR target/43103
* config/i386/sse.md (xop_vpermil2<mode>3): 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
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/xop-check.h
gcc/testsuite/gcc.target/i386/xop-vpermil2pd-1.c
gcc/testsuite/gcc.target/i386/xop-vpermil2pd-256-1.c
gcc/testsuite/gcc.target/i386/xop-vpermil2ps-1.c
gcc/testsuite/gcc.target/i386/xop-vpermil2ps-256-1.c

index e486fd0..a8f3b4e 100644 (file)
@@ -1,3 +1,9 @@
+2010-02-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/43103
+       * config/i386/sse.md (xop_vpermil2<mode>3): Use avxmodesuffixf2c
+       for insn mnemonic suffix.
+
 2010-02-17  Richard Guenther  <rguenther@suse.de>
 
        * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis
@@ -18,8 +24,7 @@
 2010-02-16  Richard Guenther  <rguenther@suse.de>
 
        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  <rguenther@suse.de>
 
-       * 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 <howarth@bromo.med.uc.edu>
-            Jakub Jelinek <jakub@redhat.com>
+           Jakub Jelinek <jakub@redhat.com>
 
        PR target/42854
        * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute
        * 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  <rguenther@suse.de>
 
 
 2010-02-05  Richard Guenther  <rguenther@suse.de>
 
-       * 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  <froydnj@codesourcery.com>
 
 2010-02-03  Richard Guenther  <rguenther@suse.de>
 
        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.
 
 
        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  <amylaar@spamcop.net>
 
 2010-01-14  Richard Guenther  <rguenther@suse.de>
 
        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  <irar@il.ibm.com>
 
 2010-01-13  Richard Guenther  <rguenther@suse.de>
 
        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  <rguenther@suse.de>
 
 
        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  <baldrick@free.fr>
 
        (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  <gerald@pfeifer.com>
index 1056716..5f0aa3b 100644 (file)
           (match_operand:SI 4 "const_0_to_3_operand" "n")]
          UNSPEC_VPERMIL2))]
   "TARGET_XOP"
-  "vpermil2p<xopmodesuffixf2c>\t{%4, %3, %2, %1, %0|%0, %1, %2, %3, %4}"
+  "vpermil2p<avxmodesuffixf2c>\t{%4, %3, %2, %1, %0|%0, %1, %2, %3, %4}"
   [(set_attr "type" "sse4arg")
    (set_attr "length_immediate" "1")
    (set_attr "mode" "<MODE>")])
index 7d3f9bd..400eebe 100644 (file)
@@ -1,3 +1,12 @@
+2010-02-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       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  <jakub@redhat.com>
 
        PR debug/42918
index 2dede33..fb98c6d 100644 (file)
@@ -1,6 +1,7 @@
 #include <stdlib.h>
 
 #include "cpuid.h"
+#include "m256-check.h"
 
 static void xop_test (void);
 
index c7f0594..83cb516 100644 (file)
@@ -4,6 +4,8 @@
 
 #include "xop-check.h"
 
+#include <x86intrin.h>
+
 #ifndef ZERO_MATCH
 #define ZERO_MATCH  2
 #endif
index 90012db..ab2079a 100644 (file)
@@ -4,6 +4,8 @@
 
 #include "xop-check.h"
 
+#include <x86intrin.h>
+
 #ifndef ZERO_MATCH
 #define ZERO_MATCH 1
 #endif
index be47564..90e59ae 100644 (file)
@@ -4,6 +4,8 @@
 
 #include "xop-check.h"
 
+#include <x86intrin.h>
+
 #ifndef ZERO_MATCH
 #define ZERO_MATCH  1
 #endif
index 4a5fcc6..d458d3e 100644 (file)
@@ -4,6 +4,8 @@
 
 #include "xop-check.h"
 
+#include <x86intrin.h>
+
 #ifndef ZERO_MATCH
 #define ZERO_MATCH  3
 #endif