Changeset 60799 in vbox for trunk/include/iprt
- Timestamp:
- May 2, 2016 8:11:08 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106998
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r60603 r60799 1656 1656 ASMMemoryFence(); 1657 1657 Assert(!((uintptr_t)pu32 & 3)); 1658 #if ARCH_BITS == 16 1659 AssertFailed(); /** @todo 16-bit */ 1660 #endif 1658 1661 return *pu32; 1659 1662 } … … 1669 1672 { 1670 1673 Assert(!((uintptr_t)pu32 & 3)); 1674 #if ARCH_BITS == 16 1675 AssertFailed(); /** @todo 16-bit */ 1676 #endif 1671 1677 return *pu32; 1672 1678 } … … 1683 1689 ASMMemoryFence(); 1684 1690 Assert(!((uintptr_t)pi32 & 3)); 1691 #if ARCH_BITS == 16 1692 AssertFailed(); /** @todo 16-bit */ 1693 #endif 1685 1694 return *pi32; 1686 1695 } … … 1696 1705 { 1697 1706 Assert(!((uintptr_t)pi32 & 3)); 1707 #if ARCH_BITS == 16 1708 AssertFailed(); /** @todo 16-bit */ 1709 #endif 1698 1710 return *pi32; 1699 1711 } … … 2257 2269 { 2258 2270 Assert(!((uintptr_t)pu32 & 3)); 2271 #if ARCH_BITS >= 32 2259 2272 *pu32 = u32; 2273 #else 2274 ASMAtomicXchgU32(pu32, u32); 2275 #endif 2260 2276 } 2261 2277 … … 2282 2298 { 2283 2299 Assert(!((uintptr_t)pi32 & 3)); 2300 #if ARCH_BITS >= 32 2284 2301 *pi32 = i32; 2302 #else 2303 ASMAtomicXchgS32(pi32, i32); 2304 #endif 2285 2305 } 2286 2306
Note:
See TracChangeset
for help on using the changeset viewer.