diff options
author | 2016-03-02 21:49:49 +0100 | |
---|---|---|
committer | 2016-03-02 21:49:49 +0100 | |
commit | 9fe9f6d93e672bcd926f9e7461774bc9cc22e094 (patch) | |
tree | 3911b611dd010a4108b90fb8b8c82116eec21117 /src/emu/validity.cpp | |
parent | dbdf21ee465acadf3e643d62d6bedfcc297ada85 (diff) | |
parent | 1914702e6fae052668df5b068a502bca57c9a3b0 (diff) |
Merge remote-tracking branch 'refs/remotes/mamedev/master'
# Resolved Conflicts:
# src/osd/modules/render/d3d/d3dhlsl.cpp
# src/osd/windows/winmain.cpp
Diffstat (limited to 'src/emu/validity.cpp')
-rw-r--r-- | src/emu/validity.cpp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/emu/validity.cpp b/src/emu/validity.cpp index 4acc8d991ad..e4f1ef738e0 100644 --- a/src/emu/validity.cpp +++ b/src/emu/validity.cpp @@ -1,8 +1,8 @@ // license:BSD-3-Clause -// copyright-holders:Aaron Giles,Paul Priest +// copyright-holders:Aaron Giles, Paul Priest /*************************************************************************** - validity.c + validity.cpp Validity checks on internal data structures. @@ -497,23 +497,6 @@ void validity_checker::validate_inlines() testi32a = (testi32a | 0xffff0000) & ~0x400000; if (count_leading_ones(testi32a) != 9) osd_printf_error("Error testing count_leading_ones\n"); - - testi32b = testi32a; - if (compare_exchange32(&testi32a, testi32b, 1000) != testi32b || testi32a != 1000) - osd_printf_error("Error testing compare_exchange32\n"); -#ifdef PTR64 - testi64b = testi64a; - if (compare_exchange64(&testi64a, testi64b, 1000) != testi64b || testi64a != 1000) - osd_printf_error("Error testing compare_exchange64\n"); -#endif - if (atomic_exchange32(&testi32a, testi32b) != 1000) - osd_printf_error("Error testing atomic_exchange32\n"); - if (atomic_add32(&testi32a, 45) != testi32b + 45) - osd_printf_error("Error testing atomic_add32\n"); - if (atomic_increment32(&testi32a) != testi32b + 46) - osd_printf_error("Error testing atomic_increment32\n"); - if (atomic_decrement32(&testi32a) != testi32b + 45) - osd_printf_error("Error testing atomic_decrement32\n"); } |