From 78f59f3e9cf21e96a4278052e0323100d40fed71 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Mon, 10 May 2004 21:22:05 -0700 Subject: [PATCH] re PR target/14063 (conditional around vec_dss() call disappears at -O2) 2004-05-11 Andrew Pinski PR target/14063 * config/rs6000/altivec.md (altivec_dssall): Change to unspec_volatile. (altivec_dss): Likewise. From-SVN: r81694 --- gcc/ChangeLog | 7 +++++++ gcc/config/rs6000/altivec.md | 4 ++-- 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 + + PR target/14063 + * config/rs6000/altivec.md (altivec_dssall): + Change to unspec_volatile. + (altivec_dss): Likewise. + 2004-05-10 Aldy Hernandez * 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")]) -- 2.7.4