1*40865Sbostic /*- 2*40865Sbostic * Copyright (c) 1979 The Regents of the University of California. 3*40865Sbostic * All rights reserved. 4*40865Sbostic * 5*40865Sbostic * %sccs.include.redist.c% 6*40865Sbostic */ 71693Smckusick 8*40865Sbostic #ifndef lint 9*40865Sbostic static char sccsid[] = "@(#)RELTLT.c 1.3 (Berkeley) 04/09/90"; 10*40865Sbostic #endif /* not lint */ 111693Smckusick 121693Smckusick #include "h00vars.h" 131693Smckusick 143024Smckusic bool 151693Smckusick RELTLT(bytecnt, left, right) 161693Smckusick 173024Smckusic long bytecnt; 181693Smckusick register long *left; 191693Smckusick register long *right; 201693Smckusick { 211693Smckusick register int longcnt; 221693Smckusick 231693Smckusick longcnt = bytecnt >> 2; 241693Smckusick do { 251693Smckusick if ((*left & ~*right) != 0) 261693Smckusick return FALSE; 271693Smckusick if ((*right++ & ~*left++) != 0) 281693Smckusick goto leq; 291693Smckusick } while (--longcnt); 301693Smckusick return FALSE; 311693Smckusick leq: 321693Smckusick while (--longcnt) { 331693Smckusick if ((*left++ & ~*right++) != 0) 341693Smckusick return FALSE; 351693Smckusick } 361693Smckusick return TRUE; 371693Smckusick } 38