amd64: add a note about simd to libc memset, memmove and memcmp
This commit is contained in:
parent
46f168bc66
commit
0db6aef407
@ -31,6 +31,12 @@
|
||||
#include <machine/asm.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* Note: this routine was written with kernel use in mind (read: no simd),
|
||||
* it is only present in userspace as a temporary measure until something
|
||||
* better gets imported.
|
||||
*/
|
||||
|
||||
#define ALIGN_TEXT .p2align 4,0x90 /* 16-byte alignment, nop filled */
|
||||
|
||||
ENTRY(memcmp)
|
||||
|
@ -29,6 +29,12 @@
|
||||
#include <machine/asm.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* Note: this routine was written with kernel use in mind (read: no simd),
|
||||
* it is only present in userspace as a temporary measure until something
|
||||
* better gets imported.
|
||||
*/
|
||||
|
||||
#define ALIGN_TEXT .p2align 4,0x90 /* 16-byte alignment, nop filled */
|
||||
|
||||
/*
|
||||
|
@ -31,6 +31,12 @@
|
||||
#include <machine/asm.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* Note: this routine was written with kernel use in mind (read: no simd),
|
||||
* it is only present in userspace as a temporary measure until something
|
||||
* better gets imported.
|
||||
*/
|
||||
|
||||
#define ALIGN_TEXT .p2align 4,0x90 /* 16-byte alignment, nop filled */
|
||||
|
||||
.macro MEMSET erms
|
||||
|
Loading…
Reference in New Issue
Block a user