This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [committed] FIx PR 14063, change dss to be volatile


The problem in this PR was the dss was being removed but this was because
altivec_dss* was not volatile. This patch changes this.


Bootstrapped on powerpc-apple-darwin with no regressions.
Committed as pre-approved from Aldy.

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


Patch: Index: config/rs6000/altivec.md =================================================================== RCS file: /cvs/gcc/gcc/gcc/config/rs6000/altivec.md,v retrieving revision 1.19 diff -u -p -r1.19 altivec.md --- config/rs6000/altivec.md 11 May 2004 03:29:57 -0000 1.19 +++ config/rs6000/altivec.md 11 May 2004 04:17:47 -0000 @@ -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")])



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]