diff options
author | Alan Lawrence <alan.lawrence@arm.com> | 2015-07-29 14:27:21 +0000 |
---|---|---|
committer | Alan Lawrence <alalaw01@gcc.gnu.org> | 2015-07-29 14:27:21 +0000 |
commit | c5ce61b0a5c554a003b99b250796ee6d0f782c54 (patch) | |
tree | dfa0e16fd82b2152ca405b00d2ec97f03a13cf40 | |
parent | a7c5a3cc002bde9f10e575a22ed7fdd43d892bc3 (diff) | |
download | gcc-c5ce61b0a5c554a003b99b250796ee6d0f782c54.zip gcc-c5ce61b0a5c554a003b99b250796ee6d0f782c54.tar.gz gcc-c5ce61b0a5c554a003b99b250796ee6d0f782c54.tar.bz2 |
[AArch64 Testsuite] vld1_lane.c: Remove unused test data
(taken from [AArch64] Add support for float14x{4,8}_t vectors/builtins)
* gcc.target/aarch64/vld1_lane.c (main): Remove unused test data.
(CHECK): Pass address of scalar, rather than array.
From-SVN: r226353
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/vld1_lane.c | 29 |
2 files changed, 19 insertions, 15 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 798df4b..3d72f47 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2015-07-29 Alan Lawrence <alan.lawrence@arm.com> + * gcc.target/aarch64/vld1_lane.c (main): Remove unused test data. + (CHECK): Pass address of scalar, rather than array. + +2015-07-29 Alan Lawrence <alan.lawrence@arm.com> + * gcc.target/aarch64/vld1-vst1_1.c: Add missing float32x4_t case. 2015-07-29 Alan Lawrence <alan.lawrence@arm.com> diff --git a/gcc/testsuite/gcc.target/aarch64/vld1_lane.c b/gcc/testsuite/gcc.target/aarch64/vld1_lane.c index c2445f8..463c88c 100644 --- a/gcc/testsuite/gcc.target/aarch64/vld1_lane.c +++ b/gcc/testsuite/gcc.target/aarch64/vld1_lane.c @@ -56,7 +56,7 @@ VARIANTS (TESTMETH) #define CHECK(BASE, Q, ELTS, SUFFIX, LANE) \ if (test_vld1##Q##_lane##SUFFIX ((const BASE##_t *)orig_data, \ - BASE##_data) != 0) \ + & BASE##_data) != 0) \ abort (); int @@ -65,20 +65,19 @@ main (int argc, char **argv) /* Original data for all vector formats. */ uint64_t orig_data[2] = {0x1234567890abcdefULL, 0x13579bdf02468aceULL}; - /* Data with which vldN_lane will overwrite some of previous. */ - uint8_t uint8_data[4] = { 7, 11, 13, 17 }; - uint16_t uint16_data[4] = { 257, 263, 269, 271 }; - uint32_t uint32_data[4] = { 65537, 65539, 65543, 65551 }; - uint64_t uint64_data[4] = { 0xdeadbeefcafebabeULL, 0x0123456789abcdefULL, - 0xfedcba9876543210LL, 0xdeadbabecafebeefLL }; - int8_t int8_data[4] = { -1, 3, -5, 7 }; - int16_t int16_data[4] = { 257, -259, 261, -263 }; - int32_t int32_data[4] = { 123456789, -987654321, -135792468, 975318642 }; - int64_t *int64_data = (int64_t *)uint64_data; - poly8_t poly8_data[4] = { 0, 7, 13, 18, }; - poly16_t poly16_data[4] = { 11111, 2222, 333, 44 }; - float32_t float32_data[4] = { 3.14159, 2.718, 1.414, 100.0 }; - float64_t float64_data[4] = { 1.010010001, 12345.6789, -9876.54321, 1.618 }; + /* Data with which vld1_lane will overwrite one element of previous. */ + uint8_t uint8_data = 7; + uint16_t uint16_data = 257; + uint32_t uint32_data = 65537; + uint64_t uint64_data = 0xdeadbeefcafebabeULL; + int8_t int8_data = -1; + int16_t int16_data = -259; + int32_t int32_data = -987654321; + int64_t int64_data = 0x1234567890abcdefLL; + poly8_t poly8_data = 13; + poly16_t poly16_data = 11111; + float32_t float32_data = 3.14159; + float64_t float64_data = 1.010010001; VARIANTS (CHECK); return 0; |