]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2002-05-06 Aldy Hernandez <aldyh@redhat.com>
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 May 2002 02:48:06 +0000 (02:48 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 May 2002 02:48:06 +0000 (02:48 +0000)
        * 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

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

index 5eee1e5ada7ee7a8a4f3ae141c465d2cc279fcd6..c13d5e7116d13da7c09658ce2e8bc1b49e858c3b 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 071af2014fc6aa6691771723c8334a00282e13ac..7b2cd6e7163a721aeb675491278279587f9624ea 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")])