Well, I guess using the linkage stack is cleaner because the state of the 
caller is preserved.

Thanks for your reply, that is what I wanted to know, I was going to use STM 
but I remember reading somewhere before (maybe linkedin?) that they would never 
approve any assembler code written in the past 20 years starting with STM  
R14,R12,12(R13). I just would like to hear someone that would prefer BAKR and 
why.

Thanks,
Leo

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Tom Marchant
Sent: Tuesday, February 16, 2016 12:53 PM
To: [email protected]
Subject: Re: CSVFETCH exit

On Tue, 16 Feb 2016 16:52:03 +0000, Leonardo Vaz wrote:

>I apologize if the question is silly, but I am wondering if for a 
>performance sensitive exit like this one I should use STM/LM instead of 
>BAKR/PR. I believe it's "cheaper" to do STM/LM, bur "cleaner" to do BAKR, 
>right?

Why do you think BAKR is "cleaner"?

BAKR/PR is MUCH slower than STM/LM (or STMG/LMG if you are using the high 
halves of any of registers 2-12).

--
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to