re PR target/14063 (conditional around vec_dss() call disappears at -O2)
authorAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 11 May 2004 04:22:05 +0000 (21:22 -0700)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 11 May 2004 04:22:05 +0000 (21:22 -0700)
2004-05-11  Andrew Pinski  <pinskia@gcc.gnu.org>

        PR target/14063
        * config/rs6000/altivec.md (altivec_dssall):
        Change to unspec_volatile.
        (altivec_dss): Likewise.

From-SVN: r81694

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

index ecabeeb..2eaecd0 100644 (file)
@@ -1,3 +1,10 @@
+2004-05-11  Andrew Pinski  <pinskia@gcc.gnu.org>
+
+       PR target/14063
+       * config/rs6000/altivec.md (altivec_dssall):
+       Change to unspec_volatile.
+       (altivec_dss): Likewise.
+
 2004-05-10  Aldy Hernandez  <aldyh@redhat.com>
 
        * config/rs6000/altivec.md ("one_cmplv16qi2"): Change vnot to
index 83944b8..eee0d17 100644 (file)
   [(set_attr "type" "vecsimple")])
 
 (define_insn "altivec_dssall"
-  [(unspec [(const_int 0)] 188)]
+  [(unspec_volatile [(const_int 0)] 188)]
   "TARGET_ALTIVEC"
   "dssall"
   [(set_attr "type" "vecsimple")])
 
 (define_insn "altivec_dss"
-  [(unspec [(match_operand:QI 0 "immediate_operand" "i")] 189)]
+  [(unspec_volatile [(match_operand:QI 0 "immediate_operand" "i")] 189)]
   "TARGET_ALTIVEC"
   "dss %0"
   [(set_attr "type" "vecsimple")])