9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@labs.coraid.com>
To: 9fans@9fans.net
Subject: Re: [9fans] 5i floating point?
Date: Wed,  9 May 2012 10:30:48 -0400	[thread overview]
Message-ID: <8af7977ed4c3880061d6816bf2031186@coraid.com> (raw)
In-Reply-To: <CAE9W7-hWmuF5_s6=q=JVg=Gs6E0WtUs-nVUT=MRAp6QASejR-g@mail.gmail.c>

yes.  the instructions are not implemented.  unfortunately abort()
was called without flushing the output, so the error message wasn't
printed.

; diffy -c /sys/src/cmd/5i/run.c
/n/dump/2012/0509/sys/src/cmd/5i/run.c:260,265 - /sys/src/cmd/5i/run.c:260,266
  {
  	Bprint(bioout, "undefined instruction trap pc #%lux inst %.8lux class %d\n",
  		reg.r[REGPC], inst, reg.class);
+ Bflush(bioout);
  abort();
  	longjmp(errjmp, 0);
  }
; 5i 5.armfloat
5i
:r
undefined instruction trap pc #102c inst ed9b0100 class 92
5i 12535: suicide: sys: trap: fault read addr=0x0 pc=0xb2c5

- erik



       reply	other threads:[~2012-05-09 14:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAE9W7-hWmuF5_s6=q=JVg=Gs6E0WtUs-nVUT=MRAp6QASejR-g@mail.gmail.c>
2012-05-09 14:30 ` erik quanstrom [this message]
2012-05-09 14:22 Comeau At9Fans
2012-05-09 14:36 ` cinap_lenrek
2012-05-09 14:47   ` Comeau At9Fans
2012-05-09 15:11     ` David du Colombier
2012-05-09 15:24       ` Comeau At9Fans
2012-05-09 15:34         ` David du Colombier
2012-05-09 15:54           ` Comeau At9Fans
2012-05-09 16:03             ` David du Colombier
2012-05-09 18:06               ` Comeau At9Fans
2012-05-10 12:24                 ` Comeau At9Fans
2012-05-09 16:36   ` erik quanstrom
2012-05-09 17:18     ` Charles Forsyth
2012-05-14  3:34     ` Ethan Grammatikidis
2012-05-14  8:12       ` Charles Forsyth

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=8af7977ed4c3880061d6816bf2031186@coraid.com \
    --to=quanstro@labs.coraid.com \
    --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).