Blender Git Commit Log

Git Commits -> Revision f5eaf67

Revision f5eaf67 by Julian Eisel (master)
December 4, 2020, 17:28 (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: f5eaf67e34df088a2f0a19c744be7f8a51e7d9be
Parent Commit: 1d2c70d
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