From e3f4b0c28b823fddee6cb5757f98e63b225e67f8 Mon Sep 17 00:00:00 2001 From: "m.hayes" Date: Wed, 6 Jan 1999 03:20:44 +0000 Subject: [PATCH] * config/c4x/c4x.md (addqi3): If the destination operand is a hard register other than an extended precision register, emit addqi3_noclobber. (*addqi3_noclobber_reload): New pattern added so that reload will recognise a store of a pseudo, equivalent to the sum of the frame pointer and a constant, as an add insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24511 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 9 +++++++++ gcc/config/c4x/c4x.md | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f38848c0da..83d6683f1ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +Thu Jan 7 00:12:24 1999 Michael Hayes + + * config/c4x/c4x.md (addqi3): If the destination operand is + a hard register other than an extended precision register, + emit addqi3_noclobber. + (*addqi3_noclobber_reload): New pattern added so that reload + will recognise a store of a pseudo, equivalent to the sum + of the frame pointer and a constant, as an add insn. + Wed Jan 6 03:18:53 1999 Mark Elbrecht ,0") + (match_operand:QI 2 "src_operand" "JR,rS<>,g")))] + "reload_in_progress" + "@ + addi3\\t%2,%1,%0 + addi3\\t%2,%1,%0 + addi\\t%2,%0" + [(set_attr "type" "binary,binary,binary")]) +; Default to int16 data attr. + + (define_insn "*addqi3_carry_clobber" [(set (match_operand:QI 0 "reg_operand" "=d,?d,d,c,?c,c") (plus:QI (match_operand:QI 1 "src_operand" "%rR,rS<>,0,rR,rS<>,0") -- 2.11.0