Deleted Added
full compact
ffs.S (84552) ffs.S (111777)
1/* $FreeBSD: head/lib/libc/ia64/string/ffs.S 84552 2001-10-05 18:52:42Z dfr $ */
2/* $NetBSD: ffs.S,v 1.3 1996/10/17 03:08:13 cgd Exp $ */
3
4/*
5 * Copyright (c) 1995 Christopher G. Demetriou
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 18 unchanged lines hidden (view full) ---

28 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */
34
35#include <machine/asm.h>
1/* $NetBSD: ffs.S,v 1.3 1996/10/17 03:08:13 cgd Exp $ */
2
3/*
4 * Copyright (c) 1995 Christopher G. Demetriou
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 18 unchanged lines hidden (view full) ---

27 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34#include <machine/asm.h>
35__FBSDID("$FreeBSD: head/lib/libc/ia64/string/ffs.S 111777 2003-03-03 01:09:46Z obrien $");
36
37ENTRY(ffs, 1)
38 sxt4 r14=in0 ;;
39 cmp.eq p6,p0=r14,r0
40(p6) br.dpnt.few Lallzero
41
42 /*
43 * Initialize return value (ret0), and set up r15 so that it

--- 56 unchanged lines hidden ---
36
37ENTRY(ffs, 1)
38 sxt4 r14=in0 ;;
39 cmp.eq p6,p0=r14,r0
40(p6) br.dpnt.few Lallzero
41
42 /*
43 * Initialize return value (ret0), and set up r15 so that it

--- 56 unchanged lines hidden ---