On Fri, 11 May 2018 19:22:22 +0200, Bernd Oppolzer <bernd.oppol...@t-online.de> 
wrote:

>What I found most interesting in this whole thread was a suggestion
>from (IIRC) a SAS guy some days before. He suggested, if I understood
>it correctly, that a large application should run in AM64, but store
>internally
>only 32 bit pointers; the left half of all registers used as address
>registers
>containing the same (nonzero) value allĀ  the time ... as long as the
>current
>"continent" (defined by this nonzero value in the left half) is not exited.
>
>This could be a pattern for compiler writers, too, IMO, and has some
>implications:

Note that he achieved this by allocating 4 GiB
above the 4 GiB bar, in order to get 2 GiB. While
this technique certainly has its merits, it would
be easier to write the compiler if IBM simply
provided an IARV64 GETSTOR USE2GBTO4GB.
Although that wouldn't guarantee a full 2 GiB
like he was able to get with his technique.

>As you might probably know, I am the maintainer of the New Stanford
>Pascal compiler; if I ever reach the point where generating 64 bit code
>gets interesting, I will think more about this option.

If you're generating 64-bit code you may
as well just use 64-bit pointers and produce
a pure 64-bit application?

BFN. Paul.

----------------------------------------------------------------------
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