All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] Building with hard float: cannot open shared object file libpthread_rt.so.1
Date: Thu, 19 Mar 2015 21:06:57 +0100	[thread overview]
Message-ID: <20150319200657.GB6571@hermes.click-hack.org> (raw)
In-Reply-To: <20150319172615.GF25508@csclub.uwaterloo.ca>

On Thu, Mar 19, 2015 at 01:26:15PM -0400, Lennart Sorensen wrote:
> On Thu, Mar 19, 2015 at 05:48:31PM +0100, Gilles Chanteperdrix wrote:
> > 300 or 1000 instructions are executed in a very short time, not in a
> > 3 milliseconds, otherwise it would mean that each instruction takes
> > 10us or so to execute. Typically, in an ideal situation on a 1GHz
> > processor, an instruction takes 1ns to execute, that is an order of
> > magnitude smaller. So, even if the situation is not ideal, that is
> > still far from the numbers reported by Steve. 
> 
> Well apparently on the Cortex-A8 FPU instructions take 10 or more clock
> cycles to execute, versus 1 in most cases on the Cortex-A9, so 300
> instructions starts to add up.

10 cycles at 1 GHz, is still 10ns, not 10us. That is still 1/1000.

And I do not really believe the cortex a8 is 10 times slower than
the cortex a9, I have benchmarked hand optimized 12x12 matrix
multiplications using doubles (so which can not be implemented with
neon), on both omap3 at 720MHz and omap4 at 1GHz, and I do not
remember such difference between the benchmarks. Maybe A9 is 2 or 3
times faster, but not 10 times.

-- 
					    Gilles.


  reply	other threads:[~2015-03-19 20:06 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 16:19 [Xenomai] Building with hard float: cannot open shared object file libpthread_rt.so.1 Steve B
2015-03-17 18:06 ` Gilles Chanteperdrix
2015-03-17 18:33   ` Steve B
2015-03-17 18:38     ` Gilles Chanteperdrix
     [not found]       ` <CAEMXjGzZn3JWCsxAkC+dFL0tLWk_FZpsNzB=YkSHYzCS2QEKmA@mail.gmail.com>
2015-03-17 19:18         ` Gilles Chanteperdrix
2015-03-17 19:24     ` Lennart Sorensen
2015-03-17 19:57       ` Steve B
2015-03-17 20:02         ` Gilles Chanteperdrix
2015-03-17 21:34         ` Lennart Sorensen
2015-03-19  0:42           ` Steve B
2015-03-19 14:07             ` Lennart Sorensen
2015-03-19 14:40               ` Gilles Chanteperdrix
2015-03-19 15:59                 ` Lennart Sorensen
2015-03-19 16:04                   ` Gilles Chanteperdrix
2015-03-19 16:43                     ` Lennart Sorensen
2015-03-19 16:48                       ` Gilles Chanteperdrix
2015-03-19 17:26                         ` Lennart Sorensen
2015-03-19 20:06                           ` Gilles Chanteperdrix [this message]
2015-03-19 20:32                             ` Lennart Sorensen
2015-03-19 16:49                       ` Steve B
2015-03-19 16:54                         ` Gilles Chanteperdrix
2015-03-19 18:00                           ` Steve B
2015-03-19 18:05                             ` Lennart Sorensen
2015-03-19 19:00                               ` Lennart Sorensen
2015-03-19 19:12                                 ` Steve B
2015-03-19 19:24                                   ` Lennart Sorensen
2015-03-19 20:33                                     ` Lennart Sorensen
2015-03-20 13:58                                       ` Lennart Sorensen
2015-03-19 20:03                             ` Gilles Chanteperdrix
2015-03-19 21:22                               ` Gilles Chanteperdrix
2015-03-19 21:29                                 ` Gilles Chanteperdrix
2015-03-19 17:48                         ` Lennart Sorensen

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=20150319200657.GB6571@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.