aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vmull.c
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2013-03-29 16:26:42 +0100
committerChristophe Lyon <christophe.lyon@st.com>2013-03-29 17:38:14 +0100
commit80902f6bfb82ca1a0b17604602a47baf314b7876 (patch)
tree125400d554db9416c9a72c94bcd2adde818e7251 /ref_vmull.c
parentf4747d560105af9d837852e335d4fa6b263cea90 (diff)
downloadplatform_external_arm-neon-tests-80902f6bfb82ca1a0b17604602a47baf314b7876.tar.gz
platform_external_arm-neon-tests-80902f6bfb82ca1a0b17604602a47baf314b7876.tar.bz2
platform_external_arm-neon-tests-80902f6bfb82ca1a0b17604602a47baf314b7876.zip
Add support for polynomial variants (*_p8, *_p16).
Diffstat (limited to 'ref_vmull.c')
-rw-r--r--ref_vmull.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ref_vmull.c b/ref_vmull.c
index f8fbbfc..97b21af 100644
--- a/ref_vmull.c
+++ b/ref_vmull.c
@@ -1,6 +1,6 @@
/*
-Copyright (c) 2009, 2010, 2011 STMicroelectronics
+Copyright (c) 2009, 2010, 2011, 2013 STMicroelectronics
Written by Christophe Lyon
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -49,12 +49,14 @@ void exec_vmull (void)
DECL_VARIABLE(vector, uint, 8, 8);
DECL_VARIABLE(vector, uint, 16, 4);
DECL_VARIABLE(vector, uint, 32, 2);
+ DECL_VARIABLE(vector, poly, 8, 8);
DECL_VARIABLE(vector_res, int, 16, 8);
DECL_VARIABLE(vector_res, int, 32, 4);
DECL_VARIABLE(vector_res, int, 64, 2);
DECL_VARIABLE(vector_res, uint, 16, 8);
DECL_VARIABLE(vector_res, uint, 32, 4);
DECL_VARIABLE(vector_res, uint, 64, 2);
+ DECL_VARIABLE(vector_res, poly, 16, 8);
clean_results ();
@@ -64,6 +66,7 @@ void exec_vmull (void)
TEST_VLOAD(vector, buffer, , uint, u, 8, 8);
TEST_VLOAD(vector, buffer, , uint, u, 16, 4);
TEST_VLOAD(vector, buffer, , uint, u, 32, 2);
+ TEST_VLOAD(vector, buffer, , poly, p, 8, 8);
TEST_VMULL(int, s, 8, 16, 8);
TEST_VMULL(int, s, 16, 32, 4);
@@ -71,6 +74,7 @@ void exec_vmull (void)
TEST_VMULL(uint, u, 8, 16, 8);
TEST_VMULL(uint, u, 16, 32, 4);
TEST_VMULL(uint, u, 32, 64, 2);
+ TEST_VMULL(poly, p, 8, 16, 8);
/* FIXME: only a few result buffers are used, but we output all of them */
dump_results_hex (TEST_MSG);