9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bruce Ellis <bruce.ellis@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] MIPS LE fp register ordering in MOVD
Date: Sat, 28 Dec 2013 12:47:41 +1100	[thread overview]
Message-ID: <CAJQxxw=7Jnfk6U6oYonDk9cJrgQCO4N79=Fzc3yqj3bqc53urA@mail.gmail.com> (raw)
In-Reply-To: <CACzOosCOous7AJYvPHu2Y+eMx_SUM7N+_xvb_cTnzyOy_Kbgyw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]

Vita got the good gear. Ken said something about no need for them to find
the bugs again. Halcyon days.

We used 0? for RM4700 and later the QED7000.

brucee
 On 28 Dec 2013 12:24, "cherry" <lunaria21@gmail.com> wrote:

>
>
>
> On Thu, Dec 26, 2013 at 11:32 PM, Bruce Ellis <bruce.ellis@gmail.com>wrote:
>
>> You might be able to blame the play station 2 and the two different MIPS
>> chips it had. I did two compilers. The FP was very unusual and one was LE
>> and the other BE. Inferno port worked well.
>>
>
> Thanks very much for your hint. Inferno's 0l uses fnuxi4, whereas its vl
> uses fnuxi8, just like Plan 9's. I adopted the Inferno 0l's way, and added
> one line in obj.c to set fnuxi4 for BE, as well as the corresponding debug
> output. This seems to work with both BE and LE. For BE it gives the same
> output as before.
>
> diff /sys/src/cmd/vl/asm.c ./asm.c
> 672c672
> <                     buf.dbuf[l] = cast[fnuxi8[i+4]];
> ---
> >                     buf.dbuf[l] = cast[fnuxi4[i]];
> diff /sys/src/cmd/vl/obj.c ./obj.c
> 1391a1392
> >             fnuxi4[i] = c;
> 1415a1417,1419
> >         for(i=0; i<4; i++)
> >             Bprint(&bso, "%d", fnuxi4[i]);
> >         Bprint(&bso, " ");
>
> Does this break anything? If not, I will submit a patch.
>
> Thanks,
> - cherry
>
>

[-- Attachment #2: Type: text/html, Size: 2070 bytes --]

      reply	other threads:[~2013-12-28  1:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-24 17:20 cherry
2013-12-26 23:46 ` cherry
2013-12-26 23:48   ` erik quanstrom
2013-12-27  0:25     ` cherry
2013-12-27  1:40       ` cinap_lenrek
2013-12-27  3:40         ` cherry
2013-12-30  7:12       ` Skip Tavakkolian
2013-12-27  3:41   ` cherry
2013-12-27  4:32     ` Bruce Ellis
2013-12-27  4:41       ` lucio
2013-12-27 22:32         ` Bruce Ellis
2013-12-28  1:22       ` cherry
2013-12-28  1:47         ` Bruce Ellis [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='CAJQxxw=7Jnfk6U6oYonDk9cJrgQCO4N79=Fzc3yqj3bqc53urA@mail.gmail.com' \
    --to=bruce.ellis@gmail.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).