| Updated 2009/06/05 |
Sun[tm] Studio 12 Update 1: Math Libraries Readme |
Contents
- Introduction
- About the Sun Studio Math Libraries
- New and Changed Features
- Software Corrections
- Problems and Workarounds
- Limitations and Incompatibilities
- Documentation Errors
- Shippable Libraries
A. Introduction
This document contains information about the math libraries provided with the Sun[tm] Studio compilers and tools.
This document describes the software corrections, known problems, limitations, and incompatibilities of this release.
Information in this document updates and extends information in the software manuals.
Product DocumentationProduct documentation for this release of Sun Studio including man pages, readmes, technical articles, and manuals can be accessed from the Sun Studio documentation page on the Sun Developer Network portal, http://developers.sun.com/sunstudio/documentation/ss12u1/
B. About the Sun Studio Math Libraries
For information on using the Sun Studio math libraries, see the Numerical Computation Guide or the section 3m man pages.
C. New and Changed Features
The following features were added or changed:
- Sun Studio 12 Update 1 compilers now support the x86/x64 SSE 4.1 and SSE 4.2 instruction sets. Sun Studio math libraries include versions of libmopt, the optimized math library, and libm.il, the libm inline templates, that use SSE 4.1 and SSE 4.2 instructions. For best performance on processors that implement these instruction sets, specify the appropriate -xarch value when compiling and linking.
- Features added in the Solaris 10 OS:
- All of the math and floating point environment functions required by the latest version of the C language (C99) are now available in libm in the Solaris 10 OS. Previously, float and long double math functions were available only in libsunmath and the C99 floating point environment functions were available only in libm9x.
- The vector math function library libmvec is now included in the Solaris 10 OS. This library is provided as a shared object only.
- Deprecated Libraries:
- The following libraries have been classified Obsolete: libmvec.a, libmvec_mt.a, and libm9x.so. Use of these libraries is discouraged. They may be removed in a future release. Programs currently using the vector elementary functions in libmvec.a or libmvec_mt.a should be relinked to use the shared version of these libraries supplied with the Solaris OS, libmvec.so. Programs currently using libm9x.so should be relinked to use the standard Solaris math library, libm.
- libcplxsupp.a has been removed. C99 complex arithmetic support routines are provided in libc on Solaris 10 and above. Programs that use _Complex types and arithmetic should no longer link with -lcplxsupp.
- On SPARC platforms, v8-only libmopt.a and libm.il have been removed. Programs must be linked with -xarch=v8plus (the default) or above.
D. Software Corrections
There is no new information at this time.
E. Problems and Workarounds
This section discusses known software problems and possible workarounds for those problems.
There is no new information at this time.
For updates or patches, check the updated information at http://developers.sun.com/sunstudio/support/.
F. Limitations and Incompatibilities
This section discusses limitations and incompatibilities with systems or other software.
There is no new information at this time.
For last-minute information, see the release notes at http://docs.sun.com/app/docs/doc/821-0080
G. Documentation Errors
There is no new information at this time.
H. Shippable Libraries
If your executable uses a Sun dynamic library listed in the Runtime Libraries Readme your license includes the right to redistribute the library to your customer.
You cannot redistribute or otherwise disclose the header files, source code, object modules, or static libraries of object modules in any form.
Copyright © 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.