From: Nick Clifton Date: Thu, 28 Aug 2008 17:02:28 +0000 (+0000) Subject: stormy16.h (IRA_COVER_CLASSES): Define. X-Git-Tag: releases/gcc-4.4.0~2828 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf7442bb5f155d6e7a1de5fe7922e7831ebefade;p=thirdparty%2Fgcc.git stormy16.h (IRA_COVER_CLASSES): Define. * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Define. * config/stormy16/stormy16.md (zero_extendqihi2): Fix length attribute. From-SVN: r139723 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d88242ab2d7..82ed6f960812 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2008-08-28 Nick Clifton + * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Define. + * config/stormy16/stormy16.md (zero_extendqihi2): Fix length + attribute. + * config/v850/v850.h (IRA_COVER_CLASSES): Define. * config/v850/v850.md (return): Remove frame size restriction. diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index a75a776192c1..4cd4084a2bbf 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -1,6 +1,6 @@ /* Xstormy16 cpu description. - Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007 - Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007, + 2008 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of GCC. @@ -198,6 +198,11 @@ enum reg_class #define N_REG_CLASSES ((int) LIM_REG_CLASSES) +#define IRA_COVER_CLASSES \ +{ \ + GENERAL_REGS, CARRY_REGS, LIM_REG_CLASSES \ +} + #define REG_CLASS_NAMES \ { \ "NO_REGS", \ diff --git a/gcc/config/stormy16/stormy16.md b/gcc/config/stormy16/stormy16.md index 1872085718cb..0c754364e746 100644 --- a/gcc/config/stormy16/stormy16.md +++ b/gcc/config/stormy16/stormy16.md @@ -265,9 +265,9 @@ mov.b %0, %1 shl %0,#8\n\tshr %0,#8" [(set_attr "psw_operand" "nop,0") - (set_attr_alternative "length" - [(const_int 2) - (const_int 4)])]) + (set_attr_alternative "length" + [(const_int 4) + (const_int 8)])]) ;; ::::::::::::::::::::