OSDN Git Service

* config/stormy16/stormy16.h (IRA_COVER_CLASSES): Define.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Aug 2008 17:02:28 +0000 (17:02 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Aug 2008 17:02:28 +0000 (17:02 +0000)
        * config/stormy16/stormy16.md (zero_extendqihi2): Fix length
        attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139723 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 6d88242..82ed6f9 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 a75a776..4cd4084 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 1872085..0c75436 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
 ;; ::::::::::::::::::::