diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2014-12-16 10:26:00 +0100 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2014-12-16 10:26:00 +0100 |
commit | f20536724d4cc8432d5b804082415c8391f88f9b (patch) | |
tree | 170a405bc9244e0ec5464e9e6b3eb50dcafa895c /ref_vrsqrte.c | |
parent | 464d02e432a0fe5fb0afec8459631b4467b706f3 (diff) | |
download | platform_external_arm-neon-tests-f20536724d4cc8432d5b804082415c8391f88f9b.tar.gz platform_external_arm-neon-tests-f20536724d4cc8432d5b804082415c8391f88f9b.tar.bz2 platform_external_arm-neon-tests-f20536724d4cc8432d5b804082415c8391f88f9b.zip |
Rename helper macros:
TEST_VLOAD into VLOAD
TEST_VDUP into VDUP
Diffstat (limited to 'ref_vrsqrte.c')
-rw-r--r-- | ref_vrsqrte.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/ref_vrsqrte.c b/ref_vrsqrte.c index b163089..d96f9d2 100644 --- a/ref_vrsqrte.c +++ b/ref_vrsqrte.c @@ -61,10 +61,10 @@ void exec_vrsqrte(void) clean_results (); /* Choose init value arbitrarily */ - TEST_VDUP(vector, , uint, u, 32, 2, 0x12345678); - TEST_VDUP(vector, , float, f, 32, 2, 25.799999f); - TEST_VDUP(vector, q, uint, u, 32, 4, 0xABCDEF10); - TEST_VDUP(vector, q, float, f, 32, 4, 18.2f); + VDUP(vector, , uint, u, 32, 2, 0x12345678); + VDUP(vector, , float, f, 32, 2, 25.799999f); + VDUP(vector, q, uint, u, 32, 4, 0xABCDEF10); + VDUP(vector, q, float, f, 32, 4, 18.2f); /* Apply the operator */ TEST_VRSQRTE(, uint, u, 32, 2); @@ -82,8 +82,8 @@ void exec_vrsqrte(void) /* Don't test FP variants with negative inputs: the result depends on the platform */ /* Choose init value arbitrarily */ - TEST_VDUP(vector, , uint, u, 32, 2, 0xFFFFFFFF); - TEST_VDUP(vector, q, uint, u, 32, 4, 0x89081234); + VDUP(vector, , uint, u, 32, 2, 0xFFFFFFFF); + VDUP(vector, q, uint, u, 32, 4, 0x89081234); /* Apply the operator */ TEST_VRSQRTE(, uint, u, 32, 2); @@ -94,8 +94,8 @@ void exec_vrsqrte(void) DUMP(TEST_MSG, uint, 32, 4, PRIx32); /* Choose init value arbitrarily */ - TEST_VDUP(vector, , uint, u, 32, 2, 0x80000000); - TEST_VDUP(vector, q, uint, u, 32, 4, 0x4ABCDEF0); + VDUP(vector, , uint, u, 32, 2, 0x80000000); + VDUP(vector, q, uint, u, 32, 4, 0x4ABCDEF0); /* Apply the operator */ TEST_VRSQRTE(, uint, u, 32, 2); @@ -106,8 +106,8 @@ void exec_vrsqrte(void) DUMP(TEST_MSG, uint, 32, 4, PRIx32); /* Test FP variants with special input values (NaNs, ...) */ - TEST_VDUP(vector, , float, f, 32, 2, NAN); - TEST_VDUP(vector, q, float, f, 32, 4, 0.0f); + VDUP(vector, , float, f, 32, 2, NAN); + VDUP(vector, q, float, f, 32, 4, 0.0f); /* Apply the operator */ TEST_VRSQRTE(, float, f, 32, 2); @@ -118,8 +118,8 @@ void exec_vrsqrte(void) DUMP_FP(TEST_MSG, float, 32, 4, PRIx32); /* Test FP variants with special input values (negative, infinity) */ - TEST_VDUP(vector, , float, f, 32, 2, -1.0f); - TEST_VDUP(vector, q, float, f, 32, 4, HUGE_VALF); + VDUP(vector, , float, f, 32, 2, -1.0f); + VDUP(vector, q, float, f, 32, 4, HUGE_VALF); /* Apply the operator */ TEST_VRSQRTE(, float, f, 32, 2); @@ -130,8 +130,8 @@ void exec_vrsqrte(void) DUMP_FP(TEST_MSG, float, 32, 4, PRIx32); /* Test FP variants with special input values (-0, -infinity) */ - TEST_VDUP(vector, , float, f, 32, 2, -0.0f); - TEST_VDUP(vector, q, float, f, 32, 4, -HUGE_VALF); + VDUP(vector, , float, f, 32, 2, -0.0f); + VDUP(vector, q, float, f, 32, 4, -HUGE_VALF); /* Apply the operator */ TEST_VRSQRTE(, float, f, 32, 2); |