From: "David S." <[email protected]>
Sent: Thursday, December 17, 2015 6:10 AM


> "... a good reason why small MVCs run slower than LG/STG pairs ...
> overhead at the beginning of an MVC ... check if the operands are on
'good'
> boundaries ... check for operand overlap ... length check ...
[meanwhile] the
>  LG/STG is far on its way.  Anyone writing a length-1 MVC instead of an
> IC/STC would be laughed out of their code review.

Rubbish.
KISS.
A move of length 1 is clear and unequivocal.
And it's only one line.

Nevertheless, IC/STC is what the newer mainframe compilers generate for a
one-byte move.  For the reasons given, it's less work for the system than
an MVC.

It's a question of what is easiest and simplest for the programmer.
Machines are supposed to do the work for us, not the other way around.

Why write two lines when one will do the job?


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to