diff options
author | camthesaxman <camthesaxman@users.noreply.github.com> | 2020-01-30 02:12:24 -0600 |
---|---|---|
committer | camthesaxman <camthesaxman@users.noreply.github.com> | 2020-01-30 02:12:24 -0600 |
commit | 3397016bff4dd62706f7d807a5196e79ae9c30b6 (patch) | |
tree | 98e90037403f29116f3ea6d0d8a1ba3623f4e968 /gcc_arm/testsuite/gcc.c-torture/execute/memcpy-bi.c | |
parent | 4f87fae05b87cefd4f8fc0b2b18e639b0fad25fc (diff) |
delete test suite
Diffstat (limited to 'gcc_arm/testsuite/gcc.c-torture/execute/memcpy-bi.c')
-rwxr-xr-x | gcc_arm/testsuite/gcc.c-torture/execute/memcpy-bi.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/gcc_arm/testsuite/gcc.c-torture/execute/memcpy-bi.c b/gcc_arm/testsuite/gcc.c-torture/execute/memcpy-bi.c deleted file mode 100755 index c6d6e03..0000000 --- a/gcc_arm/testsuite/gcc.c-torture/execute/memcpy-bi.c +++ /dev/null @@ -1,52 +0,0 @@ -/* Test builtin-memcpy (which may emit different code for different N). */ - -#define TESTSIZE 80 - -char src[TESTSIZE] __attribute__ ((aligned)); -char dst[TESTSIZE] __attribute__ ((aligned)); - -void -check (char *test, char *match, int n) -{ - if (memcmp (test, match, n)) - abort (); -} - -#define TN(n) \ -{ memset (dst, 0, n); memcpy (dst, src, n); check (dst, src, n); } -#define T(n) \ -TN (n) \ -TN ((n) + 1) \ -TN ((n) + 2) \ -TN ((n) + 3) - -main () -{ - int i,j; - - for (i = 0; i < sizeof (src); ++i) - src[i] = 'a' + i % 26; - - T (0); - T (4); - T (8); - T (12); - T (16); - T (20); - T (24); - T (28); - T (32); - T (36); - T (40); - T (44); - T (48); - T (52); - T (56); - T (60); - T (64); - T (68); - T (72); - T (76); - - return 0; -} |