summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/dfp.md
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-21 16:21:30 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-21 16:21:30 +0000
commit00e59df9a8ecab687e53058a52de9ec6568fc753 (patch)
treea11038042e07218234e45c1da1c876bdbdf8c2d5 /gcc/config/rs6000/dfp.md
parent3f1507c5d2e6f7941727e98c58feeff7a9a70f0a (diff)
downloadgcc-00e59df9a8ecab687e53058a52de9ec6568fc753.tar.gz
Make UNSPEC/UNSPECV constants use the enum; Fix 48192; Add test case for 48053
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171247 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/dfp.md')
-rw-r--r--gcc/config/rs6000/dfp.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/rs6000/dfp.md b/gcc/config/rs6000/dfp.md
index 5ffe7fcffc7..d57ac93fbb9 100644
--- a/gcc/config/rs6000/dfp.md
+++ b/gcc/config/rs6000/dfp.md
@@ -1,5 +1,5 @@
;; Decimal Floating Point (DFP) patterns.
-;; Copyright (C) 2007, 2008, 2010
+;; Copyright (C) 2007, 2008, 2010, 2011
;; Free Software Foundation, Inc.
;; Contributed by Ben Elliston (bje@au.ibm.com) and Peter Bergner
;; (bergner@vnet.ibm.com).
@@ -24,9 +24,9 @@
;; UNSPEC usage
;;
-(define_constants
- [(UNSPEC_MOVSD_LOAD 400)
- (UNSPEC_MOVSD_STORE 401)
+(define_c_enum "unspec"
+ [UNSPEC_MOVSD_LOAD
+ UNSPEC_MOVSD_STORE
])