9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] 9pi + apple keyboard
Date: Sat, 26 Jan 2013 07:12:50 -0500	[thread overview]
Message-ID: <2e57f08dc5638296a1c526f518b45770@brasstown.quanstro.net> (raw)
In-Reply-To: <20130126115921.GN2324@vicerveza.homeunix.net>

> > 	; >/dev/null time factor 281476419553081
> > 	146.60u 0.01s 148.24r 	 factor 281476419553081
> > 	; >/dev/null time /sys/src/cmd/5.factor 281476419553081
> > 	1.20u 0.01s 1.22r 	 /sys/src/cmd/5.factor 281476419553081
>
> Umh how does 'factor' relate to a FPU?
> I don't have a plan9 running there, but the gnu 'factor' runs in 2.2s in
> a raspberrypi, and 0.05s in a sheevaplug, here.

factor on plan 9 uses floating point heavily.  rpi has floating point
hardware, and the sheeva plug does not.  (at least according to
the nda docs on the processor i read.)

> > (burncycles calculates the digits of pi using a taylor series
> > expansion.  it uses all the tricks in the book to generate as
> > few bits of the result per cycle possible, without being verbose,
> > obtuse, or off task.  obviously, it was an accident.
> > the very fast machines have the advantage of non-emulated
> > vlongs, running amd64 kernels)
>
> What are these emulated vlongs? Would that mean an atom computer would run
> relevantly faster i686 code over x86_64 code?

i think i said the opposite.  amd64 code heavily running vlongs
would run faster in long (64-bit) mode.  this is because since the registers
are 64-bit wide, normal 64-bit arithmatic can be computed directly
with machine instructions.  with a 32-bit machine, the compiler needs
to emulate a 64-bit operation since the registers available are not wide
enough.

(iirc, there were no atoms in 64-bit mode in the list.)

- erik



  reply	other threads:[~2013-01-26 12:12 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-22 10:31 James Chapman
2013-01-22 10:39 ` Richard Miller
2013-01-22 10:58   ` James Chapman
2013-01-22 17:02     ` a
2013-01-22 17:06       ` erik quanstrom
2013-01-22 17:45         ` Nicolas Bercher
2013-01-22 18:50           ` Aram Hăvărneanu
2013-01-23  7:46             ` Lyndon Nerenberg
2013-01-22 21:36           ` erik quanstrom
2013-01-23 10:36             ` Richard Miller
2013-01-23 10:55               ` Lluís Batlle i Rossell
2013-01-23 12:11                 ` Richard Miller
2013-01-23 15:45                   ` Nicolas Bercher
2013-01-23 15:48                     ` erik quanstrom
2013-01-23 21:10                       ` erik quanstrom
2013-01-23 22:21                         ` Richard Miller
2013-01-23 22:37                           ` erik quanstrom
2013-01-23 23:15                             ` Richard Miller
2013-01-23 23:33                             ` erik quanstrom
2013-01-24  1:37                               ` erik quanstrom
2013-01-24 10:29                                 ` Phineas Pett
2013-01-24 12:42                                   ` lucio
2013-01-24 13:06                                     ` Phineas Pett
2013-01-24 13:33                                       ` lucio
2013-01-24 13:40                                         ` Richard Miller
2013-01-24 14:55                                           ` lucio
2013-01-24 20:56                                             ` Steve Simon
2013-01-24 15:16                                   ` erik quanstrom
2013-01-26 11:59                         ` Lluís Batlle i Rossell
2013-01-26 12:12                           ` erik quanstrom [this message]
2013-01-26 13:18                             ` Lluís Batlle i Rossell
2013-01-23  8:05         ` Harri Haataja
2013-01-23 10:45           ` Richard Miller
2013-01-23 12:05     ` James Chapman

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=2e57f08dc5638296a1c526f518b45770@brasstown.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).