Commit ac42ec79 by Kaz Kojima

predicates.md (sh_register_operand): Accept CONST_DOUBLE.

	* config/sh/predicates.md (sh_register_operand): Accept CONST_DOUBLE.

	* gcc.dg/tree-ssa/gen-vect-33.c: New.

From-SVN: r110203
parent 6e69121f
2006-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/predicates.md (sh_register_operand): Accept CONST_DOUBLE.
2006-01-24 David Daney <ddaney@avtrex.com>
PR java/25816
......
......@@ -614,7 +614,7 @@
;; the constant zero like a general register.
(define_predicate "sh_register_operand"
(match_code "reg,subreg,const_int")
(match_code "reg,subreg,const_int,const_double")
{
if (op == CONST0_RTX (mode) && TARGET_SHMEDIA)
return 1;
......
2006-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
* gcc.dg/tree-ssa/gen-vect-33.c: New.
2006-01-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/25835
/* Compiler generates 64-bit stores of zero for this on some targets.
Check there is no problem for such case. */
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize" } */
void
foo (float *dest, int xcount, int ycount)
{
int x, y;
for (y = 0; y < ycount; y++)
for (x = 0; x < xcount; x++)
dest[x + y] = (float) 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment