On 2017-04-20, at 14:14, Charles Mills wrote:

> Is this routine run millions of times? Is performance important? If so
> 
>         LA    R4,THATCLOK  Address save area
>         LG    GR7,0(R4)    Load address into 64 bit register
> 
> is doing things the hard way. Why not just LG GR7,THATCLOK? Same for E1970, 
> MILL16 and THISCLOK.
>  
I was wondering about that, also.  I surmised his mother was
traumatized during gestation by a CDC 6600.

> If you are going to do LG GR7,0(R4) then 0(,R4) is better.
>  
Is that still true?  Performance?  Is there an AGI (whatever) on R0?


> -----Original Message-----
> From: Ward, Mike S
> Sent: 20 April 2017 21:21
>     ...
> Thanks for the help everyone. I used a combination of Tony's, Peter's, and 
> Aldo's routines to do my routine. It also led me to do further study of these 
> instructions in the poop.
> I believe this is working.
>  
You might test it against the TOD examples in the PoOp.
>     ...
> R0       EQU   0,,,,GR32
>     ...
> GRF      EQU   15,,,,GR64
>  
I shudder to think.  Isn't there a library macro for that stuff?  Used
to be YREGS.  I shudder especially that every programmer might equate
idiosyncratic symbols.

-- gil

Reply via email to