Blender Git Loki

Git Commits -> Revision 521fc8a

Revision 521fc8a by Julian Eisel (asset-browser)
December 4, 2020, 15:31 (GMT)
Atomics: Add 16-bit fetch+AND and fetch+OR operations (signed)

I could use a 16bit 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: 521fc8ae456ccc3277e6a450ee38be950b9ac2ee
Parent Commit: 4d804d1
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021