aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gcc.gnu.org>2004-05-10 21:22:05 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-05-10 21:22:05 -0700
commit78f59f3e9cf21e96a4278052e0323100d40fed71 (patch)
treed9a807f040e4ee9911120752a642c7ccfe987a23 /gcc
parent39302b6a85456370f201fbf1acc9fd6c3bcf6841 (diff)
downloadgcc-78f59f3e9cf21e96a4278052e0323100d40fed71.zip
gcc-78f59f3e9cf21e96a4278052e0323100d40fed71.tar.gz
gcc-78f59f3e9cf21e96a4278052e0323100d40fed71.tar.bz2
re PR target/14063 (conditional around vec_dss() call disappears at -O2)
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/rs6000/altivec.md4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ecabeeb..2eaecd0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md
index 83944b8..eee0d17 100644
--- a/gcc/config/rs6000/altivec.md
+++ b/gcc/config/rs6000/altivec.md
@@ -1823,13 +1823,13 @@
[(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")])