rs6000.md ("altivec_mtvscr"): Change to unspec_volatile.

2002-05-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
        unspec_volatile.
        ("altivec_mfvscr"): Same.

From-SVN: r53246
This commit is contained in:
Aldy Hernandez 2002-05-07 02:48:06 +00:00 committed by Aldy Hernandez
parent 5a63e06940
commit 61e0b50fd7
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-05-06 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
unspec_volatile.
("altivec_mfvscr"): Same.
2002-05-06 Janis Johnson <janis187@us.ibm.com>
* rtl.h (struct rtx_def): Update comments.

View File

@ -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")])