This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] |
Ok.Yes. Assuming you want to support both 386 and 486+ in libstdc++ (and I think you should), we need (a) a feature macro (defined by the compiler, or by libstdc++ at configure-time) to see if the builtins are available, (b) libstdc++ code to test that feature macro.
Then, the compiler default is just a detail; if the user is building a multilib with -march=i386, then you get the slow way; if they're building with -march=i486, then you get the fast way.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |