summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rs6000.md
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2019-07-01 20:39:52 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2019-07-01 20:39:52 +0200
commit15f0523424fcb7eac1c6219947f74d843714aea8 (patch)
tree885903596cd76d0afe3d98adb9e53f1dc2fcc013 /gcc/config/rs6000/rs6000.md
parentf98342adf9330522067172f2d9da5b82278d9a70 (diff)
rs6000.md (eh_set_lr_<mode>): Make this a parameterized name.
@eh_set_lr_<mode> * config/rs6000/rs6000.md (eh_set_lr_<mode>): Make this a parameterized name. (eh_return): Use that name. Simplify. From-SVN: r272900
Diffstat (limited to 'gcc/config/rs6000/rs6000.md')
-rw-r--r--gcc/config/rs6000/rs6000.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 56f5350210d..6470d95f191 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -13190,15 +13190,12 @@
[(use (match_operand 0 "general_operand"))]
""
{
- if (TARGET_32BIT)
- emit_insn (gen_eh_set_lr_si (operands[0]));
- else
- emit_insn (gen_eh_set_lr_di (operands[0]));
+ emit_insn (gen_eh_set_lr (Pmode, operands[0]));
DONE;
})
; We can't expand this before we know where the link register is stored.
-(define_insn_and_split "eh_set_lr_<mode>"
+(define_insn_and_split "@eh_set_lr_<mode>"
[(unspec_volatile [(match_operand:P 0 "register_operand" "r")] UNSPECV_EH_RR)
(clobber (match_scratch:P 1 "=&b"))]
""