stormy16.h (IRA_COVER_CLASSES): Define.
authorNick Clifton <nickc@redhat.com>
Thu, 28 Aug 2008 17:02:28 +0000 (17:02 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 28 Aug 2008 17:02:28 +0000 (17:02 +0000)
        * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Define.
        * config/stormy16/stormy16.md (zero_extendqihi2): Fix length
        attribute.

From-SVN: r139723

gcc/ChangeLog
gcc/config/stormy16/stormy16.h
gcc/config/stormy16/stormy16.md

index 6d88242ab2d7a0ed63b5d202070a1ad910578c6a..82ed6f96081291d768fb548237fe3adfa676aab5 100644 (file)
@@ -1,5 +1,9 @@
 2008-08-28  Nick Clifton  <nickc@redhat.com>
 
+       * 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.  
 
index a75a776192c1225ce698efb1931b845746428082..4cd4084a2bbf2e9733699f18e4fafb784a3992c1 100644 (file)
@@ -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",                                   \
index 1872085718cbb0c918aace973f5cf98f80707362..0c754364e74662f78cb6cce01493b4802f913db6 100644 (file)
    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)])])
 
 \f
 ;; ::::::::::::::::::::