From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99079 invoked by alias); 11 Sep 2015 03:19:10 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 98595 invoked by uid 89); 11 Sep 2015 03:19:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 11 Sep 2015 03:19:08 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 305BA91DBD; Fri, 11 Sep 2015 03:19:07 +0000 (UTC) Received: from greed.delorie.com ([10.3.113.9]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t8B3J6cf030113 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 10 Sep 2015 23:19:06 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.14.4/8.14.4) with ESMTP id t8B3J5Zf017953; Thu, 10 Sep 2015 23:19:05 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.4/8.14.4/Submit) id t8B3J4SF017950; Thu, 10 Sep 2015 23:19:04 -0400 Date: Fri, 11 Sep 2015 03:24:00 -0000 Message-Id: <201509110319.t8B3J4SF017950@greed.delorie.com> From: DJ Delorie To: Kaushik Phatak CC: gcc-patches@gcc.gnu.org, nickc@redhat.com In-reply-to: (message from Kaushik Phatak on Fri, 21 Aug 2015 05:29:17 +0000) Subject: Re: [PATCH: RL78] libgcc fixes for divmodsi, divmodhi and divmodqi References: X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00761.txt.bz2 > 2015-08-21 Kaushik Phatak > > * config/rl78/divmodqi.S: Return 0x00 by default for div by 0. > * config/rl78/divmodsi.S: Update return register to r8. > * config/rl78/divmodhi.S: Update return register to r8,r9. > Branch to main_loop_done_himode to pop registers before return. This is OK. Thanks! Do you need someone to apply it for you?