From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15015 invoked by alias); 26 Nov 2013 11:34:59 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 15006 invoked by uid 89); 26 Nov 2013 11:34:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: multi.imgtec.com Received: from Unknown (HELO multi.imgtec.com) (194.200.65.239) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 26 Nov 2013 11:34:58 +0000 From: Matheus Almeida To: "libc-ports@sourceware.org" CC: Doug Gilmore Subject: RE: [Patch, mips]: Add support for FR=1/o32. Update implementation of setjmp/longjmp Date: Tue, 26 Nov 2013 14:52:00 -0000 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SEF-Processed: 7_3_0_01192__2013_11_26_11_34_49 X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00054.txt.bz2 Fixed typo in subject line. -----Original Message----- From: Matheus Almeida=20 Sent: 26 November 2013 11:14 To: libc-ports@sourceware.org Cc: Doug Gilmore Subject: [Patch, mips]: Add support for FR=3D1/o32. Update implemention of = setjmp/longjmp Mips allow the width of FPU registers to be controlled by specifying the FR= configuration bit: FR=3D0 -> 32-bit FPU registers FR=3D1 -> 64-bit FPU registers This can be controlled by -mfp32/-mfp64 command line options. This patch updates the definition of setjmp, longjmp and jmp_buf so that on= a call to setjmp/longjmp, all the required floating-point callee-saved reg= isters are properly saved/restored.=20 We are aware that updating the size of jmp_buf can potentially break existi= ng applications but we expect the number of applications built with FR=3D1 = mode to be very small, possibly zero. Nevertheless this should be clearly s= tated in the release notes that existing applications built with FR=3D1 (-m= fp64) need to be recompiled in order to use new versions of the library. Regards, Matheus Matheus Almeida MIPS processor IP www.imgtec.com