diff options
Diffstat (limited to 'libc/arch-mips/string')
| -rw-r--r-- | libc/arch-mips/string/memcpy.S | 6 | ||||
| -rw-r--r-- | libc/arch-mips/string/memset.S | 9 |
2 files changed, 7 insertions, 8 deletions
diff --git a/libc/arch-mips/string/memcpy.S b/libc/arch-mips/string/memcpy.S index aabdfcf..dc91096 100644 --- a/libc/arch-mips/string/memcpy.S +++ b/libc/arch-mips/string/memcpy.S @@ -39,13 +39,13 @@ * Include files ************************************************************************/ -#include "machine/asm.h" +#include <private/bionic_asm.h> -/* +/* * This routine could be optimized for MIPS64. The current code only * uses MIPS32 instructions. - */ + */ #if defined(__MIPSEB__) # define LWHI lwl /* high part is left in big-endian */ # define SWHI swl /* high part is left in big-endian */ diff --git a/libc/arch-mips/string/memset.S b/libc/arch-mips/string/memset.S index a1c5055..3e630ca 100644 --- a/libc/arch-mips/string/memset.S +++ b/libc/arch-mips/string/memset.S @@ -39,12 +39,12 @@ * Include files ************************************************************************/ -#include "machine/asm.h" +#include <private/bionic_asm.h> -/* +/* * This routine could be optimized for MIPS64. The current code only * uses MIPS32 instructions. - */ + */ #if defined(__MIPSEB__) # define SWHI swl /* high part is left in big-endian */ @@ -220,7 +220,7 @@ LEAF(memset,0) sw a1,-36(a0) nop nop # the extra nop instructions help to balance - nop # cycles needed for "store" + "fill" + "evict" + nop # cycles needed for "store" + "fill" + "evict" nop # For 64byte store there are needed 8 fill nop # and 8 evict cycles, i.e. at least 32 instr. nop @@ -320,4 +320,3 @@ END(memset) /************************************************************************ * Implementation : Static functions ************************************************************************/ - |
