Re: MVCL (was: Right Justification Subroutine)

2014-05-21 Thread John McKown
I tend to use MVCL like Tony does. The reason that I tend to not like doing a EX of an MVC is because the MVC needs to be out-of-line. (and is the MVC in the i-cache or the d-cache?) Also, this requires a base register to address the area containing the MVC. Which is generally not a problem,

Re: MVCL (was: Right Justification Subroutine)

2014-05-21 Thread Steve Hobson
I tend to use MVCL like Tony does. The reason that I tend to not like doing a EX of an MVC is because the MVC needs to be out-of-line. (and is the MVC in the i-cache or the d-cache?) Also, this requires a base register to address the area containing the MVC. Which is generally not a problem,

AW: MVCL (was: Right Justification Subroutine)

2014-05-21 Thread David Stokes
An: ASSEMBLER-LIST@LISTSERV.UGA.EDU Betreff: Re: MVCL (was: Right Justification Subroutine) I tend to use MVCL like Tony does. The reason that I tend to not like doing a EX of an MVC is because the MVC needs to be out-of-line. (and is the MVC in the i-cache or the d-cache?) Also, this requires a base register

Re: MVCL (was: Right Justification Subroutine)

2014-05-21 Thread John McKown
On Wed, May 21, 2014 at 6:38 AM, Steve Hobson steve_hob...@uk.ibm.comwrote: snip For many years I've used this style which I was taught be the legendary Pete Roberts: MVC TARGET(0),SOURCE EX Rx,*-6 I had read of that before. One problem is that it assumes

Re: MVCL (was: Right Justification Subroutine)

2014-05-21 Thread Binyamin Dissen
On Wed, 21 May 2014 12:38:09 +0100 Steve Hobson steve_hob...@uk.ibm.com wrote: : I tend to use MVCL like Tony does. The reason that I tend to not like :doing : a EX of an MVC is because the MVC needs to be out-of-line. (and is the :MVC : in the i-cache or the d-cache?) Also, this requires a base

Re: MVCL (was: Right Justification Subroutine)

2014-05-21 Thread Steve Hobson
: MVC TARGET(0),SOURCE : EX Rx,*-6 : Requires a code base register. Well, ish: LARL Ry,*+6 MVC TARGET(0),SOURCE EX Rx,0(,Ry) or: BRAS Ry,*+10 MVC TARGET(0),SOURCE EX Rx,0(,Ry)

Re: MVCL (was: Right Justification Subroutine)

2014-05-21 Thread Tony Harminc
On 20 May 2014 23:44, Robin Vowels robi...@dodo.com.au wrote: From: Tony Harminc t...@harminc.com Sent: Friday, May 16, 2014 8:44 AM I use MVCL a lot even for very small moves where the length is not known at assembly time. But I know my environment and its performance requirements, and

Re: MVCL (was: Right Justification Subroutine)

2014-05-20 Thread Robin Vowels
From: Tony Harminc t...@harminc.com Sent: Friday, May 16, 2014 8:44 AM I use MVCL a lot even for very small moves where the length is not known at assembly time. But I know my environment and its performance requirements, and often judge the relative elegance, generality, and