Re: XLC inline assembler question

2023-05-03 Thread Phil Smith III
Thanks to all for the info! (Summary for the assembler list, since the action was all on IBM-MAIN: It won't hurt; might affect optimization slightly, but probably not worth worrying about.)

Re: XLC inline assembler question

2023-05-02 Thread Colin Paice
It may have a minor effect on optimisation. Variables may now be in storage when they were optimized into registers. But this is likely to be less than 1% difference. You might want to use Jump instructions rather than Branch, so you do not have to worry about addressability Colin On Mon, 1

Re: XLC inline assembler question

2023-05-01 Thread Phil Smith III
Doh, I of course meant -qasm not -dasm. From: Phil Smith III Sent: Monday, May 1, 2023 5:02 PM To: ibm-m...@bama.ua.edu; IBM Mainframe Assembler List (ASSEMBLER-LIST@listserv.uga.edu) Subject: XLC inline assembler question (Cross-posted to IBM-MAIN and the assembler list) When

XLC inline assembler question

2023-05-01 Thread Phil Smith III
(Cross-posted to IBM-MAIN and the assembler list) When compiling C programs with XLC, you need to specify the -dasm flag to have inline assembler code recognized as such. I can see PoE arguments for requiring that option; what isn't clear is whether there's any downside to it beyond the