aboutsummaryrefslogtreecommitdiff
path: root/test/mock/lg-optimus-g-pro.cc
diff options
context:
space:
mode:
authorMarat Dukhan <marat@fb.com>2018-12-19 02:34:17 -0800
committerMarat Dukhan <marat@fb.com>2018-12-19 02:34:17 -0800
commitdb14c2271115946c3c99671eda59344d0be6ccff (patch)
treee8da323c9eca2a2b924d042369530c61e7a7997c /test/mock/lg-optimus-g-pro.cc
parenta281cc9278b0ccaf8cfd607e8cbc56d194029b9d (diff)
downloadcpuinfo-db14c2271115946c3c99671eda59344d0be6ccff.tar.gz
Detect ARMv8.2 NEON DOT production instructions
Diffstat (limited to 'test/mock/lg-optimus-g-pro.cc')
-rw-r--r--test/mock/lg-optimus-g-pro.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/mock/lg-optimus-g-pro.cc b/test/mock/lg-optimus-g-pro.cc
index f7a4bb8..a663020 100644
--- a/test/mock/lg-optimus-g-pro.cc
+++ b/test/mock/lg-optimus-g-pro.cc
@@ -342,6 +342,14 @@ TEST(ISA, fp16_arith) {
ASSERT_FALSE(cpuinfo_has_arm_fp16_arith());
}
+TEST(ISA, neon_fp16_arith) {
+ ASSERT_FALSE(cpuinfo_has_arm_neon_fp16_arith());
+}
+
+TEST(ISA, neon_dot) {
+ ASSERT_FALSE(cpuinfo_has_arm_neon_dot());
+}
+
TEST(ISA, jscvt) {
ASSERT_FALSE(cpuinfo_has_arm_jscvt());
}