Linux bluetooth development
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Keith Mok <ek9852@gmail.com>
Cc: Siarhei Siamashka <siarhei.siamashka@gmail.com>,
	linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Add iwmmxt optimization for sbc for pxa series cpu
Date: Thu, 18 Nov 2010 18:53:33 +0200	[thread overview]
Message-ID: <20101118165333.GA2935@jh-x301> (raw)
In-Reply-To: <AANLkTi=rSK1zmW4kcPh7qopdZKN7mefX2RYWiBQZSacF@mail.gmail.com>

Hi Keith,

On Thu, Nov 18, 2010, Keith Mok wrote:
> Add iwmmxt optimization for sbc for pxa series cpu.
> 
> Benchmarked on ARM PXA platform:
> ===  Before (4 bands) ====
> $ time  ./sbcenc_orig  -s 4     long.au  > /dev/null
> real    0m 2.44s
> user    0m 2.39s
> sys     0m 0.05s
> ===  After (4 bands) ====
> $ time  ./sbcenc  -s 4     long.au  > /dev/null
> real    0m 1.59s
> user    0m 1.49s
> sys     0m 0.10s
> 
> ===  Before (8 bands) ====
> $ time  ./sbcenc_orig   -s 8     long.au  > /dev/null
> real    0m 4.05s
> user    0m 3.98s
> sys     0m 0.07s
> ===  After (8 bands) ====
> $ time  ./sbcenc  -s 8     long.au  > /dev/null
> real    0m 1.48s
> user    0m 1.41s
> sys     0m 0.06s
> 
> ===  Before (a2dp usage) ====
> $ time  ./sbcenc_orig   -b53 -s8 -j    long.au  > /dev/null
> real    0m 4.51s
> user    0m 4.41s
> sys     0m 0.10s
> ===  After (a2dp usage) ====
> $ time  ./sbcenc   -b53 -s8 -j    long.au  > /dev/null
> real    0m 2.05s
> user    0m 1.99s
> sys     0m 0.06s
> 
> ---
>  Makefile.am                 |    1 +
>  sbc/sbc_primitives.c        |    4 +
>  sbc/sbc_primitives_iwmmxt.c |  304 +++++++++++++++++++++++++++++++++++++++++++
>  sbc/sbc_primitives_iwmmxt.h |   42 ++++++
>  4 files changed, 351 insertions(+), 0 deletions(-)
>  create mode 100644 sbc/sbc_primitives_iwmmxt.c
>  create mode 100644 sbc/sbc_primitives_iwmmxt.h

Pushed upstream. Thanks.

Johan

      reply	other threads:[~2010-11-18 16:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11  8:05 [PATCH] Add iwmmxt optimization for sbc for pxa series cpu Keith Mok
2010-11-11 11:46 ` Siarhei Siamashka
2010-11-12  7:35   ` [PATCH v2] " Keith Mok
2010-11-12 13:22     ` Siarhei Siamashka
2010-11-15  2:46       ` [PATCH v3] " Keith Mok
2010-11-15 11:08         ` Siarhei Siamashka
2010-11-18 13:05           ` Siarhei Siamashka
2010-11-18 13:31             ` Johan Hedberg
2010-11-18 13:33             ` [PATCH] " Keith Mok
2010-11-18 16:53               ` Johan Hedberg [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=20101118165333.GA2935@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=ek9852@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=siarhei.siamashka@gmail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox