ev67-strlen.S (498495dba268b20e8eadd7fe93c140c68b6cc9d2) | ev67-strlen.S (f3c78e949d3fb0afcc1bdd8e44b0902897fc2f84) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * arch/alpha/lib/ev67-strlen.S 4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com> 5 * 6 * Finds length of a 0-terminated string. Optimized for the 7 * Alpha architecture: 8 * --- 4 unchanged lines hidden (view full) --- 13 * Compiler Writer's Guide for the Alpha 21264 14 * abbreviated as 'CWG' in other comments here 15 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 16 * Scheduling notation: 17 * E - either cluster 18 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 19 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 20 */ | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * arch/alpha/lib/ev67-strlen.S 4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com> 5 * 6 * Finds length of a 0-terminated string. Optimized for the 7 * Alpha architecture: 8 * --- 4 unchanged lines hidden (view full) --- 13 * Compiler Writer's Guide for the Alpha 21264 14 * abbreviated as 'CWG' in other comments here 15 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 16 * Scheduling notation: 17 * E - either cluster 18 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 19 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 20 */ |
21#include <asm/export.h> | 21#include <linux/export.h> |
22 .set noreorder 23 .set noat 24 25 .globl strlen 26 .ent strlen 27 .align 4 28strlen: 29 ldq_u $1, 0($16) # L : load first quadword ($16 may be misaligned) --- 22 unchanged lines hidden --- | 22 .set noreorder 23 .set noat 24 25 .globl strlen 26 .ent strlen 27 .align 4 28strlen: 29 ldq_u $1, 0($16) # L : load first quadword ($16 may be misaligned) --- 22 unchanged lines hidden --- |