Issue Details (XML | Word | Printable)

Key: STDCXX-544
Type: Improvement Improvement
Status: In Progress In Progress
Priority: Major Major
Assignee: Martin Sebor
Reporter: Mark Brown
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[gcc] use __builtin functions

Created: 06/Sep/07 04:55 PM   Updated: 08/Apr/08 05:11 PM
Return to search
Component/s: Build and Installation
Affects Version/s: 4.1.2, 4.1.3, 4.1.4, 4.2.0
Fix Version/s: 4.3.0

Time Tracking:
Issue & Sub-Tasks
Issue Only
Original Estimate: 16h
Original Estimate - 16h
Remaining Estimate: 14h
Time Spent - 6h Remaining Estimate - 14h
Time Spent: 6h
Time Spent - 6h Remaining Estimate - 14h

Environment: gcc

Severity: Inefficiency

Sub-Tasks  All   Open   

 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor added a comment - 10/Dec/07 06:53 AM
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.

Martin Sebor added a comment - 08/Apr/08 05:11 PM
Since the subtask STDCXX-722 has just been deferred until 4.3, deferring the parent too.