Blender Git Commit Log

Git Commits -> Revision 67b4829

Revision 67b4829 by Julian Eisel (temp-atomics-int16)
December 4, 2020, 15:57 (GMT)
Atomics: Add 16 bit fetch + AND and fetch + OR signed integer operations

I could use a 16 bit atomic fetch + AND for D9719. The alternative would be to
turn a `short` into a `int` in DNA, which isn't a nice workaround.

Also adds tests for the new functions.

Commit Details:

Full Hash: 67b48290853a9d7e8f92764a6a3938c3a804c294
Parent Commit: d070094
Lines Changed: +69, -0

4 Modified Paths:

/intern/atomic/atomic_ops.h (+3, -0) (Diff)
/intern/atomic/intern/atomic_ops_msvc.h (+14, -0) (Diff)
/intern/atomic/intern/atomic_ops_unix.h (+19, -0) (Diff)
/intern/atomic/tests/atomic_test.cc (+33, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021