summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-07 02:48:06 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-07 02:48:06 +0000
commit8d91268d34eb130ea8bf6080b7e9ff109b8871db (patch)
tree7fd509fa395f3be0fbb28eca4d475c8d79143004
parente7f75e1502da4fc0f07a193f76878efde483469a (diff)
downloadppe42-gcc-8d91268d34eb130ea8bf6080b7e9ff109b8871db.tar.gz
ppe42-gcc-8d91268d34eb130ea8bf6080b7e9ff109b8871db.zip
2002-05-06 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md ("altivec_mtvscr"): Change to unspec_volatile. ("altivec_mfvscr"): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53246 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.md4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5eee1e5ada7..c13d5e7116d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-06 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
+ unspec_volatile.
+ ("altivec_mfvscr"): Same.
+
2002-05-06 Janis Johnson <janis187@us.ibm.com>
* rtl.h (struct rtx_def): Update comments.
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 071af2014fc..7b2cd6e7163 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -15493,14 +15493,14 @@
[(set_attr "type" "veccmp")])
(define_insn "altivec_mtvscr"
- [(unspec [(match_operand:V4SI 0 "register_operand" "v")] 186)]
+ [(unspec_volatile [(match_operand:V4SI 0 "register_operand" "v")] 186)]
"TARGET_ALTIVEC"
"mtvscr %0"
[(set_attr "type" "vecsimple")])
(define_insn "altivec_mfvscr"
[(set (match_operand:V8HI 0 "register_operand" "=v")
- (unspec:V8HI [(const_int 0)] 187))]
+ (unspec_volatile:V8HI [(const_int 0)] 187))]
"TARGET_ALTIVEC"
"mfvscr %0"
[(set_attr "type" "vecsimple")])
OpenPOWER on IntegriCloud