From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id 9D47F3858D38; Tue, 13 Jun 2023 23:25:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D47F3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686698749; bh=aHPm5Jzx2sO4FiZQlAQ3OUhl3OEzezkKQg/bB5DewQI=; h=From:To:Subject:Date:From; b=qP69q8NBE+csjt3Xs8Ialhgr1LqqLVG5nrWkwjKBUtsJc+wFXtAygspQipsrVSkPN jO6KGwGmRHUtDGnyC+NAiMA8nNe1Y3c9HgW1OcA6ZbEgSR3apGtz3/k29J5GJjCvE6 2O0psSv56DOZ/ymOqv51sDDdBVXrPHtGwzHkBB7w= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Michael Meissner To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/work122)] Update ChangeLog.meissner X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/work122 X-Git-Oldrev: 4070564c15613cbb757ebb9b2debd3508458aa0c X-Git-Newrev: 1eba9b607cc94a5a32cdc66d6af24816b726a49f Message-Id: <20230613232549.9D47F3858D38@sourceware.org> Date: Tue, 13 Jun 2023 23:25:49 +0000 (GMT) List-Id: https://gcc.gnu.org/g:1eba9b607cc94a5a32cdc66d6af24816b726a49f commit 1eba9b607cc94a5a32cdc66d6af24816b726a49f Author: Michael Meissner Date: Tue Jun 13 19:25:46 2023 -0400 Update ChangeLog.meissner Diff: --- gcc/ChangeLog.meissner | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index 50cef5a69f0..c44d1349a22 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -42,29 +42,34 @@ The solution involves: 1) Don't use ds_form_mem_operand for ld and lwa, always use non_update_memory_operand. - 2) Delete ds_form_mem_operand since it is no longer use. + 2) Delete ds_form_mem_operand since it is no longer used. 3) Use the "YZ" constraints for ld/lwa instead of "m". - 4) Insure that the insn will be recognized as having a prefixed operand - (and hence the instruction length is 16 bytes instead of 8 bytes). + 4) If we don't need to sign extend the lwa, convert it to lwz, and use + cmpwi instead of cmpdi. Adjust the insn name to reflect the code + generate. - 4a) Set the prefixed and maybe_prefix attributes to know that + 5) Insure that the insn using lwa will be recognized as having a prefixed + operand (and hence the instruction length is 16 bytes instead of 8 + bytes). + + 5a) Set the prefixed and maybe_prefix attributes to know that fused_load_cmpi are also load insns; - 4b) In the case where we are just setting CC and not using the memory + 5b) In the case where we are just setting CC and not using the memory afterward, set the clobber to use a DI register, and put an explicit sign_extend operation in the split; - 4c) Set the sign_extend attribute to "yes". + 5c) Set the sign_extend attribute to "yes". - 4d) 4a-4c are the things that prefixed_load_p in rs6000.cc checks to + 5d) 5a-5c are the things that prefixed_load_p in rs6000.cc checks to ensure that lwa is treated as a ds-form instruction and not as a d-form instruction (i.e. lwz). - 5) Add a new test case for this case. + 6) Add a new test case for this case. - 6) Adjust the insn counts in fusion-p10-ldcmpi.c. Because we are no + 7) Adjust the insn counts in fusion-p10-ldcmpi.c. Because we are no longer using ds_form_mem_operand, the ld and lwa instructions will fuse x-form (reg+reg) addresses in addition ds-form (reg+offset or reg).