strchr.S (e5451c8f8330e03ad3cfa16048b4daf961af434f) | strchr.S (00fc0e0dda6286407f3854cd71a125f519a5689c) |
---|---|
1/* 2 * arch/alpha/lib/strchr.S 3 * Contributed by Richard Henderson (rth@tamu.edu) 4 * 5 * Return the address of a given character within a null-terminated 6 * string, or null if it is not found. 7 */ | 1/* 2 * arch/alpha/lib/strchr.S 3 * Contributed by Richard Henderson (rth@tamu.edu) 4 * 5 * Return the address of a given character within a null-terminated 6 * string, or null if it is not found. 7 */ |
8 | 8#include <asm/export.h> |
9#include <asm/regdef.h> 10 11 .set noreorder 12 .set noat 13 14 .align 3 15 .globl strchr 16 .ent strchr --- 46 unchanged lines hidden (view full) --- 63 addq v0, t2, v0 # e0 : 64 ret # .. e1 : 65 66$retnull: 67 mov zero, v0 # e0 : 68 ret # .. e1 : 69 70 .end strchr | 9#include <asm/regdef.h> 10 11 .set noreorder 12 .set noat 13 14 .align 3 15 .globl strchr 16 .ent strchr --- 46 unchanged lines hidden (view full) --- 63 addq v0, t2, v0 # e0 : 64 ret # .. e1 : 65 66$retnull: 67 mov zero, v0 # e0 : 68 ret # .. e1 : 69 70 .end strchr |
71 EXPORT_SYMBOL(strchr) |
|