diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2011-07-19 16:30:50 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@st.com> | 2011-07-19 16:30:50 +0200 |
commit | bd9ecf4db9bba1231667eac1468d9155d46a5e4f (patch) | |
tree | 118945e27d7a4bb1468f0a48e7a87db78d8a4d44 /ref_vcvt.c | |
parent | 6f4d36f3deebf87b2710b5b7b5b30e8b2b60c285 (diff) | |
download | platform_external_arm-neon-tests-bd9ecf4db9bba1231667eac1468d9155d46a5e4f.tar.gz platform_external_arm-neon-tests-bd9ecf4db9bba1231667eac1468d9155d46a5e4f.tar.bz2 platform_external_arm-neon-tests-bd9ecf4db9bba1231667eac1468d9155d46a5e4f.zip |
Merge from SVN #531
[CL] add 'f' suffix to 'float' constants
Diffstat (limited to 'ref_vcvt.c')
-rw-r--r-- | ref_vcvt.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -80,10 +80,10 @@ void exec_vcvt (void) /* Make sure some elements have a fractional part, to exercise integer conversions */ - TEST_VSET_LANE(vector, , float, f, 32, 2, 0, -15.3); - TEST_VSET_LANE(vector, , float, f, 32, 2, 1, 5.3); - TEST_VSET_LANE(vector, q, float, f, 32, 4, 2, -15.3); - TEST_VSET_LANE(vector, q, float, f, 32, 4, 3, 5.3); + TEST_VSET_LANE(vector, , float, f, 32, 2, 0, -15.3f); + TEST_VSET_LANE(vector, , float, f, 32, 2, 1, 5.3f); + TEST_VSET_LANE(vector, q, float, f, 32, 4, 2, -15.3f); + TEST_VSET_LANE(vector, q, float, f, 32, 4, 3, 5.3f); /* The same result buffers are used multiple times, so we output them before overwriting them */ @@ -131,8 +131,8 @@ void exec_vcvt (void) #undef TEST_MSG #define TEST_MSG "VCVT/VCVTQ" fprintf(ref_file, "\n%s output:\n", TEST_MSG " (check rounding)"); - TEST_VDUP(vector, , float, f, 32, 2, 10.4); - TEST_VDUP(vector, q, float, f, 32, 4, 125.9); + TEST_VDUP(vector, , float, f, 32, 2, 10.4f); + TEST_VDUP(vector, q, float, f, 32, 4, 125.9f); /* vcvt_xx_f32 */ TEST_VCVT(, int, s, 32, 2, float, f); TEST_VCVT(, uint, u, 32, 2, float, f); |