aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vdup.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_vdup.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_vdup.c')
-rw-r--r--ref_vdup.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/ref_vdup.c b/ref_vdup.c
index 01d580a..1828197 100644
--- a/ref_vdup.c
+++ b/ref_vdup.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
@@ -64,6 +64,8 @@ void exec_vdup (void)
TEST_VDUP(, uint, u, 16, 4);
TEST_VDUP(, uint, u, 32, 2);
TEST_VDUP(, uint, u, 64, 1);
+ TEST_VDUP(, poly, p, 8, 8);
+ TEST_VDUP(, poly, p, 16, 4);
TEST_VDUP(, float, f, 32, 2);
TEST_VDUP(q, int, s, 8, 16);
@@ -74,6 +76,8 @@ void exec_vdup (void)
TEST_VDUP(q, uint, u, 16, 8);
TEST_VDUP(q, uint, u, 32, 4);
TEST_VDUP(q, uint, u, 64, 2);
+ TEST_VDUP(q, poly, p, 8, 16);
+ TEST_VDUP(q, poly, p, 16, 8);
TEST_VDUP(q, float, f, 32, 4);
dump_results_hex (TEST_MSG);
@@ -92,6 +96,8 @@ void exec_vdup (void)
TEST_VMOV(, uint, u, 16, 4);
TEST_VMOV(, uint, u, 32, 2);
TEST_VMOV(, uint, u, 64, 1);
+ TEST_VMOV(, poly, p, 8, 8);
+ TEST_VMOV(, poly, p, 16, 4);
TEST_VMOV(, float, f, 32, 2);
TEST_VMOV(q, int, s, 8, 16);
@@ -102,6 +108,8 @@ void exec_vdup (void)
TEST_VMOV(q, uint, u, 16, 8);
TEST_VMOV(q, uint, u, 32, 4);
TEST_VMOV(q, uint, u, 64, 2);
+ TEST_VMOV(q, poly, p, 8, 16);
+ TEST_VMOV(q, poly, p, 16, 8);
TEST_VMOV(q, float, f, 32, 4);
dump_results_hex (TEST_MSG);