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/unsorted/bcopy.c | |
parent | 4f87fae05b87cefd4f8fc0b2b18e639b0fad25fc (diff) |
delete test suite
Diffstat (limited to 'gcc_arm/testsuite/gcc.c-torture/unsorted/bcopy.c')
-rwxr-xr-x | gcc_arm/testsuite/gcc.c-torture/unsorted/bcopy.c | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/gcc_arm/testsuite/gcc.c-torture/unsorted/bcopy.c b/gcc_arm/testsuite/gcc.c-torture/unsorted/bcopy.c deleted file mode 100755 index 1732b34..0000000 --- a/gcc_arm/testsuite/gcc.c-torture/unsorted/bcopy.c +++ /dev/null @@ -1,64 +0,0 @@ -void -bcopy1 (s, d, c) - long long *s; - long long *d; - int c; -{ - int i; - c = c / 8; - for (i = 0; i < c; i++) - d[i] = s[i]; -} - -void -bcopy2 (s, d, c) - long *s; - long *d; - int c; -{ - int i; - c = c / 4; - for (i = 0; i < c; i++) - d[i] = s[i]; -} - - -void -bcopy3 (s, d, c) - char *s; - char *d; - int c; -{ - long long z0, z1; - int r = d - s; - - int i; - - c /= 16; - - z0 = *((long long *) s); - s += 8; - z1 = *((long long *) s); - s += 8; - for (i = 0; i < c; i++) - { - *(long long *)(s + r) = z0; - z0 = *((long long *) s); - s += 8; - *(long long *)(s + r) = z1; - z1 = *((long long *) s); - s += 8; - } -} - -#define BYTES 16384 - -main () -{ - long long s[BYTES / 8]; - long long d[BYTES / 8]; - int i; - - for (i = 1; i < 67108864 / BYTES; i++) - bcopy (s, d, BYTES); -} |