Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly 370 > Re: S/360 HER, ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 16 Topic 262 of 328
Post > Topic >>

Re: S/360 HER, HDR

by "robin" <robin_v@[EMAIL PROTECTED] > Jan 4, 2006 at 03:45 PM

"glen herrmannsfeldt" <gah@[EMAIL PROTECTED]
> wrote in message
news:m4ednbbFy-jGAibenZ2dnUVZ_s-dnZ2d@[EMAIL PROTECTED]
> robin wrote:
>
> > "glen herrmannsfeldt" <gah@[EMAIL PROTECTED]
> wrote in message
> > news:CZSdnfkDXvuBFyTeRVn-tg@[EMAIL PROTECTED]
>
> (snip regarding HER, HDR, and the lack of normalization in the early
> versions of S/360.)
>
> >>>Except, of course, initially for HER and HDR.
>  >> The 1964 Principles of Operation makes this clear.
>
> (snip)
>
> >>Well, one could always add zero, still probably faster than divide,
>
> > Definitely faster than divide, but that took an extra instruction (4
bytes)
> > and possibly an extra constant (4 or 8 bytes) when there was precious
> > little store to hold the extras.
> > The real problem with HER and HDR, however, with the unnormalized
> > version was the loss of precision if the most-significant nibble ws 1.
>
> In sqrt you can likely live with that until the last iteration.

Not every program needs SQRT.  In any case, it was probably
done by invoking a function, in which case, storage requirements
would not have been an issue.
    Many programs, however, routinely require division by 2,
and as there may be a number of these in a program,
the amount of extra storage required would become a drawback.

> With the common implementation for binary machines, you lose, anyway.
> For S/360 the last iteration is done something like:
>
> y4=y3+(x/y3-y3)/2
>
> this is required for full precision HFP arithmetic, even with a
> normalizing HDR.
>
> (x/y3-y3) normally won't have many significant bits, so there is
probably
> no loss in the non-normalizing HDR.

The loss of a bit [non-post normalizing] for this step of halving
is irrelevant except for the last.

> It is also fairly common to do the initial approximation in fixed point.
> If one really wanted to, one could test the exponent bits prior to the
> HDR at the end.

The crux was that for general use, the original HER and HDR
were not as attractive as they would seem.

> -- glen
 




 16 Posts in Topic:
Re: S/360
"robin" <rob  2005-12-20 03:51:25 
Re: S/360
glen herrmannsfeldt <g  2005-12-20 00:43:30 
Re: S/360
"John W. Kennedy&quo  2005-12-20 10:08:37 
Re: S/360
"James J. Weinkam&qu  2005-12-20 21:46:26 
Re: S/360
Peter Flass <Peter_Fla  2005-12-21 00:53:26 
Re: S/360
"James J. Weinkam&qu  2005-12-21 07:42:47 
Re: S/360
glen herrmannsfeldt <g  2005-12-20 21:46:21 
Re: S/360
"robin" <rob  2005-12-31 07:39:09 
Re: S/360
glen herrmannsfeldt <g  2006-01-02 12:16:22 
Re: S/360 HER, HDR
"robin" <rob  2006-01-03 01:56:13 
Re: S/360 HER, HDR
glen herrmannsfeldt <g  2006-01-04 02:11:31 
Re: S/360 HER, HDR
"robin" <rob  2006-01-04 15:45:54 
Re: S/360 HER, HDR
glen herrmannsfeldt <g  2006-01-05 00:41:33 
Re: S/360 HER, HDR
"robin" <rob  2006-01-06 00:04:42 
Re: S/360
"John W. Kennedy&quo  2005-12-20 10:08:04 
Re: S/360
"robin" <rob  2005-12-21 07:10:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:19:51 CDT 2008.