memset_64.S (ba4e06d68ea4fd2be401d7226c68941892d6bbaf) | memset_64.S (00f526850151e91fdad0896a1436341687ad2582) |
---|---|
1/* Copyright 2002 Andi Kleen, SuSE Labs */ 2 3#include <linux/linkage.h> 4#include <asm/cpufeatures.h> 5#include <asm/alternative-asm.h> 6 7.weak memset 8 9/* 10 * ISO C memset - set a memory block to a byte value. This function uses fast 11 * string to get better performance than the original function. The code is | 1/* Copyright 2002 Andi Kleen, SuSE Labs */ 2 3#include <linux/linkage.h> 4#include <asm/cpufeatures.h> 5#include <asm/alternative-asm.h> 6 7.weak memset 8 9/* 10 * ISO C memset - set a memory block to a byte value. This function uses fast 11 * string to get better performance than the original function. The code is |
12 * simpler and shorter than the orignal function as well. | 12 * simpler and shorter than the original function as well. |
13 * 14 * rdi destination 15 * rsi value (char) 16 * rdx count (bytes) 17 * 18 * rax original destination 19 */ 20ENTRY(memset) --- 118 unchanged lines hidden --- | 13 * 14 * rdi destination 15 * rsi value (char) 16 * rdx count (bytes) 17 * 18 * rax original destination 19 */ 20ENTRY(memset) --- 118 unchanged lines hidden --- |