aboutsummaryrefslogtreecommitdiffstats
path: root/ref_vset_lane.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_vset_lane.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_vset_lane.c')
-rw-r--r--ref_vset_lane.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ref_vset_lane.c b/ref_vset_lane.c
index 0c54458..e742597 100644
--- a/ref_vset_lane.c
+++ b/ref_vset_lane.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
@@ -62,6 +62,8 @@ void exec_vset_lane (void)
TEST_VSET_LANE_HERE(, uint, u, 16, 4, 0x66, 2);
TEST_VSET_LANE_HERE(, uint, u, 32, 2, 0x77, 1);
TEST_VSET_LANE_HERE(, uint, u, 64, 1, 0x88, 0);
+ TEST_VSET_LANE_HERE(, poly, p, 8, 8, 0x55, 6);
+ TEST_VSET_LANE_HERE(, poly, p, 16, 4, 0x66, 2);
TEST_VSET_LANE_HERE(, float, f, 32, 2, 33.2f, 1);
TEST_VSET_LANE_HERE(q, int, s, 8, 16, 0x99, 15);
@@ -72,6 +74,8 @@ void exec_vset_lane (void)
TEST_VSET_LANE_HERE(q, uint, u, 16, 8, 0xEE, 6);
TEST_VSET_LANE_HERE(q, uint, u, 32, 4, 0xFF, 2);
TEST_VSET_LANE_HERE(q, uint, u, 64, 2, 0x11, 1);
+ TEST_VSET_LANE_HERE(q, poly, p, 8, 16, 0xDD, 14);
+ TEST_VSET_LANE_HERE(q, poly, p, 16, 8, 0xEE, 6);
TEST_VSET_LANE_HERE(q, float, f, 32, 4, 11.2f, 3);
dump_results_hex (TEST_MSG);