repo_id
string
size
int64
file_path
string
content
string
wbx-github/uclibc-ng
3,676
libc/sysdeps/linux/hppa/crt1.S
/* ELF startup code for HPPA. Copyright (C) 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; eith...
wbx-github/uclibc-ng
7,501
libc/sysdeps/linux/sparc/sparcv7/sdiv.S
/* This file is generated from divrem.m4; DO NOT EDIT! */ /* * Division and remainder, from Appendix E of the Sparc Version 8 * Architecture Manual, with fixes from Gordon Irlam. */ /* * Input: dividend and divisor in %o0 and %o1 respectively. * * m4 parameters: * .div name of function to generate * div ...
wbx-github/uclibc-ng
7,504
libc/sysdeps/linux/sparc/sparcv7/rem.S
/* This file is generated from divrem.m4; DO NOT EDIT! */ /* * Division and remainder, from Appendix E of the Sparc Version 8 * Architecture Manual, with fixes from Gordon Irlam. */ /* * Input: dividend and divisor in %o0 and %o1 respectively. * * m4 parameters: * .rem name of function to generate * rem ...
wbx-github/uclibc-ng
4,591
libc/sysdeps/linux/sparc/sparcv7/umul.S
/* * Unsigned multiply. Returns %o0 * %o1 in %o1%o0 (i.e., %o1 holds the * upper 32 bits of the 64-bit product). * * This code optimizes short (less than 13-bit) multiplies. Short * multiplies require 25 instruction cycles, and long ones require * 45 instruction cycles. * * On return, overflow has occurred (%...
wbx-github/uclibc-ng
6,993
libc/sysdeps/linux/sparc/sparcv7/udiv.S
/* This file is generated from divrem.m4; DO NOT EDIT! */ /* * Division and remainder, from Appendix E of the Sparc Version 8 * Architecture Manual, with fixes from Gordon Irlam. */ /* * Input: dividend and divisor in %o0 and %o1 respectively. * * m4 parameters: * .udiv name of function to generate * div ...
wbx-github/uclibc-ng
6,995
libc/sysdeps/linux/sparc/sparcv7/urem.S
/* This file is generated from divrem.m4; DO NOT EDIT! */ /* * Division and remainder, from Appendix E of the Sparc Version 8 * Architecture Manual, with fixes from Gordon Irlam. */ /* * Input: dividend and divisor in %o0 and %o1 respectively. * * m4 parameters: * .urem name of function to generate * rem ...
wbx-github/uclibc-ng
1,055
libc/sysdeps/linux/sparc64/soft-fp/qp_neg.S
/* Quad floating-point emulation. (*c) = !(*a) Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek (jj@ultra.linux.cz). The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesse...
wbx-github/uclibc-ng
3,466
libc/string/kvx/memcpy.S
/* * Copyright (C) 2020 Kalray Inc. * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB * in this tarball. */ #include <sysdep.h> .align 16 ENTRY(memcpy) cb.deqz $r2? .Lreturn compd.geu $r3 = $r2, 256 copyd $r6 = $r0 ;; cb.deqz $r3? .Lremaining_256 ;; lq.u $r32r33 = 0[$r1] addd $r2 = $r2,...
wbx-github/uclibc-ng
4,203
libc/string/kvx/memset.S
/* * Copyright (C) 2019 Kalray Inc. * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB * in this tarball. */ #define REPLICATE_BYTE_MASK 0x0101010101010101 #define MIN_SIZE_FOR_ALIGN 128 /* * Optimized memset for kvx architecture * * In order to optimize memset on kvx, we can use various thin...
wbx-github/uclibc-ng
5,620
libc/string/aarch64/memcpy.S
/* Copyright (C) 2012-2017 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 Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later vers...
wbx-github/uclibc-ng
4,186
libc/string/aarch64/memset.S
/* Copyright (C) 2012-2017 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 Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later vers...
wbx-github/uclibc-ng
8,355
libc/string/ia64/bzero.S
/* Optimized version of the standard bzero() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Dan Pop for Itanium <Dan.Pop@cern.ch>. Rewritten for McKinley by Sverre Jarp, HP Labs/CERN <Sverre.Jarp@cern.ch> The GNU C Library i...
wbx-github/uclibc-ng
4,103
libc/string/ia64/memchr.S
/* Optimized version of the standard memchr() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
wbx-github/uclibc-ng
5,163
libc/string/ia64/memcmp.S
/* Optimized version of the standard memcmp() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
wbx-github/uclibc-ng
11,245
libc/string/ia64/memcpy.S
/* Optimized version of the standard memcpy() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Dan Pop for Itanium <Dan.Pop@cern.ch>. Rewritten for McKinley by Sverre Jarp, HP Labs/CERN <Sverre.Jarp@cern.ch> The GNU C Library ...
wbx-github/uclibc-ng
6,336
libc/string/ia64/memccpy.S
/* Optimized version of the memccpy() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser G...
wbx-github/uclibc-ng
3,331
libc/string/ia64/strchr.S
/* Optimized version of the standard strchr() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
wbx-github/uclibc-ng
1,740
libc/string/ia64/strncmp.S
/* Optimized version of the standard strncmp() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU...
wbx-github/uclibc-ng
4,130
libc/string/ia64/strcpy.S
/* Optimized version of the standard strcpy() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
wbx-github/uclibc-ng
8,221
libc/string/ia64/memmove.S
/* Optimized version of the standard memmove() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU...
wbx-github/uclibc-ng
10,547
libc/string/ia64/memset.S
/* Optimized version of the standard memset() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Contributed by Dan Pop for Itanium <Dan.Pop@cern.ch>. Rewritten for McKinley by Sverre Jarp, HP Labs/CERN <Sverre.Jarp@cern.ch> The GNU C Li...
wbx-github/uclibc-ng
6,205
libc/string/ia64/strncpy.S
/* Optimized version of the standard strncpy() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch> and Jakub Jelinek <jakub@redhat.com>. The GNU C Library is free software; you can redistribute...
wbx-github/uclibc-ng
2,861
libc/string/ia64/strlen.S
/* Optimized version of the standard strlen() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2003, 2005 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of th...
wbx-github/uclibc-ng
1,617
libc/string/ia64/strcmp.S
/* Optimized version of the standard strcmp() function. This file is part of the GNU C Library. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
wbx-github/uclibc-ng
1,838
libc/string/avr32/memcpy.S
/* * Copyright (C) 2004-2007 Atmel Corporation * * This file is subject to the terms and conditions of the GNU Lesser General * Public License. See the file "COPYING.LIB" in the main directory of this * archive for more details. */ /* Don't use r12 as dst since we must return it unmodified */ #define dst r9 #de...
wbx-github/uclibc-ng
1,866
libc/string/avr32/memmove.S
/* * Copyright (C) 2004-2007 Atmel Corporation * * This file is subject to the terms and conditions of the GNU Lesser General * Public License. See the file "COPYING.LIB" in the main directory of this * archive for more details. */ #define dst r12 #define src r11 #define len r10 .text .global memmove .type ...
wbx-github/uclibc-ng
1,446
libc/string/avr32/strcmp.S
/* * Copyright (C) 2004-2007 Atmel Corporation * * This file is subject to the terms and conditions of the GNU Lesser General * Public License. See the file "COPYING.LIB" in the main directory of this * archive for more details. */ #include <features.h> #define s1 r12 #define s2 r11 #define len r10 .text .g...
wbx-github/uclibc-ng
2,306
libc/string/x86_64/memcpy.S
/* Highly optimized version for x86-64. Copyright (C) 1997, 2000, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Based on i586 version contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. The GNU C Library is free software; you can redistribute it and/or mod...
wbx-github/uclibc-ng
11,196
libc/string/x86_64/strchr.S
/* strchr (str, ch) -- Return pointer to first occurrence of CH in STR. For AMD x86-64. Copyright (C) 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
wbx-github/uclibc-ng
4,496
libc/string/x86_64/strspn.S
/* strspn (str, ss) -- Return the length of the initial segment of STR which contains only characters from SS. For AMD x86-64. Copyright (C) 1994-1997, 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit....
wbx-github/uclibc-ng
5,372
libc/string/x86_64/strcpy.S
/* strcpy/stpcpy implementation for x86-64. Copyright (C) 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>, 2002. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
wbx-github/uclibc-ng
3,215
libc/string/x86_64/memset.S
/* memset/bzero -- set memory area to CH/0 Optimized version for x86-64. Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>. The GNU C Library is free software; you can redistribute it and/or modify it...
wbx-github/uclibc-ng
5,101
libc/string/x86_64/strlen.S
/* strlen(str) -- determine the length of the string STR. Copyright (C) 2002, 2003 Free Software Foundation, Inc. Based on i486 version contributed by Ulrich Drepper <drepper@redhat.com>. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it...
wbx-github/uclibc-ng
4,799
libc/string/x86_64/strcspn.S
/* strcspn (str, ss) -- Return the length of the initial segment of STR which contains no characters from SS. For AMD x86-64. Copyright (C) 1994-1997, 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.e...
wbx-github/uclibc-ng
9,167
libc/string/x86_64/strcat.S
/* strcat(dest, src) -- Append SRC on the end of DEST. Optimized for x86-64. Copyright (C) 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>, 2002. The GNU C Library is free software; you can redistribute it and/or modify it under t...
wbx-github/uclibc-ng
1,326
libc/string/x86_64/strcmp.S
/* Highly optimized version for x86-64. Copyright (C) 1999, 2000, 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Based on i686 version contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. The GNU C Library is free software; you can redistribute it and/or ...
wbx-github/uclibc-ng
2,429
libc/string/arm/bzero.S
/*- * Copyright (c) 1997 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Neil A. Carson and Mark Brinicombe * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
wbx-github/uclibc-ng
2,360
libc/string/arm/memcmp.S
/* * Copyright (c) 2002 ARM Ltd * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
wbx-github/uclibc-ng
2,336
libc/string/arm/memcpy.S
/*- * Copyright (c) 1997 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Neil A. Carson and Mark Brinicombe * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
wbx-github/uclibc-ng
16,891
libc/string/arm/_memcpy.S
/*- * Copyright (c) 1997 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Neil A. Carson and Mark Brinicombe * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
wbx-github/uclibc-ng
2,344
libc/string/arm/memmove.S
/*- * Copyright (c) 1997 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Neil A. Carson and Mark Brinicombe * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
wbx-github/uclibc-ng
2,629
libc/string/arm/memset.S
/* Copyright (C) 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Philip Blundell <philb@gnu.org> The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Softw...
wbx-github/uclibc-ng
3,470
libc/string/arm/strlen.S
/* Copyright (C) 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Code contributed by Matthew Wilcox <willy@odie.barnet.ac.uk> The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by ...
wbx-github/uclibc-ng
2,562
libc/string/arm/bcopy.S
/*- * Copyright (c) 1997 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Neil A. Carson and Mark Brinicombe * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
wbx-github/uclibc-ng
2,180
libc/string/arm/strcmp.S
/* * Copyright (c) 2002 ARM Ltd * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
wbx-github/uclibc-ng
10,196
libc/string/microblaze/memcpy.S
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2008 Jim Law - Iris LP All rights reserved. * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in the main directory of this * archive for...
wbx-github/uclibc-ng
10,783
libc/string/microblaze/memmove.S
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2008 Jim Law - Iris LP All rights reserved. * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in the main directory of this * archive for...
wbx-github/uclibc-ng
6,143
libc/string/xtensa/memcpy.S
/* Optimized memcpy for Xtensa. Copyright (C) 2001, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
wbx-github/uclibc-ng
3,872
libc/string/xtensa/strcpy.S
/* Optimized strcpy for Xtensa. Copyright (C) 2001, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
wbx-github/uclibc-ng
3,592
libc/string/xtensa/memset.S
/* Optimized memset for Xtensa. Copyright (C) 2001, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
wbx-github/uclibc-ng
6,072
libc/string/xtensa/strncpy.S
/* Optimized strcpy for Xtensa. Copyright (C) 2001, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
wbx-github/uclibc-ng
3,003
libc/string/xtensa/strlen.S
/* Optimized strlen for Xtensa. Copyright (C) 2001, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
wbx-github/uclibc-ng
8,693
libc/string/xtensa/strcmp.S
/* Optimized strcmp for Xtensa. Copyright (C) 2001, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
wbx-github/uclibc-ng
3,636
libc/string/metag/memchr.S
! Copyright (C) 2013 Imagination Technologies Ltd. ! ! Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball. .text .global _memchr .type _memchr,function ! D0Ar6 src ! D0Ar2 c ! D1Ar3 n _memchr: CMP D1Ar3, #0 BEQ $Lexit_fail !! convert c to unsigned char AND D0Ar2,D0Ar2,#0xf...
wbx-github/uclibc-ng
4,960
libc/string/metag/memcpy.S
! Copyright (C) 2013 Imagination Technologies Ltd. ! Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball. .text .global _memcpy .type _memcpy,function ! D1Ar1 dst ! D0Ar2 src ! D1Ar3 cnt ! D0Re0 dst _memcpy: CMP D1Ar3, #16 MOV A1.2, D0Ar2 ! source pointer MOV A0.2, D1Ar1 ! des...
wbx-github/uclibc-ng
6,500
libc/string/metag/strchr.S
! Copyright (C) 2013 Imagination Technologies Ltd. ! Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball. #include <features.h> .text .global _strchr .type _strchr, function ! D1Ar1 src ! D0Ar2 c _strchr: AND D0Ar2,D0Ar2,#0xff ! Drop all but 8 bits of ...
wbx-github/uclibc-ng
1,727
libc/string/metag/strcpy.S
! Copyright (C) 2013 Imagination Technologies Ltd. ! Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball. .text .global _strcpy .type _strcpy,function ! D1Ar1 dst ! D0Ar2 src _strcpy: MOV A1.2, D1Ar1 ! test 4 byte alignment of src ANDS D0Ar4, D0Ar2, #3 BNZ $Lbyteloop ! test 4...
wbx-github/uclibc-ng
6,675
libc/string/metag/memmove.S
! Copyright (C) 2013 Imagination Technologies Ltd. ! Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball. .text .global _memmove .type _memmove,function ! D1Ar1 dst ! D0Ar2 src ! D1Ar3 cnt ! D0Re0 dst _memmove: CMP D1Ar3, #0 MOV D0Re0, D1Ar1 BZ $LEND2 MSETL [A0StP], D0.5, D0....
wbx-github/uclibc-ng
2,410
libc/string/metag/memset.S
! Copyright (C) 2013 Imagination Technologies Ltd. ! Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball. .text .global _memset .type _memset,function ! D1Ar1 dst ! D0Ar2 c ! D1Ar3 cnt ! D0Re0 dst _memset: AND D0Ar2,D0Ar2,#0xFF ! Ensure a byte input value MULW D0Ar2,D0Ar2,#0x0101 ...
wbx-github/uclibc-ng
1,887
libc/string/metag/strcmp.S
! Copyright (C) 2013 Imagination Technologies Ltd. ! Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball. #include <features.h> .text .global _strcmp .type _strcmp,function !D1Ar1 s1 !D0Ar2 s2 _strcmp: TST D1Ar1,#3 TSTZ D0Ar2,#3 MOVT D1Re0,#0x0101 ADD D1Re0,D1Re0,#0x0101 BNZ $L...
wbx-github/uclibc-ng
25,690
libc/string/mips/memcpy.S
/* Copyright (C) 2012-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
wbx-github/uclibc-ng
12,962
libc/string/mips/memset.S
/* Copyright (C) 2013-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
wbx-github/uclibc-ng
4,448
libc/string/arc/memcmp.S
/* * Copyright (C) 2013, 2022 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2007 ARC International (UK) LTD * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. */ #include <sysdep.h> #include <features.h> #ifdef __LITTLE_ENDIAN__ #define WORD2 r2 #define SHIFT r3 #else /* BIG...
wbx-github/uclibc-ng
7,378
libc/string/arc/memcpy.S
/* * Copyright (C) 2013, 2014-2015, 2017, 2022 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2007 ARC International (UK) LTD * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. */ #include <sysdep.h> ENTRY(memcpy) #if defined(__ARC700__) /* This memcpy implementation does no...
wbx-github/uclibc-ng
2,777
libc/string/arc/strchr.S
/* * Copyright (C) 2013, 2022 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2007 ARC International (UK) LTD * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. */ #include <sysdep.h> #include <features.h> #include <asm.h> /* ARC700 has a relatively long pipeline and branch pr...
wbx-github/uclibc-ng
1,489
libc/string/arc/strcpy.S
/* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2007 ARC International (UK) LTD * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. */ #include <sysdep.h> /* If dst and src are 4 byte aligned, copy 8 bytes at a time. If the src is 4, but not 8 byte a...
wbx-github/uclibc-ng
3,833
libc/string/arc/memset.S
/* * Copyright (C) 2013, 2014-2015, 2017, 2022 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2007 ARC International (UK) LTD * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. */ #include <sysdep.h> ENTRY(memset) #if defined(__ARC700__) #define SMALL 7 /* Must be at least 6...
wbx-github/uclibc-ng
1,414
libc/string/arc/strlen.S
/* * Copyright (C) 2013, 2022 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2007 ARC International (UK) LTD * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. */ #include <sysdep.h> #include <asm.h> ENTRY(strlen) or r3,r0,7 ld r2,[r3,-7] ld.a r6,[r3,-3] mov r4,0x0101010...
wbx-github/uclibc-ng
3,870
libc/string/arc/strcmp.S
/* * Copyright (C) 2013, 2014-2015, 2017, 2022 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2007 ARC International (UK) LTD * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. */ #include <features.h> #include <sysdep.h> #include <asm.h> ENTRY(strcmp) #if defined(__ARC700__...
wbx-github/uclibc-ng
2,532
libc/string/nds32/memcpy.S
/* * Copyright (C) 2016-2017 Andes Technology, Inc. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include <sysdep.h> !========================================================== ! void *memcpy(void *dst, const void *src, int n); ! ! dst: $r0 ! src: $r1 ! n : $r2...
wbx-github/uclibc-ng
2,383
libc/string/nds32/memset.S
/* * Copyright (C) 2016-2017 Andes Technology, Inc. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ /* Copyright (C) 1998, 2003 Free Software Foundation, Inc. * Contributed by Philip Blundell <philb@gnu.org> * * The GNU C Library is free software; you can redistribute it and/or *...
wbx-github/uclibc-ng
1,036
libc/string/bfin/memchr.S
/* memchr.S * Copyright (C) 2003-2007 Analog Devices Inc., All Rights Reserved. * * This file is subject to the terms and conditions of the GNU Library General * Public License. See the file "COPYING.LIB" in the main directory of this * archive for more details. * * Non-LGPL License also available as part of Vis...
wbx-github/uclibc-ng
2,282
libc/string/bfin/memcmp.S
/* memcmp.S * Copyright (C) 2003-2007 Analog Devices Inc., All Rights Reserved. * * This file is subject to the terms and conditions of the GNU Library General * Public License. See the file "COPYING.LIB" in the main directory of this * archive for more details. * * Non-LGPL License also available as part of Vis...
wbx-github/uclibc-ng
1,959
libc/string/bfin/memcpy.S
/* memcpy.S * Copyright (C) 2003-2007 Analog Devices Inc., All Rights Reserved. * * This file is subject to the terms and conditions of the GNU Library General * Public License. See the file "COPYING.LIB" in the main directory of this * archive for more details. * * Non-LGPL License also available as part of Vis...
wbx-github/uclibc-ng
2,455
libc/string/bfin/memmove.S
/* memmove.S * Copyright (C) 2003-2007 Analog Devices Inc., All Rights Reserved. * * This file is subject to the terms and conditions of the GNU Library General * Public License. See the file "COPYING.LIB" in the main directory of this * archive for more details. * * Non-LGPL License also available as part of Vi...
wbx-github/uclibc-ng
2,091
libc/string/bfin/memset.S
/* memset.S * Copyright (C) 2003-2007 Analog Devices Inc., All Rights Reserved. * * This file is subject to the terms and conditions of the GNU Library General * Public License. See the file "COPYING.LIB" in the main directory of this * archive for more details. * * Non-LGPL License also available as part of Vis...
wbx-github/uclibc-ng
3,374
libc/string/bfin/strcmp.S
/* strcmp.S * Copyright (C) 2003-2007 Analog Devices Inc., All Rights Reserved. * * This file is subject to the terms and conditions of the GNU Library General * Public License. See the file "COPYING.LIB" in the main directory of this * archive for more details. * * Non-LGPL License also available as part of Vis...
wbx-github/uclibc-ng
3,161
libc/string/frv/memcpy.S
/* memcpy.S: optimised assembly memcpy * * Copyright (C) 2003, 2004 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the ...
wbx-github/uclibc-ng
4,405
libc/string/frv/memset.S
/* memset.S: optimised assembly memset * * Copyright (C) 2003, 2004 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the ...
wbx-github/uclibc-ng
3,183
libc/string/sparc/sparc32/memchr.S
/* memchr (str, ch, n) -- Return pointer to first occurrence of CH in STR less than N. For SPARC v7. Copyright (C) 1996, 1999, 2000, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jj@ultra.linux.cz> and David S. Miller <davem@caip.rutgers.edu...
wbx-github/uclibc-ng
22,282
libc/string/sparc/sparc32/memcpy.S
/* Copy SIZE bytes from SRC to DEST. For SPARC v7. Copyright (C) 1996, 1999, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David S. Miller <davem@caip.rutgers.edu>, Eddie C. Dost <ecd@skynet.be> and Jakub Jelinek <jj@ultra.linux.cz>. The...
wbx-github/uclibc-ng
5,962
libc/string/sparc/sparc32/strchr.S
/* strchr (str, ch) -- Return pointer to first occurrence of CH in STR. For SPARC v7. Copyright (C) 1996, 1999, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jj@ultra.linux.cz> and David S. Miller <davem@caip.rutgers.edu>. The GNU C Library...
wbx-github/uclibc-ng
5,635
libc/string/sparc/sparc32/strcpy.S
/* Copy SRC to DEST returning DEST. For SPARC v7. Copyright (C) 1996, 1999, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jj@ultra.linux.cz>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the...
wbx-github/uclibc-ng
3,519
libc/string/sparc/sparc32/memset.S
/* Set a block of memory to some byte value. For SPARC v7. Copyright (C) 1996, 1999, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David S. Miller <davem@caip.rutgers.edu> and Jakub Jelinek <jj@ultra.linux.cz>. The GNU C Library is free soft...
wbx-github/uclibc-ng
2,833
libc/string/sparc/sparc32/strlen.S
/* Determine the length of a string. For SPARC v7. Copyright (C) 1996, 1999, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jj@ultra.linux.cz>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of th...
wbx-github/uclibc-ng
6,769
libc/string/sparc/sparc32/strcat.S
/* strcat (dest, src) -- Append SRC on the end of DEST. For SPARC v7. Copyright (C) 1996, 1999, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jj@ultra.linux.cz>. The GNU C Library is free software; you can redistribute it and/or modify it un...
wbx-github/uclibc-ng
5,320
libc/string/sparc/sparc32/strcmp.S
/* Compare two strings for differences. For SPARC v7. Copyright (C) 1996, 97, 99, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jj@ultra.linux.cz>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms ...
wbx-github/uclibc-ng
3,892
libc/string/sparc/sparc32/stpcpy.S
/* Copy SRC to DEST returning the address of the terminating '\0' in DEST. For SPARC v7. Copyright (C) 1996, 1999, 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jj@ultra.linux.cz>. The GNU C Library is free software; you can redistribute ...
wbx-github/uclibc-ng
5,249
libc/string/csky/cskyv1/memcpy.S
/* * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd. * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB * in this tarball. */ .macro GET_FRONT_BITS rx ry #ifdef __cskyLE__ lsr \rx, \ry #else lsl \rx, \ry #endif .endm .macro GET_AFTER_BITS rx ry #ifdef ...
wbx-github/uclibc-ng
2,554
libc/string/csky/cskyv1/strcpy.S
/* * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd. * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB * in this tarball. */ #include <features.h> #include <endian.h> #ifdef WANT_WIDE # define Wstrcpy wcscpy #else # define Wstrcpy strcpy #endif .align 2 .global Wstrcpy .type Wstrc...
wbx-github/uclibc-ng
4,124
libc/string/csky/cskyv1/strcmp.S
/* * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd. * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB * in this tarball. */ #include <features.h> #include <endian.h> #ifdef WANT_WIDE # define Wstrcmp wcscmp # define Wstrcoll wcscoll #else # define Wstrcmp strcmp # define Wstrcoll strco...
wbx-github/uclibc-ng
2,416
libc/string/csky/cskyv2/abiv2_strcpy.S
/* * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd. * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB * in this tarball. */ #include <endian.h> #include "macro.S" #ifdef WANT_WIDE # define Wstrcpy wcscpy #else # define Wstrcpy strcpy #endif .align 2 .global Wstrcpy .type Wstrcpy,...
wbx-github/uclibc-ng
3,800
libc/string/csky/cskyv2/abiv2_strcmp.S
/* * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd. * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB * in this tarball. */ #include <endian.h> #include "macro.S" #ifdef WANT_WIDE # define Wstrcmp wcscmp # define Wstrcoll wcscoll #else # define Wstrcmp strcmp # define Wstrcoll strcoll ...
wbx-github/uclibc-ng
4,784
libc/string/csky/cskyv2/abiv2_memcpy.S
/* * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd. * * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB * in this tarball. */ .macro GET_FRONT_BITS rx ry #ifdef __cskyLE__ lsr \rx, \ry #else lsl \rx, \ry #endif .endm .macro GET_AFTER_BITS rx ry #ifdef ...
wbx-github/uclibc-ng
19,255
libc/string/sh/sh4/memcpy.S
/* * "memcpy" implementation of SuperH * * Copyright (C) 1999 Niibe Yutaka * Copyright (c) 2002 STMicroelectronics Ltd * Modified from memcpy.S and micro-optimised for SH4 * Stuart Menefy (stuart.menefy@st.com) * * Copyright (c) 2009 STMicroelectronics Ltd * Optimised using prefetching and 64bit data ...
wbx-github/uclibc-ng
2,635
libc/string/sh/sh4/memset.S
/* $Id: memset.S,v 1.1 2000/04/14 16:49:01 mjd Exp $ * * "memset" implementation of SuperH * * Copyright (C) 1999 Niibe Yutaka * * Copyright (c) 2009 STMicroelectronics Ltd * Optimised using 64bit data transfer (via FPU) and the movca.l inst. * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> * * Lic...
wbx-github/uclibc-ng
1,179
libpthread/nptl/sysdeps/i386/pthread_spin_unlock.S
/* Copyright (C) 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the...
wbx-github/uclibc-ng
1,166
libpthread/nptl/sysdeps/x86_64/pthread_spin_unlock.S
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published ...
wbx-github/uclibc-ng
1,194
libpthread/nptl/sysdeps/x86_64/pthread_spin_trylock.S
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published ...
wbx-github/uclibc-ng
1,089
libpthread/nptl/sysdeps/sh/pthread_spin_unlock.S
/* Copyright (C) 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Licen...