summaryrefslogtreecommitdiff
path: root/gcc/config/stormy16
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-28 17:02:28 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-28 17:02:28 +0000
commite718ca67317864e6765b08061188ed7e2273e438 (patch)
treee59c76bc2806229693fb224f3e95e5a405460d3d /gcc/config/stormy16
parent10f50d750926f711c863b669f1dfce93ac73f713 (diff)
downloadgcc-e718ca67317864e6765b08061188ed7e2273e438.tar.gz
* config/stormy16/stormy16.h (IRA_COVER_CLASSES): Define.
* 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
Diffstat (limited to 'gcc/config/stormy16')
-rw-r--r--gcc/config/stormy16/stormy16.h9
-rw-r--r--gcc/config/stormy16/stormy16.md6
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h
index a75a776192c..4cd4084a2bb 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 1872085718c..0c754364e74 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)])])
;; ::::::::::::::::::::