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 ecabeebea4a8cb4bd4e54f6babe158dda4dc4389..2eaecd09ecba10c99bfa64298cbedfb3d5dc7300 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 83944b8925b27c37f005e342d4d63b9b091db647..eee0d179321a62152a8db2176cb1807f459f3c67 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")])