From: hong...@gmail.com
Date: Mon, 06 Aug 2007 17:38:40 -0000
Local: Mon, Aug 6 2007 1:38 pm
Subject: Re: How should integer return value should be extended?
The Intel compiler people say:
--- Given that, it shouldn't matter how the callee handles the upper So Richard's change is OK as far as x86 backend is concerned. H.J. > Hi,
> On Tue, 24 Jul 2007, hong...@gmail.com wrote: > > it seems that ia32 psABI doesn't specify how an integer return value > > signed char > > The return value is in eax. Should it be sign extended or zero > I actually think it shouldn't matter. The caller should only rely on the > So problems can only arise if the caller for some reason doesn't know the > Hence I think we can only say that before returning, %eax should be sign > Ciao, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||