mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Jaydeep Patil <Jaydeep.Patil@imgtec.com>
To: Rich Felker <dalias@libc.org>
Cc: "musl@lists.openwall.com" <musl@lists.openwall.com>
Subject: RE: [PATCH] Fix atomic_arch.h for MIPS32 R6
Date: Thu, 31 Mar 2016 05:20:54 +0000	[thread overview]
Message-ID: <BD7773622145634B952E5B54ACA8E349AA24C330@PUMAIL01.pu.imgtec.org> (raw)
In-Reply-To: <20160330152827.GR21636@brightrain.aerifal.cx>

>-----Original Message-----
>From: Rich Felker [mailto:dalias@aerifal.cx] On Behalf Of Rich Felker
>Sent: 30 March 2016 PM 08:58
>To: Jaydeep Patil
>Cc: musl@lists.openwall.com
>Subject: Re: [musl] [PATCH] Fix atomic_arch.h for MIPS32 R6
>
>On Wed, Mar 30, 2016 at 10:29:26AM -0400, Rich Felker wrote:
>> Since I've done most of the thinking about the above issues already
>> and have a patch for some of them, let me prepare a complete patch and
>> send it to the list for you to check and make sure it meets your needs
>> for r6. I should be able to prepare it very quickly. Then we can look
>> at applying the same changes to the n32 port and reviewing it.
>
>Can you see if the attached patch works for you? It not only adds r6 support
>but improves support for non-baseline (i.e. > mips1) ISA levels by optimizing
>out the unnecessary .set's (which hurt gcc's inlining, because gcc is dumb
>about them) and lifts the $3 register restriction on rdhwr for ISA levels where
>the instructions are known to be available natively.

The patch works fine. I have tried it for mips32 r2-r6, mips64 r2-r6, micromips32 r2-r5.
I have tried it with both GCC and Clang 3.9.0 compilers.

>Rich

Thanks,
Jaydeep




  reply	other threads:[~2016-03-31  5:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-21  6:03 Jaydeep Patil
2016-03-21 17:37 ` dalias
2016-03-22  4:58   ` Jaydeep Patil
2016-03-22 21:22     ` Rich Felker
2016-03-23  6:37       ` Jaydeep Patil
2016-03-23 15:03         ` Rich Felker
2016-03-28  5:07           ` Jaydeep Patil
2016-03-28 13:04             ` Rich Felker
2016-03-29  2:19               ` Rich Felker
2016-03-29  3:54               ` Jaydeep Patil
2016-03-29  4:10                 ` Rich Felker
2016-03-29  7:16                   ` Jaydeep Patil
2016-03-29 13:32                     ` Rich Felker
2016-03-30  9:45                       ` Jaydeep Patil
2016-03-30 14:29                         ` Rich Felker
2016-03-30 15:28                           ` Rich Felker
2016-03-31  5:20                             ` Jaydeep Patil [this message]
2016-03-29  3:55               ` Jaydeep Patil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BD7773622145634B952E5B54ACA8E349AA24C330@PUMAIL01.pu.imgtec.org \
    --to=jaydeep.patil@imgtec.com \
    --cc=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).