public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: RTEMS Patch for binutils 2.9.1
  1999-07-01  0:00   ` joel
@ 1999-07-01  0:00     ` Jeffrey A Law
  1999-07-01  0:00       ` joel
  0 siblings, 1 reply; 6+ messages in thread
From: Jeffrey A Law @ 1999-07-01  0:00 UTC (permalink / raw)
  To: joel; +Cc: Richard Henderson, binutils

  In message < Pine.LNX.4.10.9905131237110.501-100000@oar3remote >you write:
  > My understanding was that these were pretty critical instructions for an
  > OS implementation.  Doesn't one of the other open-source OSes have a need
  > for these as well?
Not really.  The only ones I ever would have found useful would be movement
to/from the shadow regs.  Hmmm, actually we may have had an assembler macro
to create mtcpu/mfcpu instructions using .word directives.  It's hard to
remember since I haven't done PA OS work in a while.

jeff

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RTEMS Patch for binutils 2.9.1
  1999-07-01  0:00 ` Richard Henderson
@ 1999-07-01  0:00   ` Jeffrey A Law
  1999-07-01  0:00   ` joel
  1 sibling, 0 replies; 6+ messages in thread
From: Jeffrey A Law @ 1999-07-01  0:00 UTC (permalink / raw)
  To: Richard Henderson; +Cc: joel, binutils

  In message < 19990513095246.A28238@cygnus.com >you write:
  > On Thu, May 13, 1999 at 08:43:30AM -0500, joel@OARcorp.com wrote:
  > > Included in this patch is one thing I am pretty sure will be rejected.
  > > The mod to opcode/hppa.h adds instructions and unless something has
  > > changed recently, knowing that these instructions exist requires having
  > > access to a manual that was restricted in some way.  Perhaps one of the
  > > HPPA folks will be able to state something more recent HPPA technical
  > > information.
  > 
  > Jeff, can I leave this bit to you?
Yea.  I'll cover this.

jfef

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RTEMS Patch for binutils 2.9.1
  1999-07-01  0:00 ` Richard Henderson
  1999-07-01  0:00   ` Jeffrey A Law
@ 1999-07-01  0:00   ` joel
  1999-07-01  0:00     ` Jeffrey A Law
  1 sibling, 1 reply; 6+ messages in thread
From: joel @ 1999-07-01  0:00 UTC (permalink / raw)
  To: Richard Henderson; +Cc: binutils, Jeffrey A. Law

On Thu, 13 May 1999, Richard Henderson wrote:

> On Thu, May 13, 1999 at 08:43:30AM -0500, joel@OARcorp.com wrote:
> > This patch does a few minor things for RTEMS targets mostly in
> > configuration files.  It also adds some RTEMS targets that are
> > either aliases or copies of existing targets with no new files.
> 
> These bits applied.
> 
> > Included in this patch is one thing I am pretty sure will be rejected.
> > The mod to opcode/hppa.h adds instructions and unless something has
> > changed recently, knowing that these instructions exist requires having
> > access to a manual that was restricted in some way.  Perhaps one of the
> > HPPA folks will be able to state something more recent HPPA technical
> > information.
> 
> Jeff, can I leave this bit to you?

My understanding was that these were pretty critical instructions for an
OS implementation.  Doesn't one of the other open-source OSes have a need
for these as well?

> 
>  	* opcode/hppa.h: Added 72000 instructions.
> 
> *** /usr1/rtems/work/original/binutils-2.9.1/include/opcode/hppa.h	Fri May  1 10:48:35 1998
> --- binutils-2.9.1/include/opcode/hppa.h	Mon Jan 25 15:16:47 1999
> ***************
> *** 370,375 ****
> --- 370,383 ----
>   { "fice",       0x040002c0, 0xfc001fdf, "Zx(b)", pa10},
>   { "diag",       0x14000000, 0xfc000000, "D", pa10},
>   
> + /* Following group is 72000 specific */
> + { "mtcpu",      0x14001600, 0xfc00ffff, "x,^"},
> + { "mfcpu",      0x14001A00, 0xfc00ffff, "^,x"},
> + { "tocen",      0x14403600, 0xffffffff, ""},
> + { "tocdis",     0x14401620, 0xffffffff, ""},
> + { "shdwgr",     0x14402600, 0xffffffff, ""},
> + { "grshdw",     0x14400620, 0xffffffff, ""},
> + 
>   /* gfw and gfr are not in the HP PA 1.1 manual, but they are in either
>      the Timex FPU or the Mustang ERS (not sure which) manual.  */
>   { "gfw",	0x04001680, 0xfc003fdf, "Zx(s,b)", pa11},
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RTEMS Patch for binutils 2.9.1
  1999-07-01  0:00     ` Jeffrey A Law
@ 1999-07-01  0:00       ` joel
  0 siblings, 0 replies; 6+ messages in thread
From: joel @ 1999-07-01  0:00 UTC (permalink / raw)
  To: law; +Cc: Richard Henderson, binutils

On Thu, 13 May 1999, Jeffrey A Law wrote:

> 
>   In message < Pine.LNX.4.10.9905131237110.501-100000@oar3remote >you write:
>   > My understanding was that these were pretty critical instructions for an
>   > OS implementation.  Doesn't one of the other open-source OSes have a need
>   > for these as well?
> Not really.  The only ones I ever would have found useful would be movement
> to/from the shadow regs.  Hmmm, actually we may have had an assembler macro
> to create mtcpu/mfcpu instructions using .word directives.  It's hard to
> remember since I haven't done PA OS work in a while.

I recall using a similar trick initially with the RTEMS PA port and then
we decided it was ugly and error prone.  It was easier to simply add the
instructions to gas. :)

--joel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RTEMS Patch for binutils 2.9.1
  1999-07-01  0:00 RTEMS Patch for binutils 2.9.1 joel
@ 1999-07-01  0:00 ` Richard Henderson
  1999-07-01  0:00   ` Jeffrey A Law
  1999-07-01  0:00   ` joel
  0 siblings, 2 replies; 6+ messages in thread
From: Richard Henderson @ 1999-07-01  0:00 UTC (permalink / raw)
  To: joel, binutils; +Cc: Jeffrey A. Law

On Thu, May 13, 1999 at 08:43:30AM -0500, joel@OARcorp.com wrote:
> This patch does a few minor things for RTEMS targets mostly in
> configuration files.  It also adds some RTEMS targets that are
> either aliases or copies of existing targets with no new files.

These bits applied.

> Included in this patch is one thing I am pretty sure will be rejected.
> The mod to opcode/hppa.h adds instructions and unless something has
> changed recently, knowing that these instructions exist requires having
> access to a manual that was restricted in some way.  Perhaps one of the
> HPPA folks will be able to state something more recent HPPA technical
> information.

Jeff, can I leave this bit to you?


r~



 	* opcode/hppa.h: Added 72000 instructions.

*** /usr1/rtems/work/original/binutils-2.9.1/include/opcode/hppa.h	Fri May  1 10:48:35 1998
--- binutils-2.9.1/include/opcode/hppa.h	Mon Jan 25 15:16:47 1999
***************
*** 370,375 ****
--- 370,383 ----
  { "fice",       0x040002c0, 0xfc001fdf, "Zx(b)", pa10},
  { "diag",       0x14000000, 0xfc000000, "D", pa10},
  
+ /* Following group is 72000 specific */
+ { "mtcpu",      0x14001600, 0xfc00ffff, "x,^"},
+ { "mfcpu",      0x14001A00, 0xfc00ffff, "^,x"},
+ { "tocen",      0x14403600, 0xffffffff, ""},
+ { "tocdis",     0x14401620, 0xffffffff, ""},
+ { "shdwgr",     0x14402600, 0xffffffff, ""},
+ { "grshdw",     0x14400620, 0xffffffff, ""},
+ 
  /* gfw and gfr are not in the HP PA 1.1 manual, but they are in either
     the Timex FPU or the Mustang ERS (not sure which) manual.  */
  { "gfw",	0x04001680, 0xfc003fdf, "Zx(s,b)", pa11},

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RTEMS Patch for binutils 2.9.1
@ 1999-07-01  0:00 joel
  1999-07-01  0:00 ` Richard Henderson
  0 siblings, 1 reply; 6+ messages in thread
From: joel @ 1999-07-01  0:00 UTC (permalink / raw)
  To: binutils

I do not know if I have submitted the individual patches in this in the
past or not. I wanted to make sure that it got in though.  The patch
applied without hassle to binutils-2.9.1.0.14 so I doubt they are in.

This patch does a few minor things for RTEMS targets mostly in
configuration files.  It also adds some RTEMS targets that are
either aliases or copies of existing targets with no new files.

Included in this patch is one thing I am pretty sure will be rejected.
The mod to opcode/hppa.h adds instructions and unless something has
changed recently, knowing that these instructions exist requires having
access to a manual that was restricted in some way.  Perhaps one of the
HPPA folks will be able to state something more recent HPPA technical
information.

Thu May 13 07:31:58 CDT 1999  Joel Sherrill (joel@OARcorp.com)

	* bfd/config.bfd (i[3456]86*-*-rtems*, m68k*-*-rtems*): Added to
	  list of target formats (targ_selvecs).
        * bfd/config.bfd (i[3456]86*-*-rtemself*, mips*el-*-rtems*,
	  powerpcle*-*rtems*, sh-*-rtemself*): New targets.
	* gas/configure (i386-*-rtemself*, sh-*-rtemself*): New targets.
	* gas/configure.in (i386-*-rtemself*, sh-*-rtemself*): New
	  targets.
	* opcode/hppa.h: Added 72000 instructions.
	* ld/configure.tgt (i386-*-rtemself*, sh-*-rtemself*,
	  mips*el-*-rtems*, powerpcle-*-rtems*): New targets.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-07-01  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-01  0:00 RTEMS Patch for binutils 2.9.1 joel
1999-07-01  0:00 ` Richard Henderson
1999-07-01  0:00   ` Jeffrey A Law
1999-07-01  0:00   ` joel
1999-07-01  0:00     ` Jeffrey A Law
1999-07-01  0:00       ` joel

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).