From: Segher Boessenkool Date: Thu, 1 Sep 2016 22:27:20 +0000 (+0200) Subject: rs6000: Rename 109 -> VRSAVE_REGNO X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95bde43a92d0a6952b0707bf817524dcf4d612af;p=gcc.git rs6000: Rename 109 -> VRSAVE_REGNO * config/rs6000/altivec.md: Use VRSAVE_REGNO instead of 109 throughout. From-SVN: r239947 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad0e95a5818..8183a8ade57 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-09-01 Segher Boessenkool + + * config/rs6000/altivec.md: Use VRSAVE_REGNO instead of 109 throughout. + 2016-09-01 Segher Boessenkool * config/rs6000/altivec.md: Use CR6_REGNO instead of 74 throughout. diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index 480e64ec5ba..335c052c990 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -371,7 +371,7 @@ (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) @@ -383,9 +383,9 @@ (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)