Blender Git Loki

Git Commits -> Revision cc2f90d

Revision cc2f90d by Julian Eisel
December 4, 2020, 15:39 (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: cc2f90d1189adc49e2652ce4587894493ca2d41d
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021