Why not just one MVHI instead of two MVHHI? -----Mensagem original----- De: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> Em nome de Jon Perryman Enviada em: sábado, 23 de agosto de 2025 00:12 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: Execute-Type Instructions
On Fri, 22 Aug 2025 17:00:33 +0000, Ngan, Robert <robert.n...@dxc.com> wrote: >I noticed the COBOL compile generated two MVHHI's to set >a fullword field with a constant value, but did an MVC with >an 8-byte constant when setting two adjacent fullwords. This makes sense because data is in the pipeline instead of moving from L1. With inline constants, you eliminated the extra fetch from storage. Ask yourself if it's worth the effort to eliminate the extra L1 access. You're running C, Java, Python and ??? where you can save a few dollars instead of a few penniess.