Suggested patch for defmod
Tony van der Hoff
oslib at mk-net.demon.co.uk
Fri May 19 13:02:45 BST 2000
In message <00f961b749.tom at compton.compton.nu>, Tom Hughes
<tom at compton.nu> writes
>In message <4b189bb149.sbrodie at sbrodie.cam.pace.co.uk>
> Stewart Brodie <stewart.brodie at pace.co.uk> wrote:
>
>> There are two independent factors: 26-bit/32-bit processor mode execution,
>> and 26-bit/32-bit APCS. Whilst you must not use the 26-bit APCS whilst
>> executing in a 32-bit mode, it is perfectly legal to use the 32-bit APCS when
>> running in 26-bit modes, even on systems that do not have 32-bit modes at
>> all, and that is what my patch allows. In fact, APCS 3/32 on a 26-bit mode
>> systems is the transitional phase it would be ideal for people to move to in
>> preparation for future processors which do not have any 26-bit modes, should
>> they ever come out.
>
>Right. Given that the only cost of allowing the generated code to
>work in both 26 and 32 bit modes is a single MOV instruction your're
>probably right.
>
>Doing this would have the further advantage that we could build
>future releases as 32 bit so we don't need to maintain two builds
>as users move to 32 bit environments.
>
Should we start building 32-bit releases now?
--
Tony van der Hoff | Mailto:tony at mk-net.demon.co.uk
| Mailto:avanderhoff at iee.org
Buckinghamshire, England | http:www.mk-net.demon.co.uk
More information about the oslib-team
mailing list