strncmp_32.S (e5451c8f8330e03ad3cfa16048b4daf961af434f) | strncmp_32.S (d3867f0483103b8ff7edfdea3ef1981c03d96891) |
---|---|
1/* 2 * strncmp.S: Hand optimized Sparc assembly of GCC output from GNU libc 3 * generic strncmp routine. 4 */ 5 6#include <linux/linkage.h> | 1/* 2 * strncmp.S: Hand optimized Sparc assembly of GCC output from GNU libc 3 * generic strncmp routine. 4 */ 5 6#include <linux/linkage.h> |
7#include <asm/export.h> |
|
7 8 .text 9ENTRY(strncmp) 10 mov %o0, %g3 11 mov 0, %o3 12 13 cmp %o2, 3 14 ble 7f --- 96 unchanged lines hidden (view full) --- 111 cmp %o2, 0 112 bg,a 9b 113 ldub [%g3], %o3 114 115 and %g2, 0xff, %o0 116 retl 117 sub %o3, %o0, %o0 118ENDPROC(strncmp) | 8 9 .text 10ENTRY(strncmp) 11 mov %o0, %g3 12 mov 0, %o3 13 14 cmp %o2, 3 15 ble 7f --- 96 unchanged lines hidden (view full) --- 112 cmp %o2, 0 113 bg,a 9b 114 ldub [%g3], %o3 115 116 and %g2, 0xff, %o0 117 retl 118 sub %o3, %o0, %o0 119ENDPROC(strncmp) |
120EXPORT_SYMBOL(strncmp) |
|