rs6000.md ("altivec_mtvscr"): Change to unspec_volatile.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 7 May 2002 02:48:06 +0000 (02:48 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 7 May 2002 02:48:06 +0000 (02:48 +0000)
2002-05-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
        unspec_volatile.
        ("altivec_mfvscr"): Same.

From-SVN: r53246

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index 5eee1e5..c13d5e7 100644 (file)
@@ -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.
index 071af20..7b2cd6e 100644 (file)
 [(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")])