From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 845 invoked by alias); 2 Jun 2003 12:25:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 795 invoked by alias); 2 Jun 2003 12:25:58 -0000 Date: Mon, 02 Jun 2003 12:25:00 -0000 Message-ID: <20030602122558.792.qmail@sources.redhat.com> From: "marcus@mc.pp.se" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20020430191600.6526.marcus@mc.pp.se> References: <20020430191600.6526.marcus@mc.pp.se> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/6526] [SH4] sdivsi3_i4 can clobber xd0/xd2 X-Bugzilla-Reason: CC X-SW-Source: 2003-06/txt/msg00305.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6526 ------- Additional Comments From marcus@mc.pp.se 2003-06-02 12:25 ------- Subject: Re: [SH4] sdivsi3_i4 can clobber xd0/xd2 "joern.rennecke@superh.com" writes: > If you want to change fpscr so that the change is effecitve and preserved > in and across function calls, you should use __set_fpscr. > The new value for fpscr is to be passed in r4, and it is put in fpscr, > and with appropriate modifications to the PR and SZ bit into the two > locations of __fpscr_values. Sorry, but this isn't really helpful. First, the current libgcc functions do _not_ use __fpscr_values, so using __set_fpscr won't help anyway (as you can see in the test case, which _does_ use __set_fpscr but still fails). Second, I need to use frchg for preformance reasons. // Marcus ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.