public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Siddhesh Poyarekar <sid@reserved-bit.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH 1/3] Test 64-byte alignment in memcpy benchtest
Date: Fri, 01 Apr 2016 05:48:00 -0000	[thread overview]
Message-ID: <20160401054836.GE1538@devel.intra.reserved-bit.com> (raw)
In-Reply-To: <1459442075-25158-2-git-send-email-hjl.tools@gmail.com>

On Thu, Mar 31, 2016 at 09:34:33AM -0700, H.J. Lu wrote:
> Add 64-byte alignment tests in memcpy benchtest for 64-byte vector
> registers.
> 
> OK for master?
> 
> H.J.
> --
> 	* benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
> ---
>  benchtests/bench-memcpy.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/benchtests/bench-memcpy.c b/benchtests/bench-memcpy.c
> index d942ce2..c5a7192 100644
> --- a/benchtests/bench-memcpy.c
> +++ b/benchtests/bench-memcpy.c
> @@ -149,6 +149,14 @@ test_main (void)
>        do_test (i, i, 16 * i);
>      }
>  
> +  for (i = 32; i < 64; ++i)
> +    {
> +      do_test (0, 0, 32 * i);
> +      do_test (i, 0, 32 * i);
> +      do_test (0, i, 32 * i);
> +      do_test (i, i, 32 * i);
> +    }
> +
>    do_test (0, 0, getpagesize ());
>  
>    return ret;
> -- 
> 2.5.5
> 

OK.

Siddhesh

  reply	other threads:[~2016-04-01  5:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-31 16:34 [PATCH 0/3] Add 64-byte alignment tests to memcpy/memmove/memset benchtests H.J. Lu
2016-03-31 16:34 ` [PATCH 1/3] Test 64-byte alignment in memcpy benchtest H.J. Lu
2016-04-01  5:48   ` Siddhesh Poyarekar [this message]
2016-03-31 16:34 ` [PATCH 2/3] Test 64-byte alignment in memmove benchtest H.J. Lu
2016-04-01  5:49   ` Siddhesh Poyarekar
2016-03-31 16:34 ` [PATCH 3/3] Test 64-byte alignment in memset benchtest H.J. Lu
2016-04-01  5:49   ` Siddhesh Poyarekar

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=20160401054836.GE1538@devel.intra.reserved-bit.com \
    --to=sid@reserved-bit.com \
    --cc=hjl.tools@gmail.com \
    --cc=libc-alpha@sourceware.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).