One point to keep in mind about hand-optimized code is that what makes it run faster on one processor might make it run slower on another. You're better of worrying first about readability and maintainability, then about efficient algorithms and only last about efficiency.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Assembler List <[email protected]> on behalf of Gord Tomlin <[email protected]> Sent: Tuesday, January 30, 2018 12:59 PM To: [email protected] Subject: Re: Fair comparison C vs HLASM On 2018-01-30 12:33, Kirk Wolf wrote: > My favorite comments related to this subject came from Dave Cole on the > Assembler-List last October, which I will re-post below because it deserves > more bits of storage. Kirk, I was sorely tempted over the last few days to dig out this gem and post it. It's very instructive to read the HLASM code generated by the compilers when optimization is in effect. Attempting to achieve the same level of pipeline and cache friendliness, etc., when hand-writing HLASM is a big chore and a definite impediment to programmer productivity. -- Regards, Gord Tomlin Action Software International (a division of Mazda Computer Corporation) Tel: (905) 470-7113, Fax: (905) 470-6507 Support: https://actionsoftware.com/support/
