rs6000: Rename 109 -> VRSAVE_REGNO
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 1 Sep 2016 22:27:20 +0000 (00:27 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 1 Sep 2016 22:27:20 +0000 (00:27 +0200)
* config/rs6000/altivec.md: Use VRSAVE_REGNO instead of 109 throughout.

From-SVN: r239947

gcc/ChangeLog
gcc/config/rs6000/altivec.md

index ad0e95a58187952a4117b09bd7f5017761941c4d..8183a8ade57db9e1fe6d5434f8880c2e00bab062 100644 (file)
@@ -1,3 +1,7 @@
+2016-09-01  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config/rs6000/altivec.md: Use VRSAVE_REGNO instead of 109 throughout.
+
 2016-09-01  Segher Boessenkool  <segher@kernel.crashing.org>
 
        * config/rs6000/altivec.md: Use CR6_REGNO instead of 74 throughout.
index 480e64ec5ba0a0c00982534eb1499f474697648f..335c052c990ef2e82ae4adfe20d40001a863393f 100644 (file)
 
 (define_insn "get_vrsave_internal"
   [(set (match_operand:SI 0 "register_operand" "=r")
-       (unspec:SI [(reg:SI 109)] UNSPEC_GET_VRSAVE))]
+       (unspec:SI [(reg:SI VRSAVE_REGNO)] UNSPEC_GET_VRSAVE))]
   "TARGET_ALTIVEC"
 {
   if (TARGET_MACHO)
 
 (define_insn "*set_vrsave_internal"
   [(match_parallel 0 "vrsave_operation"
-     [(set (reg:SI 109)
+     [(set (reg:SI VRSAVE_REGNO)
           (unspec_volatile:SI [(match_operand:SI 1 "register_operand" "r")
-                               (reg:SI 109)] UNSPECV_SET_VRSAVE))])]
+                               (reg:SI VRSAVE_REGNO)] UNSPECV_SET_VRSAVE))])]
   "TARGET_ALTIVEC"
 {
   if (TARGET_MACHO)