From b5f9dfd1a18bd46d8f9132b37f034351015bd204 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 9 Dec 1994 20:16:06 +0000 Subject: [PATCH] Remove extra shift and OR of CHARMASK. --- sysdeps/alpha/memchr.c | 3 +-- sysdeps/alpha/strchr.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sysdeps/alpha/memchr.c b/sysdeps/alpha/memchr.c index c6f99bfd6f..11ff542f25 100644 --- a/sysdeps/alpha/memchr.c +++ b/sysdeps/alpha/memchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -47,7 +47,6 @@ memchr (const void *s, int c, size_t n) charmask = c | (c << 8); charmask |= charmask << 16; charmask |= charmask << 32; - charmask |= charmask << 64; for (;;) { diff --git a/sysdeps/alpha/strchr.c b/sysdeps/alpha/strchr.c index fc56d518cc..666e0c0196 100644 --- a/sysdeps/alpha/strchr.c +++ b/sysdeps/alpha/strchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -43,7 +43,6 @@ strchr (const char *str, int c) charmask = c | (c << 8); charmask |= charmask << 16; charmask |= charmask << 32; - charmask |= charmask << 64; for (;;) { -- 2.43.5