OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-197
/
arch
/
alpha
/
include
/
asm
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/17/2022 06:42:15 AM
rwxr-xr-x
📄
Kbuild
320 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
a.out-core.h
2.41 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
a.out.h
574 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
agp.h
457 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
agp_backend.h
948 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
asm-offsets.h
35 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
asm-prototypes.h
405 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
atomic.h
9.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
barrier.h
2.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bitops.h
8.83 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bug.h
571 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
bugs.h
294 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cache.h
507 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cacheflush.h
2.68 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
checksum.h
1.93 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cmpxchg.h
1.67 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
compiler.h
498 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
console.h
1.06 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_apecs.h
16.91 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_cia.h
15.43 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_irongate.h
6.63 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_lca.h
11.36 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_marvel.h
9.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_mcpcia.h
11.45 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_polaris.h
2.92 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_t2.h
19.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_titan.h
11.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_tsunami.h
8.29 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
core_wildfire.h
8.45 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
delay.h
264 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
device.h
129 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
div64.h
31 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
dma-mapping.h
276 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
dma.h
12.37 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
elf.h
5.71 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
emergency-restart.h
149 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
err_common.h
3.24 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
err_ev6.h
116 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
err_ev7.h
4.37 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
extable.h
1.42 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
floppy.h
3.07 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fpu.h
1.78 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ftrace.h
12 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
futex.h
1.97 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
gct.h
1.02 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
hardirq.h
223 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
hw_irq.h
302 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
hwrpb.h
6.9 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
io.h
15.03 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
io_trivial.h
3.07 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
irq.h
2.31 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
irq_regs.h
34 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
irqflags.h
1.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
jensen.h
8.39 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
kdebug.h
32 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
kmap_types.h
265 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
linkage.h
256 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
local.h
2.59 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
local64.h
33 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
machvec.h
3.68 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mc146818rtc.h
680 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
mce.h
4.04 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mmu.h
203 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
mmu_context.h
7.09 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mmzone.h
2.98 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
module.h
329 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
page.h
2.46 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pal.h
5.01 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
param.h
284 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
parport.h
536 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
pci.h
2.87 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
percpu.h
527 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
perf_event.h
105 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
pgalloc.h
1.82 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pgtable.h
13.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
processor.h
2.07 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ptrace.h
754 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
rwsem.h
4.62 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
segment.h
132 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
serial.h
1.01 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sfp-machine.h
2.86 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
shmparam.h
191 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
signal.h
627 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
smp.h
1.34 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
socket.h
310 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
special_insns.h
925 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
spinlock.h
2.85 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
spinlock_types.h
413 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
string.h
2.42 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
switch_to.h
406 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
syscall.h
235 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
termios.h
2.98 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
thread_info.h
3.63 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
timex.h
827 bytes
11/01/2022 04:52:05 PM
rw-r--r--
📄
tlb.h
473 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
tlbflush.h
3.37 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
topology.h
957 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
types.h
143 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
uaccess.h
9.56 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
ucontext.h
348 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
unaligned.h
340 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
unistd.h
494 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
user.h
2.14 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
vga.h
2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
word-at-a-time.h
1.34 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
wrperfmon.h
2.56 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
xchg.h
5.74 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
xor.h
21.71 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: xor.h
Close
/* * include/asm-alpha/xor.h * * Optimized RAID-5 checksumming functions for alpha EV5 and EV6 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * You should have received a copy of the GNU General Public License * (for example /usr/src/linux/COPYING); if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ extern void xor_alpha_2(unsigned long, unsigned long *, unsigned long *); extern void xor_alpha_3(unsigned long, unsigned long *, unsigned long *, unsigned long *); extern void xor_alpha_4(unsigned long, unsigned long *, unsigned long *, unsigned long *, unsigned long *); extern void xor_alpha_5(unsigned long, unsigned long *, unsigned long *, unsigned long *, unsigned long *, unsigned long *); extern void xor_alpha_prefetch_2(unsigned long, unsigned long *, unsigned long *); extern void xor_alpha_prefetch_3(unsigned long, unsigned long *, unsigned long *, unsigned long *); extern void xor_alpha_prefetch_4(unsigned long, unsigned long *, unsigned long *, unsigned long *, unsigned long *); extern void xor_alpha_prefetch_5(unsigned long, unsigned long *, unsigned long *, unsigned long *, unsigned long *, unsigned long *); asm(" \n\ .text \n\ .align 3 \n\ .ent xor_alpha_2 \n\ xor_alpha_2: \n\ .prologue 0 \n\ srl $16, 6, $16 \n\ .align 4 \n\ 2: \n\ ldq $0,0($17) \n\ ldq $1,0($18) \n\ ldq $2,8($17) \n\ ldq $3,8($18) \n\ \n\ ldq $4,16($17) \n\ ldq $5,16($18) \n\ ldq $6,24($17) \n\ ldq $7,24($18) \n\ \n\ ldq $19,32($17) \n\ ldq $20,32($18) \n\ ldq $21,40($17) \n\ ldq $22,40($18) \n\ \n\ ldq $23,48($17) \n\ ldq $24,48($18) \n\ ldq $25,56($17) \n\ xor $0,$1,$0 # 7 cycles from $1 load \n\ \n\ ldq $27,56($18) \n\ xor $2,$3,$2 \n\ stq $0,0($17) \n\ xor $4,$5,$4 \n\ \n\ stq $2,8($17) \n\ xor $6,$7,$6 \n\ stq $4,16($17) \n\ xor $19,$20,$19 \n\ \n\ stq $6,24($17) \n\ xor $21,$22,$21 \n\ stq $19,32($17) \n\ xor $23,$24,$23 \n\ \n\ stq $21,40($17) \n\ xor $25,$27,$25 \n\ stq $23,48($17) \n\ subq $16,1,$16 \n\ \n\ stq $25,56($17) \n\ addq $17,64,$17 \n\ addq $18,64,$18 \n\ bgt $16,2b \n\ \n\ ret \n\ .end xor_alpha_2 \n\ \n\ .align 3 \n\ .ent xor_alpha_3 \n\ xor_alpha_3: \n\ .prologue 0 \n\ srl $16, 6, $16 \n\ .align 4 \n\ 3: \n\ ldq $0,0($17) \n\ ldq $1,0($18) \n\ ldq $2,0($19) \n\ ldq $3,8($17) \n\ \n\ ldq $4,8($18) \n\ ldq $6,16($17) \n\ ldq $7,16($18) \n\ ldq $21,24($17) \n\ \n\ ldq $22,24($18) \n\ ldq $24,32($17) \n\ ldq $25,32($18) \n\ ldq $5,8($19) \n\ \n\ ldq $20,16($19) \n\ ldq $23,24($19) \n\ ldq $27,32($19) \n\ nop \n\ \n\ xor $0,$1,$1 # 8 cycles from $0 load \n\ xor $3,$4,$4 # 6 cycles from $4 load \n\ xor $6,$7,$7 # 6 cycles from $7 load \n\ xor $21,$22,$22 # 5 cycles from $22 load \n\ \n\ xor $1,$2,$2 # 9 cycles from $2 load \n\ xor $24,$25,$25 # 5 cycles from $25 load \n\ stq $2,0($17) \n\ xor $4,$5,$5 # 6 cycles from $5 load \n\ \n\ stq $5,8($17) \n\ xor $7,$20,$20 # 7 cycles from $20 load \n\ stq $20,16($17) \n\ xor $22,$23,$23 # 7 cycles from $23 load \n\ \n\ stq $23,24($17) \n\ xor $25,$27,$27 # 7 cycles from $27 load \n\ stq $27,32($17) \n\ nop \n\ \n\ ldq $0,40($17) \n\ ldq $1,40($18) \n\ ldq $3,48($17) \n\ ldq $4,48($18) \n\ \n\ ldq $6,56($17) \n\ ldq $7,56($18) \n\ ldq $2,40($19) \n\ ldq $5,48($19) \n\ \n\ ldq $20,56($19) \n\ xor $0,$1,$1 # 4 cycles from $1 load \n\ xor $3,$4,$4 # 5 cycles from $4 load \n\ xor $6,$7,$7 # 5 cycles from $7 load \n\ \n\ xor $1,$2,$2 # 4 cycles from $2 load \n\ xor $4,$5,$5 # 5 cycles from $5 load \n\ stq $2,40($17) \n\ xor $7,$20,$20 # 4 cycles from $20 load \n\ \n\ stq $5,48($17) \n\ subq $16,1,$16 \n\ stq $20,56($17) \n\ addq $19,64,$19 \n\ \n\ addq $18,64,$18 \n\ addq $17,64,$17 \n\ bgt $16,3b \n\ ret \n\ .end xor_alpha_3 \n\ \n\ .align 3 \n\ .ent xor_alpha_4 \n\ xor_alpha_4: \n\ .prologue 0 \n\ srl $16, 6, $16 \n\ .align 4 \n\ 4: \n\ ldq $0,0($17) \n\ ldq $1,0($18) \n\ ldq $2,0($19) \n\ ldq $3,0($20) \n\ \n\ ldq $4,8($17) \n\ ldq $5,8($18) \n\ ldq $6,8($19) \n\ ldq $7,8($20) \n\ \n\ ldq $21,16($17) \n\ ldq $22,16($18) \n\ ldq $23,16($19) \n\ ldq $24,16($20) \n\ \n\ ldq $25,24($17) \n\ xor $0,$1,$1 # 6 cycles from $1 load \n\ ldq $27,24($18) \n\ xor $2,$3,$3 # 6 cycles from $3 load \n\ \n\ ldq $0,24($19) \n\ xor $1,$3,$3 \n\ ldq $1,24($20) \n\ xor $4,$5,$5 # 7 cycles from $5 load \n\ \n\ stq $3,0($17) \n\ xor $6,$7,$7 \n\ xor $21,$22,$22 # 7 cycles from $22 load \n\ xor $5,$7,$7 \n\ \n\ stq $7,8($17) \n\ xor $23,$24,$24 # 7 cycles from $24 load \n\ ldq $2,32($17) \n\ xor $22,$24,$24 \n\ \n\ ldq $3,32($18) \n\ ldq $4,32($19) \n\ ldq $5,32($20) \n\ xor $25,$27,$27 # 8 cycles from $27 load \n\ \n\ ldq $6,40($17) \n\ ldq $7,40($18) \n\ ldq $21,40($19) \n\ ldq $22,40($20) \n\ \n\ stq $24,16($17) \n\ xor $0,$1,$1 # 9 cycles from $1 load \n\ xor $2,$3,$3 # 5 cycles from $3 load \n\ xor $27,$1,$1 \n\ \n\ stq $1,24($17) \n\ xor $4,$5,$5 # 5 cycles from $5 load \n\ ldq $23,48($17) \n\ ldq $24,48($18) \n\ \n\ ldq $25,48($19) \n\ xor $3,$5,$5 \n\ ldq $27,48($20) \n\ ldq $0,56($17) \n\ \n\ ldq $1,56($18) \n\ ldq $2,56($19) \n\ xor $6,$7,$7 # 8 cycles from $6 load \n\ ldq $3,56($20) \n\ \n\ stq $5,32($17) \n\ xor $21,$22,$22 # 8 cycles from $22 load \n\ xor $7,$22,$22 \n\ xor $23,$24,$24 # 5 cycles from $24 load \n\ \n\ stq $22,40($17) \n\ xor $25,$27,$27 # 5 cycles from $27 load \n\ xor $24,$27,$27 \n\ xor $0,$1,$1 # 5 cycles from $1 load \n\ \n\ stq $27,48($17) \n\ xor $2,$3,$3 # 4 cycles from $3 load \n\ xor $1,$3,$3 \n\ subq $16,1,$16 \n\ \n\ stq $3,56($17) \n\ addq $20,64,$20 \n\ addq $19,64,$19 \n\ addq $18,64,$18 \n\ \n\ addq $17,64,$17 \n\ bgt $16,4b \n\ ret \n\ .end xor_alpha_4 \n\ \n\ .align 3 \n\ .ent xor_alpha_5 \n\ xor_alpha_5: \n\ .prologue 0 \n\ srl $16, 6, $16 \n\ .align 4 \n\ 5: \n\ ldq $0,0($17) \n\ ldq $1,0($18) \n\ ldq $2,0($19) \n\ ldq $3,0($20) \n\ \n\ ldq $4,0($21) \n\ ldq $5,8($17) \n\ ldq $6,8($18) \n\ ldq $7,8($19) \n\ \n\ ldq $22,8($20) \n\ ldq $23,8($21) \n\ ldq $24,16($17) \n\ ldq $25,16($18) \n\ \n\ ldq $27,16($19) \n\ xor $0,$1,$1 # 6 cycles from $1 load \n\ ldq $28,16($20) \n\ xor $2,$3,$3 # 6 cycles from $3 load \n\ \n\ ldq $0,16($21) \n\ xor $1,$3,$3 \n\ ldq $1,24($17) \n\ xor $3,$4,$4 # 7 cycles from $4 load \n\ \n\ stq $4,0($17) \n\ xor $5,$6,$6 # 7 cycles from $6 load \n\ xor $7,$22,$22 # 7 cycles from $22 load \n\ xor $6,$23,$23 # 7 cycles from $23 load \n\ \n\ ldq $2,24($18) \n\ xor $22,$23,$23 \n\ ldq $3,24($19) \n\ xor $24,$25,$25 # 8 cycles from $25 load \n\ \n\ stq $23,8($17) \n\ xor $25,$27,$27 # 8 cycles from $27 load \n\ ldq $4,24($20) \n\ xor $28,$0,$0 # 7 cycles from $0 load \n\ \n\ ldq $5,24($21) \n\ xor $27,$0,$0 \n\ ldq $6,32($17) \n\ ldq $7,32($18) \n\ \n\ stq $0,16($17) \n\ xor $1,$2,$2 # 6 cycles from $2 load \n\ ldq $22,32($19) \n\ xor $3,$4,$4 # 4 cycles from $4 load \n\ \n\ ldq $23,32($20) \n\ xor $2,$4,$4 \n\ ldq $24,32($21) \n\ ldq $25,40($17) \n\ \n\ ldq $27,40($18) \n\ ldq $28,40($19) \n\ ldq $0,40($20) \n\ xor $4,$5,$5 # 7 cycles from $5 load \n\ \n\ stq $5,24($17) \n\ xor $6,$7,$7 # 7 cycles from $7 load \n\ ldq $1,40($21) \n\ ldq $2,48($17) \n\ \n\ ldq $3,48($18) \n\ xor $7,$22,$22 # 7 cycles from $22 load \n\ ldq $4,48($19) \n\ xor $23,$24,$24 # 6 cycles from $24 load \n\ \n\ ldq $5,48($20) \n\ xor $22,$24,$24 \n\ ldq $6,48($21) \n\ xor $25,$27,$27 # 7 cycles from $27 load \n\ \n\ stq $24,32($17) \n\ xor $27,$28,$28 # 8 cycles from $28 load \n\ ldq $7,56($17) \n\ xor $0,$1,$1 # 6 cycles from $1 load \n\ \n\ ldq $22,56($18) \n\ ldq $23,56($19) \n\ ldq $24,56($20) \n\ ldq $25,56($21) \n\ \n\ xor $28,$1,$1 \n\ xor $2,$3,$3 # 9 cycles from $3 load \n\ xor $3,$4,$4 # 9 cycles from $4 load \n\ xor $5,$6,$6 # 8 cycles from $6 load \n\ \n\ stq $1,40($17) \n\ xor $4,$6,$6 \n\ xor $7,$22,$22 # 7 cycles from $22 load \n\ xor $23,$24,$24 # 6 cycles from $24 load \n\ \n\ stq $6,48($17) \n\ xor $22,$24,$24 \n\ subq $16,1,$16 \n\ xor $24,$25,$25 # 8 cycles from $25 load \n\ \n\ stq $25,56($17) \n\ addq $21,64,$21 \n\ addq $20,64,$20 \n\ addq $19,64,$19 \n\ \n\ addq $18,64,$18 \n\ addq $17,64,$17 \n\ bgt $16,5b \n\ ret \n\ .end xor_alpha_5 \n\ \n\ .align 3 \n\ .ent xor_alpha_prefetch_2 \n\ xor_alpha_prefetch_2: \n\ .prologue 0 \n\ srl $16, 6, $16 \n\ \n\ ldq $31, 0($17) \n\ ldq $31, 0($18) \n\ \n\ ldq $31, 64($17) \n\ ldq $31, 64($18) \n\ \n\ ldq $31, 128($17) \n\ ldq $31, 128($18) \n\ \n\ ldq $31, 192($17) \n\ ldq $31, 192($18) \n\ .align 4 \n\ 2: \n\ ldq $0,0($17) \n\ ldq $1,0($18) \n\ ldq $2,8($17) \n\ ldq $3,8($18) \n\ \n\ ldq $4,16($17) \n\ ldq $5,16($18) \n\ ldq $6,24($17) \n\ ldq $7,24($18) \n\ \n\ ldq $19,32($17) \n\ ldq $20,32($18) \n\ ldq $21,40($17) \n\ ldq $22,40($18) \n\ \n\ ldq $23,48($17) \n\ ldq $24,48($18) \n\ ldq $25,56($17) \n\ ldq $27,56($18) \n\ \n\ ldq $31,256($17) \n\ xor $0,$1,$0 # 8 cycles from $1 load \n\ ldq $31,256($18) \n\ xor $2,$3,$2 \n\ \n\ stq $0,0($17) \n\ xor $4,$5,$4 \n\ stq $2,8($17) \n\ xor $6,$7,$6 \n\ \n\ stq $4,16($17) \n\ xor $19,$20,$19 \n\ stq $6,24($17) \n\ xor $21,$22,$21 \n\ \n\ stq $19,32($17) \n\ xor $23,$24,$23 \n\ stq $21,40($17) \n\ xor $25,$27,$25 \n\ \n\ stq $23,48($17) \n\ subq $16,1,$16 \n\ stq $25,56($17) \n\ addq $17,64,$17 \n\ \n\ addq $18,64,$18 \n\ bgt $16,2b \n\ ret \n\ .end xor_alpha_prefetch_2 \n\ \n\ .align 3 \n\ .ent xor_alpha_prefetch_3 \n\ xor_alpha_prefetch_3: \n\ .prologue 0 \n\ srl $16, 6, $16 \n\ \n\ ldq $31, 0($17) \n\ ldq $31, 0($18) \n\ ldq $31, 0($19) \n\ \n\ ldq $31, 64($17) \n\ ldq $31, 64($18) \n\ ldq $31, 64($19) \n\ \n\ ldq $31, 128($17) \n\ ldq $31, 128($18) \n\ ldq $31, 128($19) \n\ \n\ ldq $31, 192($17) \n\ ldq $31, 192($18) \n\ ldq $31, 192($19) \n\ .align 4 \n\ 3: \n\ ldq $0,0($17) \n\ ldq $1,0($18) \n\ ldq $2,0($19) \n\ ldq $3,8($17) \n\ \n\ ldq $4,8($18) \n\ ldq $6,16($17) \n\ ldq $7,16($18) \n\ ldq $21,24($17) \n\ \n\ ldq $22,24($18) \n\ ldq $24,32($17) \n\ ldq $25,32($18) \n\ ldq $5,8($19) \n\ \n\ ldq $20,16($19) \n\ ldq $23,24($19) \n\ ldq $27,32($19) \n\ nop \n\ \n\ xor $0,$1,$1 # 8 cycles from $0 load \n\ xor $3,$4,$4 # 7 cycles from $4 load \n\ xor $6,$7,$7 # 6 cycles from $7 load \n\ xor $21,$22,$22 # 5 cycles from $22 load \n\ \n\ xor $1,$2,$2 # 9 cycles from $2 load \n\ xor $24,$25,$25 # 5 cycles from $25 load \n\ stq $2,0($17) \n\ xor $4,$5,$5 # 6 cycles from $5 load \n\ \n\ stq $5,8($17) \n\ xor $7,$20,$20 # 7 cycles from $20 load \n\ stq $20,16($17) \n\ xor $22,$23,$23 # 7 cycles from $23 load \n\ \n\ stq $23,24($17) \n\ xor $25,$27,$27 # 7 cycles from $27 load \n\ stq $27,32($17) \n\ nop \n\ \n\ ldq $0,40($17) \n\ ldq $1,40($18) \n\ ldq $3,48($17) \n\ ldq $4,48($18) \n\ \n\ ldq $6,56($17) \n\ ldq $7,56($18) \n\ ldq $2,40($19) \n\ ldq $5,48($19) \n\ \n\ ldq $20,56($19) \n\ ldq $31,256($17) \n\ ldq $31,256($18) \n\ ldq $31,256($19) \n\ \n\ xor $0,$1,$1 # 6 cycles from $1 load \n\ xor $3,$4,$4 # 5 cycles from $4 load \n\ xor $6,$7,$7 # 5 cycles from $7 load \n\ xor $1,$2,$2 # 4 cycles from $2 load \n\ \n\ xor $4,$5,$5 # 5 cycles from $5 load \n\ xor $7,$20,$20 # 4 cycles from $20 load \n\ stq $2,40($17) \n\ subq $16,1,$16 \n\ \n\ stq $5,48($17) \n\ addq $19,64,$19 \n\ stq $20,56($17) \n\ addq $18,64,$18 \n\ \n\ addq $17,64,$17 \n\ bgt $16,3b \n\ ret \n\ .end xor_alpha_prefetch_3 \n\ \n\ .align 3 \n\ .ent xor_alpha_prefetch_4 \n\ xor_alpha_prefetch_4: \n\ .prologue 0 \n\ srl $16, 6, $16 \n\ \n\ ldq $31, 0($17) \n\ ldq $31, 0($18) \n\ ldq $31, 0($19) \n\ ldq $31, 0($20) \n\ \n\ ldq $31, 64($17) \n\ ldq $31, 64($18) \n\ ldq $31, 64($19) \n\ ldq $31, 64($20) \n\ \n\ ldq $31, 128($17) \n\ ldq $31, 128($18) \n\ ldq $31, 128($19) \n\ ldq $31, 128($20) \n\ \n\ ldq $31, 192($17) \n\ ldq $31, 192($18) \n\ ldq $31, 192($19) \n\ ldq $31, 192($20) \n\ .align 4 \n\ 4: \n\ ldq $0,0($17) \n\ ldq $1,0($18) \n\ ldq $2,0($19) \n\ ldq $3,0($20) \n\ \n\ ldq $4,8($17) \n\ ldq $5,8($18) \n\ ldq $6,8($19) \n\ ldq $7,8($20) \n\ \n\ ldq $21,16($17) \n\ ldq $22,16($18) \n\ ldq $23,16($19) \n\ ldq $24,16($20) \n\ \n\ ldq $25,24($17) \n\ xor $0,$1,$1 # 6 cycles from $1 load \n\ ldq $27,24($18) \n\ xor $2,$3,$3 # 6 cycles from $3 load \n\ \n\ ldq $0,24($19) \n\ xor $1,$3,$3 \n\ ldq $1,24($20) \n\ xor $4,$5,$5 # 7 cycles from $5 load \n\ \n\ stq $3,0($17) \n\ xor $6,$7,$7 \n\ xor $21,$22,$22 # 7 cycles from $22 load \n\ xor $5,$7,$7 \n\ \n\ stq $7,8($17) \n\ xor $23,$24,$24 # 7 cycles from $24 load \n\ ldq $2,32($17) \n\ xor $22,$24,$24 \n\ \n\ ldq $3,32($18) \n\ ldq $4,32($19) \n\ ldq $5,32($20) \n\ xor $25,$27,$27 # 8 cycles from $27 load \n\ \n\ ldq $6,40($17) \n\ ldq $7,40($18) \n\ ldq $21,40($19) \n\ ldq $22,40($20) \n\ \n\ stq $24,16($17) \n\ xor $0,$1,$1 # 9 cycles from $1 load \n\ xor $2,$3,$3 # 5 cycles from $3 load \n\ xor $27,$1,$1 \n\ \n\ stq $1,24($17) \n\ xor $4,$5,$5 # 5 cycles from $5 load \n\ ldq $23,48($17) \n\ xor $3,$5,$5 \n\ \n\ ldq $24,48($18) \n\ ldq $25,48($19) \n\ ldq $27,48($20) \n\ ldq $0,56($17) \n\ \n\ ldq $1,56($18) \n\ ldq $2,56($19) \n\ ldq $3,56($20) \n\ xor $6,$7,$7 # 8 cycles from $6 load \n\ \n\ ldq $31,256($17) \n\ xor $21,$22,$22 # 8 cycles from $22 load \n\ ldq $31,256($18) \n\ xor $7,$22,$22 \n\ \n\ ldq $31,256($19) \n\ xor $23,$24,$24 # 6 cycles from $24 load \n\ ldq $31,256($20) \n\ xor $25,$27,$27 # 6 cycles from $27 load \n\ \n\ stq $5,32($17) \n\ xor $24,$27,$27 \n\ xor $0,$1,$1 # 7 cycles from $1 load \n\ xor $2,$3,$3 # 6 cycles from $3 load \n\ \n\ stq $22,40($17) \n\ xor $1,$3,$3 \n\ stq $27,48($17) \n\ subq $16,1,$16 \n\ \n\ stq $3,56($17) \n\ addq $20,64,$20 \n\ addq $19,64,$19 \n\ addq $18,64,$18 \n\ \n\ addq $17,64,$17 \n\ bgt $16,4b \n\ ret \n\ .end xor_alpha_prefetch_4 \n\ \n\ .align 3 \n\ .ent xor_alpha_prefetch_5 \n\ xor_alpha_prefetch_5: \n\ .prologue 0 \n\ srl $16, 6, $16 \n\ \n\ ldq $31, 0($17) \n\ ldq $31, 0($18) \n\ ldq $31, 0($19) \n\ ldq $31, 0($20) \n\ ldq $31, 0($21) \n\ \n\ ldq $31, 64($17) \n\ ldq $31, 64($18) \n\ ldq $31, 64($19) \n\ ldq $31, 64($20) \n\ ldq $31, 64($21) \n\ \n\ ldq $31, 128($17) \n\ ldq $31, 128($18) \n\ ldq $31, 128($19) \n\ ldq $31, 128($20) \n\ ldq $31, 128($21) \n\ \n\ ldq $31, 192($17) \n\ ldq $31, 192($18) \n\ ldq $31, 192($19) \n\ ldq $31, 192($20) \n\ ldq $31, 192($21) \n\ .align 4 \n\ 5: \n\ ldq $0,0($17) \n\ ldq $1,0($18) \n\ ldq $2,0($19) \n\ ldq $3,0($20) \n\ \n\ ldq $4,0($21) \n\ ldq $5,8($17) \n\ ldq $6,8($18) \n\ ldq $7,8($19) \n\ \n\ ldq $22,8($20) \n\ ldq $23,8($21) \n\ ldq $24,16($17) \n\ ldq $25,16($18) \n\ \n\ ldq $27,16($19) \n\ xor $0,$1,$1 # 6 cycles from $1 load \n\ ldq $28,16($20) \n\ xor $2,$3,$3 # 6 cycles from $3 load \n\ \n\ ldq $0,16($21) \n\ xor $1,$3,$3 \n\ ldq $1,24($17) \n\ xor $3,$4,$4 # 7 cycles from $4 load \n\ \n\ stq $4,0($17) \n\ xor $5,$6,$6 # 7 cycles from $6 load \n\ xor $7,$22,$22 # 7 cycles from $22 load \n\ xor $6,$23,$23 # 7 cycles from $23 load \n\ \n\ ldq $2,24($18) \n\ xor $22,$23,$23 \n\ ldq $3,24($19) \n\ xor $24,$25,$25 # 8 cycles from $25 load \n\ \n\ stq $23,8($17) \n\ xor $25,$27,$27 # 8 cycles from $27 load \n\ ldq $4,24($20) \n\ xor $28,$0,$0 # 7 cycles from $0 load \n\ \n\ ldq $5,24($21) \n\ xor $27,$0,$0 \n\ ldq $6,32($17) \n\ ldq $7,32($18) \n\ \n\ stq $0,16($17) \n\ xor $1,$2,$2 # 6 cycles from $2 load \n\ ldq $22,32($19) \n\ xor $3,$4,$4 # 4 cycles from $4 load \n\ \n\ ldq $23,32($20) \n\ xor $2,$4,$4 \n\ ldq $24,32($21) \n\ ldq $25,40($17) \n\ \n\ ldq $27,40($18) \n\ ldq $28,40($19) \n\ ldq $0,40($20) \n\ xor $4,$5,$5 # 7 cycles from $5 load \n\ \n\ stq $5,24($17) \n\ xor $6,$7,$7 # 7 cycles from $7 load \n\ ldq $1,40($21) \n\ ldq $2,48($17) \n\ \n\ ldq $3,48($18) \n\ xor $7,$22,$22 # 7 cycles from $22 load \n\ ldq $4,48($19) \n\ xor $23,$24,$24 # 6 cycles from $24 load \n\ \n\ ldq $5,48($20) \n\ xor $22,$24,$24 \n\ ldq $6,48($21) \n\ xor $25,$27,$27 # 7 cycles from $27 load \n\ \n\ stq $24,32($17) \n\ xor $27,$28,$28 # 8 cycles from $28 load \n\ ldq $7,56($17) \n\ xor $0,$1,$1 # 6 cycles from $1 load \n\ \n\ ldq $22,56($18) \n\ ldq $23,56($19) \n\ ldq $24,56($20) \n\ ldq $25,56($21) \n\ \n\ ldq $31,256($17) \n\ xor $28,$1,$1 \n\ ldq $31,256($18) \n\ xor $2,$3,$3 # 9 cycles from $3 load \n\ \n\ ldq $31,256($19) \n\ xor $3,$4,$4 # 9 cycles from $4 load \n\ ldq $31,256($20) \n\ xor $5,$6,$6 # 8 cycles from $6 load \n\ \n\ stq $1,40($17) \n\ xor $4,$6,$6 \n\ xor $7,$22,$22 # 7 cycles from $22 load \n\ xor $23,$24,$24 # 6 cycles from $24 load \n\ \n\ stq $6,48($17) \n\ xor $22,$24,$24 \n\ ldq $31,256($21) \n\ xor $24,$25,$25 # 8 cycles from $25 load \n\ \n\ stq $25,56($17) \n\ subq $16,1,$16 \n\ addq $21,64,$21 \n\ addq $20,64,$20 \n\ \n\ addq $19,64,$19 \n\ addq $18,64,$18 \n\ addq $17,64,$17 \n\ bgt $16,5b \n\ \n\ ret \n\ .end xor_alpha_prefetch_5 \n\ "); static struct xor_block_template xor_block_alpha = { .name = "alpha", .do_2 = xor_alpha_2, .do_3 = xor_alpha_3, .do_4 = xor_alpha_4, .do_5 = xor_alpha_5, }; static struct xor_block_template xor_block_alpha_prefetch = { .name = "alpha prefetch", .do_2 = xor_alpha_prefetch_2, .do_3 = xor_alpha_prefetch_3, .do_4 = xor_alpha_prefetch_4, .do_5 = xor_alpha_prefetch_5, }; /* For grins, also test the generic routines. */ #include <asm-generic/xor.h> #undef XOR_TRY_TEMPLATES #define XOR_TRY_TEMPLATES \ do { \ xor_speed(&xor_block_8regs); \ xor_speed(&xor_block_32regs); \ xor_speed(&xor_block_alpha); \ xor_speed(&xor_block_alpha_prefetch); \ } while (0) /* Force the use of alpha_prefetch if EV6, as it is significantly faster in the cold cache case. */ #define XOR_SELECT_TEMPLATE(FASTEST) \ (implver() == IMPLVER_EV6 ? &xor_block_alpha_prefetch : FASTEST)