Use the __sync primitives in EGLIBC
Bug #643171 reported by
Michael Hope
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Toolchain Miscellanies |
Fix Released
|
Medium
|
Ken Werner | ||
eglibc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
GCC 4.4 and 4.5 have __sync_* primitives that always pick the best method based on the host architecture.
Change ports/sysdeps/
Changed in linaro-toolchain-misc: | |
assignee: | nobody → Ken Werner (kwerner) |
importance: | Undecided → Medium |
Changed in eglibc (Ubuntu): | |
status: | New → Fix Committed |
Changed in linaro-toolchain-misc: | |
status: | Confirmed → In Progress |
tags: | added: patch |
Changed in linaro-toolchain-misc: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This patch enhances the ARM version of bits/atomic.h to make use of the atomic
builtins provided by GCC in case the backend provides a pattern to do this
efficiently.