>> >> L R4,=A(1*1000*1000*1000) >> LTR R4,R4 >> J LOOP >> * >> LOOP DS 0D .LOOP START >> B NEXT >> >> NEXT JCT R4,LOOP > > The loop starts with a branch ... I tested it twice - when the CC is matched > (branch happens) and when it is not matched (falls through) > > 1. When the CC is matched and branching happens, CPU TIME=2.94 seconds > 2. When the CC is not matched the code falls through, CPU TIME=1.69 > seconds - a reduction of 42% > Uhm... I don't see any conditional branch at the start of the loop that > branches or falls through? I'm with Fred here. Out of curiosity, the code you posted seems to be incomplete. Is it? -- Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
- Re: An explanation ... David Crayford
- Re: An explanation for branc... Mike Schwab
- Re: An explanation for branch pe... David Crayford
- Re: An explanation for branc... Lizette Koehler
- Re: An explanation for ... David Crayford
- Re: An explanation ... Charles Mills
- Re: An explanation for branch performance? Windt, W.K.F. van der (Fred)
- Re: An explanation for branch performanc... David Crayford
- Re: An explanation for branch performanc... David Crayford
- Re: An explanation for branch performanc... David Crayford
- AW: Re: An explanation for branch perfor... Peter Hunkeler
- Re: An explanation for branch performance? Elardus Engelbrecht
- Re: An explanation for branch performanc... David Crayford
- Re: An explanation for branch performance? Peter Relson
- Re: An explanation for branch performanc... David Crayford
- Re: An explanation for branch perfor... Windt, W.K.F. van der (Fred)
- Re: An explanation for branch pe... David Crayford
- Re: An explanation for branc... Windt, W.K.F. van der (Fred)
- Re: An explanation for branc... Jim Mulder
- Re: An explanation for ... Tony Harminc
- Re: An explanation for ... Bernd Oppolzer