From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 7757F3856DED; Thu, 11 Aug 2022 19:19:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7757F3856DED Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #1454 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: 349b0f8ed4564fff88fc28bab0733657f2621780 X-Git-Newrev: 7c3766ccfce1b90be8facf1124303519be93e66a Message-Id: <20220811191906.7757F3856DED@sourceware.org> Date: Thu, 11 Aug 2022 19:19:06 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2022 19:19:06 -0000 https://gcc.gnu.org/g:7c3766ccfce1b90be8facf1124303519be93e66a commit 7c3766ccfce1b90be8facf1124303519be93e66a Merge: 349b0f8ed45 fc8d5dfe93e Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Wed Aug 10 10:03:11 2022 +0000 Merge #1454 1454: intrinsics: Refactor compilation of intrinsics r=CohenArthur a=CohenArthur This commit adds helpers around caching, compiling and using intrinsic functions before extending them with instructions specific to the intrinsic. We can refactor them further, but this is already a bit easier to deal with when writing new intrinsics Co-authored-by: Arthur Cohen Diff: gcc/rust/backend/rust-compile-intrinsic.cc | 406 +++++++-------------- gcc/testsuite/rust/compile/torture/intrinsics-2.rs | 22 ++ 2 files changed, 151 insertions(+), 277 deletions(-)