diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2013-03-29 16:26:42 +0100 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@st.com> | 2013-03-29 17:38:14 +0100 |
commit | 80902f6bfb82ca1a0b17604602a47baf314b7876 (patch) | |
tree | 125400d554db9416c9a72c94bcd2adde818e7251 /ref_vrev.c | |
parent | f4747d560105af9d837852e335d4fa6b263cea90 (diff) | |
download | platform_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_vrev.c')
-rw-r--r-- | ref_vrev.c | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 @@ -58,8 +58,10 @@ void exec_vrev (void) #define TEST_MSG "VREV16" TEST_VREV(, int, s, 8, 8, 16); TEST_VREV(, uint, u, 8, 8, 16); + TEST_VREV(, poly, p, 8, 8, 16); TEST_VREV(q, int, s, 8, 16, 16); TEST_VREV(q, uint, u, 8, 16, 16); + TEST_VREV(q, poly, p, 8, 16, 16); dump_results_hex (TEST_MSG); #undef TEST_MSG @@ -68,10 +70,14 @@ void exec_vrev (void) TEST_VREV(, int, s, 16, 4, 32); TEST_VREV(, uint, u, 8, 8, 32); TEST_VREV(, uint, u, 16, 4, 32); + TEST_VREV(, poly, p, 8, 8, 32); + TEST_VREV(, poly, p, 16, 4, 32); TEST_VREV(q, int, s, 8, 16, 32); TEST_VREV(q, int, s, 16, 8, 32); TEST_VREV(q, uint, u, 8, 16, 32); TEST_VREV(q, uint, u, 16, 8, 32); + TEST_VREV(q, poly, p, 8, 16, 32); + TEST_VREV(q, poly, p, 16, 8, 32); dump_results_hex (TEST_MSG); #undef TEST_MSG @@ -82,12 +88,16 @@ void exec_vrev (void) TEST_VREV(, uint, u, 8, 8, 64); TEST_VREV(, uint, u, 16, 4, 64); TEST_VREV(, uint, u, 32, 2, 64); + TEST_VREV(, poly, p, 8, 8, 64); + TEST_VREV(, poly, p, 16, 4, 64); TEST_VREV(q, int, s, 8, 16, 64); TEST_VREV(q, int, s, 16, 8, 64); TEST_VREV(q, int, s, 32, 4, 64); TEST_VREV(q, uint, u, 8, 16, 64); TEST_VREV(q, uint, u, 16, 8, 64); TEST_VREV(q, uint, u, 32, 4, 64); + TEST_VREV(q, poly, p, 8, 16, 64); + TEST_VREV(q, poly, p, 16, 8, 64); TEST_VREV(, float, f, 32, 2, 64); TEST_VREV(q, float, f, 32, 4, 64); |