Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util/u_atomic: remove unnecessaty __atomic functions | Grazvydas Ignotas | 2017-09-22 | 1 | -12/+0 |
| | | | | | | | | | They are now provided by -latomic, which should be linked as needed since previous commit. Signed-off-by: Grazvydas Ignotas <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Emil Velikov <[email protected]> | ||||
* | util/u_atomic: Add implementation of __sync_val_compare_and_swap_8 | Matt Turner | 2017-09-15 | 1 | -0/+14 |
| | | | | | | | | | Needed for 32-bit PowerPC. Cc: "17.2" <[email protected]> Fixes: a6a38a038bd ("util/u_atomic: provide 64bit atomics where they're missing") Reviewed-by: Emil Velikov <[email protected]> | ||||
* | util/u_atomic: provide 64bit atomics where they're missing | Grazvydas Ignotas | 2017-04-03 | 1 | -0/+75 |
There are still some distributions trying to support unfortunate people with old or exotic CPUs that don't have 64bit atomic operations. When compiling for such a machine, gcc conveniently inserts a library call to a helper, but it's implementation is missing and we get a linker error. This allows us to provide our own implementation, which is marked weak to prefer a better implementation, should one exist. v2: changed copyright, some style adjustments v3: [mattst88] Print results with AC_MSG_CHECKING/AC_MSG_RESULT Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93089 Signed-off-by: Grazvydas Ignotas <[email protected]> Reviewed-by: Matt Turner <[email protected]> |