This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Intel BID library patches


On Fri, Jun 22, 2007 at 02:54:35PM +0200, Paolo Bonzini wrote:
> H. J. Lu wrote:
> >Is this patch OK to install?
> 
> I would prefer if you gathered the full list of targets that support 
> TLS, but I guess it's ok as is -- *if* it is necessary, as you will have 
> to discuss that with the other people (Dan, Jakub, Mike, and the libgcc 
> maintainers who will ultimately approve that patch).
> 
> In other words, don't commit it before the rest of the BID stuff.

Here are updated patches to use Intel BID library when DFP/BID is
enabled.  Intel BID library is available from

http://groups.google.com/group/ia32-abi

as

http://ia32-abi.googlegroups.com/web/libbid-20070614-1.tar.bz2?gda=jqlWm0oAAABayoZq9NXPKZm1OAVN1mTGCvMcjKeqJWo_mt4fEtH5fWG1qiJ7UbTIup-M2XPURDT46id7tgvzqkE5UQ-NNYRsNIBjWWKka8cnEjFziSOZLQ

The new patches make BID library thread-safe to use TLS on the internal
BID flags. I used --dynamic-list linker option to make sure that the
internal BID flags are dynamic in executables to ensure one copy of
them is used.  These BID patches shouldn't change executables which
don't use DFP.

I didn't make a new BID library tarball. Instead, I included 2 BID
library patches here.

Tested on Linux/ia32 and Linux/Intel64.


H.J.

Attachment: gcc-libbid-10.patch
Description: Text document

Attachment: libbid-thread-6.patch
Description: Text document

Attachment: libbid-libgcc2-1.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]