//                  Name				NumSrcs	SINT?	UINT?	Immediate?	Calulation
DEFINE_ATOMIC_TEST( atomic_and,          1,		true,	true,	false,		return DestMemory = DestMemory & Src0; )
DEFINE_ATOMIC_TEST( atomic_or  ,         1,		true,	true,	false,		return DestMemory = DestMemory | Src0; )
DEFINE_ATOMIC_TEST( atomic_xor,          1,		true,	true,	false,		return DestMemory = DestMemory ^ Src0; )
DEFINE_ATOMIC_TEST( atomic_cmp_store,    2,		true,	true,	false,		return DestMemory = (DestMemory == Src0) ? Src1 : DestMemory; )
DEFINE_ATOMIC_TEST( atomic_iadd  ,       1,		true,	true,	false,		return DestMemory = DestMemory + Src0; )
DEFINE_ATOMIC_TEST( atomic_imax  ,       1,		true,	true,	false,		return DestMemory = ((INT32)DestMemory > (INT32)Src0) ? DestMemory : Src0; )
DEFINE_ATOMIC_TEST( atomic_imin  ,       1,		true,	true,	false,		return DestMemory = ((INT32)DestMemory < (INT32)Src0) ? DestMemory : Src0; )
DEFINE_ATOMIC_TEST( atomic_umax  ,       1,		true,	true,	false,		return DestMemory = (DestMemory > Src0) ? DestMemory : Src0; )
DEFINE_ATOMIC_TEST( atomic_umin  ,       1,		true,	true,	false,		return DestMemory = (DestMemory < Src0) ? DestMemory : Src0; )
DEFINE_ATOMIC_TEST( imm_atomic_iadd,     1,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = DestMemory + Src0; return temp; )
DEFINE_ATOMIC_TEST( imm_atomic_and,      1,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = DestMemory & Src0; return temp; )
DEFINE_ATOMIC_TEST( imm_atomic_or,       1,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = DestMemory | Src0; return temp; )
DEFINE_ATOMIC_TEST( imm_atomic_xor,      1,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = DestMemory ^ Src0; return temp; )
DEFINE_ATOMIC_TEST( imm_atomic_exch,     1,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = Src0; return temp; )
DEFINE_ATOMIC_TEST( imm_atomic_cmp_exch, 2,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = (DestMemory == Src0) ? Src1 : DestMemory; return temp; )
DEFINE_ATOMIC_TEST( imm_atomic_imax,     1,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = ((INT32)DestMemory > (INT32)Src0) ? DestMemory : Src0; return temp; )
DEFINE_ATOMIC_TEST( imm_atomic_imin,     1,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = ((INT32)DestMemory < (INT32)Src0) ? DestMemory : Src0; return temp; )
DEFINE_ATOMIC_TEST( imm_atomic_umax,     1,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = (DestMemory > Src0) ? DestMemory : Src0; return temp; )
DEFINE_ATOMIC_TEST( imm_atomic_umin,     1,		true,	true,	true,		UINT32 temp = DestMemory; DestMemory = (DestMemory < Src0) ? DestMemory : Src0; return temp; )
