From 61e0b50fd7a184cc5f611a0bbaceabc44fa6eb0f Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Tue, 7 May 2002 02:48:06 +0000 Subject: [PATCH] rs6000.md ("altivec_mtvscr"): Change to unspec_volatile. 2002-05-06 Aldy Hernandez * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to unspec_volatile. ("altivec_mfvscr"): Same. From-SVN: r53246 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5eee1e5ada7..c13d5e7116d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-05-06 Aldy Hernandez + + * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to + unspec_volatile. + ("altivec_mfvscr"): Same. + 2002-05-06 Janis Johnson * rtl.h (struct rtx_def): Update comments. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 071af2014fc..7b2cd6e7163 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -15493,14 +15493,14 @@ [(set_attr "type" "veccmp")]) (define_insn "altivec_mtvscr" - [(unspec [(match_operand:V4SI 0 "register_operand" "v")] 186)] + [(unspec_volatile [(match_operand:V4SI 0 "register_operand" "v")] 186)] "TARGET_ALTIVEC" "mtvscr %0" [(set_attr "type" "vecsimple")]) (define_insn "altivec_mfvscr" [(set (match_operand:V8HI 0 "register_operand" "=v") - (unspec:V8HI [(const_int 0)] 187))] + (unspec_volatile:V8HI [(const_int 0)] 187))] "TARGET_ALTIVEC" "mfvscr %0" [(set_attr "type" "vecsimple")])