Well, I don't think they claim that the LIST output is valid assembler -- it's 
kind of a clue, easier than reading the hex op codes.

Or how about grande instructions?

This is unoptimized. I assume they do better with OPT(2).

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Paul Gilmartin
Sent: Thursday, May 08, 2014 4:01 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Another C compiler shift bug?

On Thu, 8 May 2014 15:35:39 -0700, Charles Mills  wrote:

>Hmmm. Well, I beat the compiler into submission ...
>
"beat"?  Actually I believe you lulled it into submission.

>    ...
>          SLDL     r2,0(r1)
>          LR       r0,r3
>          LR       r1,r2
>          ST       r1,maxBit(,r13,248)
>          ST       r0,maxBit(,r13,252)
>
Would there be anything wrong with:

          STM      r2,r3,maxBit+248(r13)

???

I never knew that ST accepted a 3-modifier expression!?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to