aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vcombine.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_vcombine.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_vcombine.c')
-rw-r--r--ref_vcombine.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ref_vcombine.c b/ref_vcombine.c
index 91d8f5b..e46455a 100644
--- a/ref_vcombine.c
+++ b/ref_vcombine.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
@@ -48,7 +48,6 @@ void exec_vcombine (void)
DECL_VARIABLE_128BITS_VARIANTS(vector128);
TEST_MACRO_64BITS_VARIANTS_2_5(TEST_VLOAD, vector64_a, buffer);
-
TEST_VLOAD(vector64_a, buffer, , float, f, 32, 2);
TEST_VDUP(vector64_b, , int, s, 8, 8, 0x11);
@@ -59,6 +58,8 @@ void exec_vcombine (void)
TEST_VDUP(vector64_b, , uint, u, 16, 4, 0x66);
TEST_VDUP(vector64_b, , uint, u, 32, 2, 0x77);
TEST_VDUP(vector64_b, , uint, u, 64, 1, 0x88);
+ TEST_VDUP(vector64_b, , poly, p, 8, 8, 0x55);
+ TEST_VDUP(vector64_b, , poly, p, 16, 4, 0x66);
TEST_VDUP(vector64_b, , float, f, 32, 2, 3.3f);
clean_results ();
@@ -71,6 +72,8 @@ void exec_vcombine (void)
TEST_VCOMBINE(uint, u, 16, 4, 8);
TEST_VCOMBINE(uint, u, 32, 2, 4);
TEST_VCOMBINE(uint, u, 64, 1, 2);
+ TEST_VCOMBINE(poly, p, 8, 8, 16);
+ TEST_VCOMBINE(poly, p, 16, 4, 8);
TEST_VCOMBINE(float, f, 32, 2, 4);
dump_results_hex (TEST_MSG);