You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Mark Brown (JIRA)" <ji...@apache.org> on 2007/09/06 18:56:32 UTC

[jira] Created: (STDCXX-544) use gcc __builtin functions

use gcc __builtin functions
---------------------------

                 Key: STDCXX-544
                 URL: https://issues.apache.org/jira/browse/STDCXX-544
             Project: C++ Standard Library
          Issue Type: Improvement
          Components: Build
    Affects Versions: 4.1.3
         Environment: gcc
            Reporter: Mark Brown


Gcc provides many built-in equivalents of C library functions like memcpy or strlen for optimization purposes. stdcxx should take advantage of them when possible to deliver better performance.

http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Other-Builtins.html#Other-Builtins

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-544) [gcc] use __builtin functions

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-544:
--------------------------------

             Severity: Inefficiency
    Affects Version/s: 4.1.2
                       4.1.4
                       4.2.0
        Fix Version/s: 4.2.1
              Summary: [gcc] use __builtin functions  (was: use gcc __builtin functions)

Affects all released versions.
This makes a lot of sense. We should definitely do a review and take advantage of not just the gcc built-ins but of other compilers' as well. It can be done piecemeal, one compiler at a time, and we can probably also roll it out in stages starting with 4.2.1.

> [gcc] use __builtin functions
> -----------------------------
>
>                 Key: STDCXX-544
>                 URL: https://issues.apache.org/jira/browse/STDCXX-544
>             Project: C++ Standard Library
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2.0
>         Environment: gcc
>            Reporter: Mark Brown
>             Fix For: 4.2.1
>
>
> Gcc provides many built-in equivalents of C library functions like memcpy or strlen for optimization purposes. stdcxx should take advantage of them when possible to deliver better performance.
> http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Other-Builtins.html#Other-Builtins

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.