This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [Patch, MIPS] Modify PTR_* macros for mips32r6/mips64r6
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Steve Ellcey <sellcey at imgtec dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 19 Dec 2014 22:17:25 +0000
- Subject: Re: [Patch, MIPS] Modify PTR_* macros for mips32r6/mips64r6
- Authentication-results: sourceware.org; auth=none
- References: <045e59a8-12b8-4203-bec9-5b86ade30cab at BAMAIL02 dot ba dot imgtec dot org>
On Fri, 19 Dec 2014, Steve Ellcey wrote:
> This patch modifies some PTR_* macro definitions for mips32r6 and mips64r6.
> It uses addu/subu instructions for pointer arithmetic as these operations do
> not trap on mips32r6/mips64r6 whereas the add/sub instructions do trap.
>
> Tested with the mips32r6/mips64r6 GCC, binutils and qemu simulator.
>
> OK to checkin?
OK.
--
Joseph S. Myers
joseph@codesourcery.com