summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-03-01 13:21:42 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-03-01 13:21:42 +0100
commit6938a038d96e8e85044f73299e5f78e11767fdcc (patch)
tree054703f64587076fe6cb2d2a2a130f16665e4428
parent91c910e73c8b0faadf9381bc9626dbede88f04fe (diff)
removed test since atomic functions about to be removed (nw)
-rw-r--r--src/emu/validity.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/emu/validity.cpp b/src/emu/validity.cpp
index bfd2b7eb9af..e4f1ef738e0 100644
--- a/src/emu/validity.cpp
+++ b/src/emu/validity.cpp
@@ -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");
}