On Fri, 23 Jul 2010 00:17:17 -0400, Phil Smith III li...@akphs.com wrote:
We have a largish batch LE C application that runs in POSIX mode. For
performance optimization, we're rewriting a couple of routines in assembler.
Have you measured the performance boost the OPTIMIZE compiler option
Jan MOEYERSONS wrote:
Have you measured the performance boost the OPTIMIZE compiler option
brings you? Is it still worth it trying to do better in assembler?
No such option in the compiler we're using, and the operations are large
multi-precision arithmetic. All the code we've seen generated
David Crayford wrote:
Absolutely no need to use CEEENTRY or any LE macros in your assembler
code unless you want to call LE services.
It's not a requirement, and a lot of programs would work without using
CEEENTRY, but it's worth noting that we had a program that did its own roll-
your-own
Is it guaranteed by LE that the services potentilly invoked by CEEENTRY
will not
violate those conventions? I.E., initial stack frame allocation, extend
stack
frame, etc.? Otherwise saving/restoring outside of the prolog/epilog
would vio
I'm sure that whatever LE calls does not violate
As an assembler routine (especially one that is not utilizing LE
services), you have the responsibility to maintain standard register
saving conventions (unless your caller expects otherwise): making sure
that the return to the caller is with
- low halves of GPRs 2-13 unchanged
- high halves of
-Original Message-
From: IBM Mainframe Discussion List
[mailto:ibm-m...@bama.ua.edu] On Behalf Of Peter Relson
Sent: Saturday, July 24, 2010 9:13 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: LE calling assembler with 64 bit register usage
As an assembler routine (especially one
Phil Smith III wrote:
We have a largish batch LE C application that runs in POSIX mode. For
performance optimization, we're rewriting a couple of routines in assembler. So
far so good.
Here's the kicker: the application is 31-bit, but needs to use 64-bit registers
(for large integer math).
Phil Smith III wrote:
We have a largish batch LE C application that runs in POSIX mode. For
performance optimization, we're rewriting a couple of routines in assembler. So
far so good.
Here's the kicker: the application is 31-bit, but needs to use 64-bit registers
(for large integer math).
Steve Comstock wrote:
You don't need LE to use 64-bit integer arithmetic. Just use
standard linkage conventions between C and Assembler. You can
run in 31-bit mode and use 64-bit arithmetic no problem.
OK, but the LE conventions for saving/restoring the 64-bit registers must be
followed (it
We have a largish batch LE C application that runs in POSIX mode. For
performance optimization, we're rewriting a couple of routines in assembler. So
far so good.
Here's the kicker: the application is 31-bit, but needs to use 64-bit registers
(for large integer math). We're having a devil of a
On Friday 23 July 2010 00:17, Phil Smith III wrote:
Do not anger the LE, for its wrath is not pretty!
I think that's Do not meddle in the affairs of the LE, for it is subtle
and quick to anger.
Cheers,
Bob
--
Bob Woodside
Woodsway Consulting, Inc.
http://www.woodsway.com
11 matches
Mail list logo