linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: Gabriel Paubert <paubert@iram.es>
Cc: linuxppc-dev@ozlabs.org, Jeremy Kerr <jk@ozlabs.org>,
	khandual@linux.vnet.ibm.com
Subject: Re: [PATCH v4 2/2] selftests/powerpc: Add a test of the switch_endian() syscall
Date: Sat, 28 Mar 2015 21:40:02 +1100	[thread overview]
Message-ID: <1427539202.7547.0.camel@ellerman.id.au> (raw)
In-Reply-To: <20150328091705.GC4500@visitor2.iram.es>

On Sat, 2015-03-28 at 10:17 +0100, Gabriel Paubert wrote:
> On Sat, Mar 28, 2015 at 12:19:10PM +1100, Michael Ellerman wrote:
> > This adds a test of the switch_endian() syscall we added in the previous
> > commit.

...

> > +
> > +	/* r9 - r12 are clobbered */
> > +
> > +	addi	r13, r15, 13
> > +	addi	r14, r15, 14
> > +
> > +	/* Skip r15 we're using it */
> > +
> > +	addi	r16, r15, 16
> > +	addi	r16, r15, 16
> 
> Duplicate?
 
Oh god damn it.

Yes :)

Thanks for reviewing.

cheers

      reply	other threads:[~2015-03-28 10:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-28  1:19 [PATCH v4 1/2] powerpc: Add a proper syscall for switching endianness Michael Ellerman
2015-03-28  1:19 ` [PATCH v4 2/2] selftests/powerpc: Add a test of the switch_endian() syscall Michael Ellerman
2015-03-28  9:17   ` Gabriel Paubert
2015-03-28 10:40     ` Michael Ellerman [this message]

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=1427539202.7547.0.camel@ellerman.id.au \
    --to=mpe@ellerman.id.au \
    --cc=jk@ozlabs.org \
    --cc=khandual@linux.vnet.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paubert@iram.es \
    /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.
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).