diff options
author | Marat Dukhan <marat@fb.com> | 2018-04-19 22:11:37 -0700 |
---|---|---|
committer | Marat Dukhan <marat@fb.com> | 2018-04-19 22:11:37 -0700 |
commit | 292e9b5b3234c94cc9b4be4a79cf2dc2c0f64a86 (patch) | |
tree | 71588ca9c344dfa321172af25c62010045649451 /test/mock/galaxy-s9-us.cc | |
parent | 04634bd1635a1cef618410e5aa3e0307d56c5c12 (diff) | |
download | cpuinfo-292e9b5b3234c94cc9b4be4a79cf2dc2c0f64a86.tar.gz |
Validate RDM and FP16 compute detection in Galaxy S9 (US) mock test
Diffstat (limited to 'test/mock/galaxy-s9-us.cc')
-rw-r--r-- | test/mock/galaxy-s9-us.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/mock/galaxy-s9-us.cc b/test/mock/galaxy-s9-us.cc index 6904a4b..9b30949 100644 --- a/test/mock/galaxy-s9-us.cc +++ b/test/mock/galaxy-s9-us.cc @@ -488,15 +488,11 @@ TEST(ISA, atomics) { } TEST(ISA, neon_rdm) { - ASSERT_FALSE(cpuinfo_has_arm_neon_rdm()); + ASSERT_TRUE(cpuinfo_has_arm_neon_rdm()); } TEST(ISA, fp16_arith) { - #if CPUINFO_ARCH_ARM - ASSERT_FALSE(cpuinfo_has_arm_fp16_arith()); - #elif CPUINFO_ARCH_ARM64 - ASSERT_TRUE(cpuinfo_has_arm_fp16_arith()); - #endif + ASSERT_TRUE(cpuinfo_has_arm_fp16_arith()); } TEST(ISA, jscvt) { |