* MIPS R5900 support => Disabling a few I2 instructions
[not found] <20050430212229.GD30486@fxq.nl>
@ 2005-05-01 21:06 ` Doug Evans
2005-05-01 21:23 ` Doug Evans
2005-05-01 21:37 ` Thiemo Seufer
0 siblings, 2 replies; 4+ messages in thread
From: Doug Evans @ 2005-05-01 21:06 UTC (permalink / raw)
To: Ed Schouten; +Cc: Binutils Hackers
Ed Schouten writes:
> Hi everyone,
>
> The last couple of weeks I've been working on Binutils from CVS to
> support the Toshiba R5900 CPU (found in Sony's Playstation 2).
>
> The Toshiba R5900 supports the following instructions:
> - It implements almost all MIPS3 instructions, though it supports
> MIPS4's movn/movz.
> - It has a lot of instructions which allow you to do 128 bits register
> manipulations (vector rotations, etc)
> - It *doesn't* support load linked and store conditional instructions
> (ll/lld/sc/scd, MIPS2).
>
> That's why I chose to define it as a MIPS3 CPU.
>
> When I look in opcodes/mips-opc.c, I see a lot of ways to add
> instructions to a certain CPU, but I can't find a way to just disable
> ll/lld/sc/scd (I can't just say I2&!T59 or something).
>
> What would be the best way to disable ll/lld/sc/scd *only* on the MIPS
> R5900?
I'm confused by "That's why I chose to define it as a MIPS3 CPU."
That suggests all of Cygnus's work circa 1998/1999 didn't get
folded back into the FSF tree. I know the dvp stuff didn't get
folded back :-(, but the mips stuff too?
^ permalink raw reply [flat|nested] 4+ messages in thread
* MIPS R5900 support => Disabling a few I2 instructions
2005-05-01 21:06 ` MIPS R5900 support => Disabling a few I2 instructions Doug Evans
@ 2005-05-01 21:23 ` Doug Evans
2005-05-01 21:37 ` Thiemo Seufer
1 sibling, 0 replies; 4+ messages in thread
From: Doug Evans @ 2005-05-01 21:23 UTC (permalink / raw)
To: Ed Schouten; +Cc: Binutils Hackers
Doug Evans writes:
> I'm confused by "That's why I chose to define it as a MIPS3 CPU."
>
> That suggests all of Cygnus's work circa 1998/1999 didn't get
> folded back into the FSF tree. I know the dvp stuff didn't get
> folded back :-(, but the mips stuff too?
btw, ooc, and all that.
Are you using gnu-ee-2.9-990721 from
http://ps2dev.sourceforge.net/downloads.html
?
[There may be copyright issues that need to be thought through,
but I dunno.]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MIPS R5900 support => Disabling a few I2 instructions
2005-05-01 21:06 ` MIPS R5900 support => Disabling a few I2 instructions Doug Evans
2005-05-01 21:23 ` Doug Evans
@ 2005-05-01 21:37 ` Thiemo Seufer
2005-05-01 21:58 ` Daniel Jacobowitz
1 sibling, 1 reply; 4+ messages in thread
From: Thiemo Seufer @ 2005-05-01 21:37 UTC (permalink / raw)
To: Doug Evans; +Cc: Ed Schouten, Binutils Hackers
Doug Evans wrote:
[snip]
> > That's why I chose to define it as a MIPS3 CPU.
> >
> > When I look in opcodes/mips-opc.c, I see a lot of ways to add
> > instructions to a certain CPU, but I can't find a way to just disable
> > ll/lld/sc/scd (I can't just say I2&!T59 or something).
> >
> > What would be the best way to disable ll/lld/sc/scd *only* on the MIPS
> > R5900?
That's not supported, because an CPU is supposed to provide all the
instructions the ISA defines. AFAICS you should use MIPS I ISA, and
add a R5900-specific flag, so you can say e.g. I1 | EE.
> I'm confused by "That's why I chose to define it as a MIPS3 CPU."
>
> That suggests all of Cygnus's work circa 1998/1999 didn't get
> folded back into the FSF tree. I know the dvp stuff didn't get
> folded back :-(, but the mips stuff too?
There are quite a lot of patches from various embedded mips toolchains
which never found their way in the FSF tree.
Thiemo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MIPS R5900 support => Disabling a few I2 instructions
2005-05-01 21:37 ` Thiemo Seufer
@ 2005-05-01 21:58 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-05-01 21:58 UTC (permalink / raw)
To: Thiemo Seufer; +Cc: Doug Evans, Ed Schouten, Binutils Hackers
On Sun, May 01, 2005 at 11:37:22PM +0200, Thiemo Seufer wrote:
> > I'm confused by "That's why I chose to define it as a MIPS3 CPU."
> >
> > That suggests all of Cygnus's work circa 1998/1999 didn't get
> > folded back into the FSF tree. I know the dvp stuff didn't get
> > folded back :-(, but the mips stuff too?
>
> There are quite a lot of patches from various embedded mips toolchains
> which never found their way in the FSF tree.
I believe that the fact that these particular bits haven't been
contributed is mostly accidental; the thing to do is to flog Eric C.
harder until he does it :-)
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-01 21:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20050430212229.GD30486@fxq.nl>
2005-05-01 21:06 ` MIPS R5900 support => Disabling a few I2 instructions Doug Evans
2005-05-01 21:23 ` Doug Evans
2005-05-01 21:37 ` Thiemo Seufer
2005-05-01 21:58 ` Daniel Jacobowitz
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 read-only IMAP folder(s) and NNTP newsgroup(s).