xref: /openbmc/linux/arch/x86/crypto/crc32c-pcl-intel-asm_64.S (revision 34fdce6981b96920ced4e0ee56e9db3fb03a33f0)
16a8ce1efSTim Chen/*
26a8ce1efSTim Chen * Implement fast CRC32C with PCLMULQDQ instructions. (x86_64)
36a8ce1efSTim Chen *
4918731faSTim Chen * The white papers on CRC32C calculations with PCLMULQDQ instruction can be
56a8ce1efSTim Chen * downloaded from:
6918731faSTim Chen * http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/crc-iscsi-polynomial-crc32-instruction-paper.pdf
7918731faSTim Chen * http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/fast-crc-computation-paper.pdf
86a8ce1efSTim Chen *
96a8ce1efSTim Chen * Copyright (C) 2012 Intel Corporation.
106a8ce1efSTim Chen *
116a8ce1efSTim Chen * Authors:
126a8ce1efSTim Chen *	Wajdi Feghali <wajdi.k.feghali@intel.com>
136a8ce1efSTim Chen *	James Guilford <james.guilford@intel.com>
146a8ce1efSTim Chen *	David Cote <david.m.cote@intel.com>
156a8ce1efSTim Chen *	Tim Chen <tim.c.chen@linux.intel.com>
166a8ce1efSTim Chen *
176a8ce1efSTim Chen * This software is available to you under a choice of one of two
186a8ce1efSTim Chen * licenses.  You may choose to be licensed under the terms of the GNU
196a8ce1efSTim Chen * General Public License (GPL) Version 2, available from the file
206a8ce1efSTim Chen * COPYING in the main directory of this source tree, or the
216a8ce1efSTim Chen * OpenIB.org BSD license below:
226a8ce1efSTim Chen *
236a8ce1efSTim Chen *     Redistribution and use in source and binary forms, with or
246a8ce1efSTim Chen *     without modification, are permitted provided that the following
256a8ce1efSTim Chen *     conditions are met:
266a8ce1efSTim Chen *
276a8ce1efSTim Chen *      - Redistributions of source code must retain the above
286a8ce1efSTim Chen *        copyright notice, this list of conditions and the following
296a8ce1efSTim Chen *        disclaimer.
306a8ce1efSTim Chen *
316a8ce1efSTim Chen *      - Redistributions in binary form must reproduce the above
326a8ce1efSTim Chen *        copyright notice, this list of conditions and the following
336a8ce1efSTim Chen *        disclaimer in the documentation and/or other materials
346a8ce1efSTim Chen *        provided with the distribution.
356a8ce1efSTim Chen *
366a8ce1efSTim Chen * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
376a8ce1efSTim Chen * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
386a8ce1efSTim Chen * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
396a8ce1efSTim Chen * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
406a8ce1efSTim Chen * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
416a8ce1efSTim Chen * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
426a8ce1efSTim Chen * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
436a8ce1efSTim Chen * SOFTWARE.
446a8ce1efSTim Chen */
456a8ce1efSTim Chen
4657ae1b05SSandy Wu#include <asm/inst.h>
47698a5abbSJussi Kivilinna#include <linux/linkage.h>
489697fa39SDavid Woodhouse#include <asm/nospec-branch.h>
49698a5abbSJussi Kivilinna
506a8ce1efSTim Chen## ISCSI CRC 32 Implementation with crc32 and pclmulqdq Instruction
516a8ce1efSTim Chen
526a8ce1efSTim Chen.macro LABEL prefix n
536a8ce1efSTim Chen\prefix\n\():
546a8ce1efSTim Chen.endm
556a8ce1efSTim Chen
566a8ce1efSTim Chen.macro JMPTBL_ENTRY i
576a8ce1efSTim Chen.word crc_\i - crc_array
586a8ce1efSTim Chen.endm
596a8ce1efSTim Chen
606a8ce1efSTim Chen.macro JNC_LESS_THAN j
616a8ce1efSTim Chen	jnc less_than_\j
626a8ce1efSTim Chen.endm
636a8ce1efSTim Chen
646a8ce1efSTim Chen# Define threshold where buffers are considered "small" and routed to more
656a8ce1efSTim Chen# efficient "by-1" code. This "by-1" code only handles up to 255 bytes, so
666a8ce1efSTim Chen# SMALL_SIZE can be no larger than 255.
676a8ce1efSTim Chen
686a8ce1efSTim Chen#define SMALL_SIZE 200
696a8ce1efSTim Chen
706a8ce1efSTim Chen.if (SMALL_SIZE > 255)
716a8ce1efSTim Chen.error "SMALL_ SIZE must be < 256"
726a8ce1efSTim Chen.endif
736a8ce1efSTim Chen
746a8ce1efSTim Chen# unsigned int crc_pcl(u8 *buffer, int len, unsigned int crc_init);
756a8ce1efSTim Chen
76473946e6SGeorge Spelvin.text
776dcc5627SJiri SlabySYM_FUNC_START(crc_pcl)
78*34fdce69SPeter Zijlstra#define    bufp		rdi
796a8ce1efSTim Chen#define    bufp_dw	%edi
806a8ce1efSTim Chen#define    bufp_w	%di
816a8ce1efSTim Chen#define    bufp_b	%dil
826a8ce1efSTim Chen#define    bufptmp	%rcx
836a8ce1efSTim Chen#define    block_0	%rcx
846a8ce1efSTim Chen#define    block_1	%rdx
856a8ce1efSTim Chen#define    block_2	%r11
866a8ce1efSTim Chen#define    len		%rsi
876a8ce1efSTim Chen#define    len_dw	%esi
886a8ce1efSTim Chen#define    len_w	%si
896a8ce1efSTim Chen#define    len_b	%sil
906a8ce1efSTim Chen#define    crc_init_arg %rdx
916a8ce1efSTim Chen#define    tmp		%rbx
926a8ce1efSTim Chen#define    crc_init	%r8
936a8ce1efSTim Chen#define    crc_init_dw	%r8d
946a8ce1efSTim Chen#define    crc1		%r9
956a8ce1efSTim Chen#define    crc2		%r10
966a8ce1efSTim Chen
976a8ce1efSTim Chen	pushq   %rbx
986a8ce1efSTim Chen	pushq   %rdi
996a8ce1efSTim Chen	pushq   %rsi
1006a8ce1efSTim Chen
1016a8ce1efSTim Chen	## Move crc_init for Linux to a different
1026a8ce1efSTim Chen	mov     crc_init_arg, crc_init
1036a8ce1efSTim Chen
1046a8ce1efSTim Chen	################################################################
1056a8ce1efSTim Chen	## 1) ALIGN:
1066a8ce1efSTim Chen	################################################################
1076a8ce1efSTim Chen
108*34fdce69SPeter Zijlstra	mov     %bufp, bufptmp		# rdi = *buf
109*34fdce69SPeter Zijlstra	neg     %bufp
110*34fdce69SPeter Zijlstra	and     $7, %bufp		# calculate the unalignment amount of
1116a8ce1efSTim Chen					# the address
1126a8ce1efSTim Chen	je      proc_block		# Skip if aligned
1136a8ce1efSTim Chen
1146a8ce1efSTim Chen	## If len is less than 8 and we're unaligned, we need to jump
1156a8ce1efSTim Chen	## to special code to avoid reading beyond the end of the buffer
1166a8ce1efSTim Chen	cmp     $8, len
1176a8ce1efSTim Chen	jae     do_align
1186a8ce1efSTim Chen	# less_than_8 expects length in upper 3 bits of len_dw
1196a8ce1efSTim Chen	# less_than_8_post_shl1 expects length = carryflag * 8 + len_dw[31:30]
1206a8ce1efSTim Chen	shl     $32-3+1, len_dw
1216a8ce1efSTim Chen	jmp     less_than_8_post_shl1
1226a8ce1efSTim Chen
1236a8ce1efSTim Chendo_align:
1246a8ce1efSTim Chen	#### Calculate CRC of unaligned bytes of the buffer (if any)
1256a8ce1efSTim Chen	movq    (bufptmp), tmp		# load a quadward from the buffer
126*34fdce69SPeter Zijlstra	add     %bufp, bufptmp		# align buffer pointer for quadword
1276a8ce1efSTim Chen					# processing
128*34fdce69SPeter Zijlstra	sub     %bufp, len		# update buffer length
1296a8ce1efSTim Chenalign_loop:
1306a8ce1efSTim Chen	crc32b  %bl, crc_init_dw 	# compute crc32 of 1-byte
1316a8ce1efSTim Chen	shr     $8, tmp			# get next byte
132*34fdce69SPeter Zijlstra	dec     %bufp
1336a8ce1efSTim Chen	jne     align_loop
1346a8ce1efSTim Chen
1356a8ce1efSTim Chenproc_block:
1366a8ce1efSTim Chen
1376a8ce1efSTim Chen	################################################################
1386a8ce1efSTim Chen	## 2) PROCESS  BLOCKS:
1396a8ce1efSTim Chen	################################################################
1406a8ce1efSTim Chen
1416a8ce1efSTim Chen	## compute num of bytes to be processed
1426a8ce1efSTim Chen	movq    len, tmp		# save num bytes in tmp
1436a8ce1efSTim Chen
1446a8ce1efSTim Chen	cmpq    $128*24, len
1456a8ce1efSTim Chen	jae     full_block
1466a8ce1efSTim Chen
1476a8ce1efSTim Chencontinue_block:
1486a8ce1efSTim Chen	cmpq    $SMALL_SIZE, len
1496a8ce1efSTim Chen	jb      small
1506a8ce1efSTim Chen
1516a8ce1efSTim Chen	## len < 128*24
1526a8ce1efSTim Chen	movq    $2731, %rax		# 2731 = ceil(2^16 / 24)
1536a8ce1efSTim Chen	mul     len_dw
1546a8ce1efSTim Chen	shrq    $16, %rax
1556a8ce1efSTim Chen
1566a8ce1efSTim Chen	## eax contains floor(bytes / 24) = num 24-byte chunks to do
1576a8ce1efSTim Chen
1586a8ce1efSTim Chen	## process rax 24-byte chunks (128 >= rax >= 0)
1596a8ce1efSTim Chen
1606a8ce1efSTim Chen	## compute end address of each block
1616a8ce1efSTim Chen	## block 0 (base addr + RAX * 8)
1626a8ce1efSTim Chen	## block 1 (base addr + RAX * 16)
1636a8ce1efSTim Chen	## block 2 (base addr + RAX * 24)
1646a8ce1efSTim Chen	lea     (bufptmp, %rax, 8), block_0
1656a8ce1efSTim Chen	lea     (block_0, %rax, 8), block_1
1666a8ce1efSTim Chen	lea     (block_1, %rax, 8), block_2
1676a8ce1efSTim Chen
1686a8ce1efSTim Chen	xor     crc1, crc1
1696a8ce1efSTim Chen	xor     crc2, crc2
1706a8ce1efSTim Chen
1716a8ce1efSTim Chen	## branch into array
172*34fdce69SPeter Zijlstra	lea	jump_table(%rip), %bufp
173*34fdce69SPeter Zijlstra	movzxw  (%bufp, %rax, 2), len
174*34fdce69SPeter Zijlstra	lea	crc_array(%rip), %bufp
175*34fdce69SPeter Zijlstra	lea     (%bufp, len, 1), %bufp
1769697fa39SDavid Woodhouse	JMP_NOSPEC bufp
1776a8ce1efSTim Chen
1786a8ce1efSTim Chen	################################################################
1796a8ce1efSTim Chen	## 2a) PROCESS FULL BLOCKS:
1806a8ce1efSTim Chen	################################################################
1816a8ce1efSTim Chenfull_block:
182a734b4a2SDenys Vlasenko	movl    $128,%eax
1836a8ce1efSTim Chen	lea     128*8*2(block_0), block_1
1846a8ce1efSTim Chen	lea     128*8*3(block_0), block_2
1856a8ce1efSTim Chen	add     $128*8*1, block_0
1866a8ce1efSTim Chen
1876a8ce1efSTim Chen	xor     crc1,crc1
1886a8ce1efSTim Chen	xor     crc2,crc2
1896a8ce1efSTim Chen
1906a8ce1efSTim Chen	# Fall thruogh into top of crc array (crc_128)
1916a8ce1efSTim Chen
1926a8ce1efSTim Chen	################################################################
1936a8ce1efSTim Chen	## 3) CRC Array:
1946a8ce1efSTim Chen	################################################################
1956a8ce1efSTim Chen
1966a8ce1efSTim Chencrc_array:
1976a8ce1efSTim Chen	i=128
1986a8ce1efSTim Chen.rept 128-1
1996a8ce1efSTim Chen.altmacro
2006a8ce1efSTim ChenLABEL crc_ %i
2016a8ce1efSTim Chen.noaltmacro
2026a8ce1efSTim Chen	crc32q   -i*8(block_0), crc_init
2036a8ce1efSTim Chen	crc32q   -i*8(block_1), crc1
2046a8ce1efSTim Chen	crc32q   -i*8(block_2), crc2
2056a8ce1efSTim Chen	i=(i-1)
2066a8ce1efSTim Chen.endr
2076a8ce1efSTim Chen
2086a8ce1efSTim Chen.altmacro
2096a8ce1efSTim ChenLABEL crc_ %i
2106a8ce1efSTim Chen.noaltmacro
2116a8ce1efSTim Chen	crc32q   -i*8(block_0), crc_init
2126a8ce1efSTim Chen	crc32q   -i*8(block_1), crc1
2136a8ce1efSTim Chen# SKIP  crc32  -i*8(block_2), crc2 ; Don't do this one yet
2146a8ce1efSTim Chen
2156a8ce1efSTim Chen	mov     block_2, block_0
2166a8ce1efSTim Chen
2176a8ce1efSTim Chen	################################################################
2186a8ce1efSTim Chen	## 4) Combine three results:
2196a8ce1efSTim Chen	################################################################
2206a8ce1efSTim Chen
221*34fdce69SPeter Zijlstra	lea	(K_table-8)(%rip), %bufp		# first entry is for idx 1
2226a8ce1efSTim Chen	shlq    $3, %rax			# rax *= 8
223*34fdce69SPeter Zijlstra	pmovzxdq (%bufp,%rax), %xmm0		# 2 consts: K1:K2
224473946e6SGeorge Spelvin	leal	(%eax,%eax,2), %eax		# rax *= 3 (total *24)
225473946e6SGeorge Spelvin	subq    %rax, tmp			# tmp -= rax*24
2266a8ce1efSTim Chen
2276a8ce1efSTim Chen	movq    crc_init, %xmm1			# CRC for block 1
22857ae1b05SSandy Wu	PCLMULQDQ 0x00,%xmm0,%xmm1		# Multiply by K2
2296a8ce1efSTim Chen
2306a8ce1efSTim Chen	movq    crc1, %xmm2			# CRC for block 2
23157ae1b05SSandy Wu	PCLMULQDQ 0x10, %xmm0, %xmm2		# Multiply by K1
2326a8ce1efSTim Chen
2336a8ce1efSTim Chen	pxor    %xmm2,%xmm1
2346a8ce1efSTim Chen	movq    %xmm1, %rax
2356a8ce1efSTim Chen	xor     -i*8(block_2), %rax
2366a8ce1efSTim Chen	mov     crc2, crc_init
2376a8ce1efSTim Chen	crc32   %rax, crc_init
2386a8ce1efSTim Chen
2396a8ce1efSTim Chen	################################################################
2406a8ce1efSTim Chen	## 5) Check for end:
2416a8ce1efSTim Chen	################################################################
2426a8ce1efSTim Chen
2436a8ce1efSTim ChenLABEL crc_ 0
2446a8ce1efSTim Chen	mov     tmp, len
2456a8ce1efSTim Chen	cmp     $128*24, tmp
2466a8ce1efSTim Chen	jae     full_block
2476a8ce1efSTim Chen	cmp     $24, tmp
2486a8ce1efSTim Chen	jae     continue_block
2496a8ce1efSTim Chen
2506a8ce1efSTim Chenless_than_24:
2516a8ce1efSTim Chen	shl     $32-4, len_dw			# less_than_16 expects length
2526a8ce1efSTim Chen						# in upper 4 bits of len_dw
2536a8ce1efSTim Chen	jnc     less_than_16
2546a8ce1efSTim Chen	crc32q  (bufptmp), crc_init
2556a8ce1efSTim Chen	crc32q  8(bufptmp), crc_init
2566a8ce1efSTim Chen	jz      do_return
2576a8ce1efSTim Chen	add     $16, bufptmp
2586a8ce1efSTim Chen	# len is less than 8 if we got here
2596a8ce1efSTim Chen	# less_than_8 expects length in upper 3 bits of len_dw
2606a8ce1efSTim Chen	# less_than_8_post_shl1 expects length = carryflag * 8 + len_dw[31:30]
2616a8ce1efSTim Chen	shl     $2, len_dw
2626a8ce1efSTim Chen	jmp     less_than_8_post_shl1
2636a8ce1efSTim Chen
2646a8ce1efSTim Chen	#######################################################################
2656a8ce1efSTim Chen	## 6) LESS THAN 256-bytes REMAIN AT THIS POINT (8-bits of len are full)
2666a8ce1efSTim Chen	#######################################################################
2676a8ce1efSTim Chensmall:
2686a8ce1efSTim Chen	shl $32-8, len_dw		# Prepare len_dw for less_than_256
2696a8ce1efSTim Chen	j=256
2706a8ce1efSTim Chen.rept 5					# j = {256, 128, 64, 32, 16}
2716a8ce1efSTim Chen.altmacro
2726a8ce1efSTim ChenLABEL less_than_ %j			# less_than_j: Length should be in
2736a8ce1efSTim Chen					# upper lg(j) bits of len_dw
2746a8ce1efSTim Chen	j=(j/2)
2756a8ce1efSTim Chen	shl     $1, len_dw		# Get next MSB
2766a8ce1efSTim Chen	JNC_LESS_THAN %j
2776a8ce1efSTim Chen.noaltmacro
2786a8ce1efSTim Chen	i=0
2796a8ce1efSTim Chen.rept (j/8)
2806a8ce1efSTim Chen	crc32q  i(bufptmp), crc_init	# Compute crc32 of 8-byte data
2816a8ce1efSTim Chen	i=i+8
2826a8ce1efSTim Chen.endr
2836a8ce1efSTim Chen	jz      do_return		# Return if remaining length is zero
2846a8ce1efSTim Chen	add     $j, bufptmp		# Advance buf
2856a8ce1efSTim Chen.endr
2866a8ce1efSTim Chen
2876a8ce1efSTim Chenless_than_8:				# Length should be stored in
2886a8ce1efSTim Chen					# upper 3 bits of len_dw
2896a8ce1efSTim Chen	shl     $1, len_dw
2906a8ce1efSTim Chenless_than_8_post_shl1:
2916a8ce1efSTim Chen	jnc     less_than_4
2926a8ce1efSTim Chen	crc32l  (bufptmp), crc_init_dw	# CRC of 4 bytes
2936a8ce1efSTim Chen	jz      do_return		# return if remaining data is zero
2946a8ce1efSTim Chen	add     $4, bufptmp
2956a8ce1efSTim Chenless_than_4:				# Length should be stored in
2966a8ce1efSTim Chen					# upper 2 bits of len_dw
2976a8ce1efSTim Chen	shl     $1, len_dw
2986a8ce1efSTim Chen	jnc     less_than_2
2996a8ce1efSTim Chen	crc32w  (bufptmp), crc_init_dw	# CRC of 2 bytes
3006a8ce1efSTim Chen	jz      do_return		# return if remaining data is zero
3016a8ce1efSTim Chen	add     $2, bufptmp
3026a8ce1efSTim Chenless_than_2:				# Length should be stored in the MSB
3036a8ce1efSTim Chen					# of len_dw
3046a8ce1efSTim Chen	shl     $1, len_dw
3056a8ce1efSTim Chen	jnc     less_than_1
3066a8ce1efSTim Chen	crc32b  (bufptmp), crc_init_dw	# CRC of 1 byte
3076a8ce1efSTim Chenless_than_1:				# Length should be zero
3086a8ce1efSTim Chendo_return:
3096a8ce1efSTim Chen	movq    crc_init, %rax
3106a8ce1efSTim Chen	popq    %rsi
3116a8ce1efSTim Chen	popq    %rdi
3126a8ce1efSTim Chen	popq    %rbx
3136a8ce1efSTim Chen        ret
3146dcc5627SJiri SlabySYM_FUNC_END(crc_pcl)
3156a8ce1efSTim Chen
316587d531bSDenys Vlasenko.section	.rodata, "a", @progbits
3176a8ce1efSTim Chen        ################################################################
3186a8ce1efSTim Chen        ## jump table        Table is 129 entries x 2 bytes each
3196a8ce1efSTim Chen        ################################################################
3206a8ce1efSTim Chen.align 4
3216a8ce1efSTim Chenjump_table:
3226a8ce1efSTim Chen	i=0
3236a8ce1efSTim Chen.rept 129
3246a8ce1efSTim Chen.altmacro
3256a8ce1efSTim ChenJMPTBL_ENTRY %i
3266a8ce1efSTim Chen.noaltmacro
3276a8ce1efSTim Chen	i=i+1
3286a8ce1efSTim Chen.endr
329698a5abbSJussi Kivilinna
330698a5abbSJussi Kivilinna
3316a8ce1efSTim Chen	################################################################
3326a8ce1efSTim Chen	## PCLMULQDQ tables
333473946e6SGeorge Spelvin	## Table is 128 entries x 2 words (8 bytes) each
3346a8ce1efSTim Chen	################################################################
335473946e6SGeorge Spelvin.align 8
3366a8ce1efSTim ChenK_table:
337473946e6SGeorge Spelvin	.long 0x493c7d27, 0x00000001
338473946e6SGeorge Spelvin	.long 0xba4fc28e, 0x493c7d27
339473946e6SGeorge Spelvin	.long 0xddc0152b, 0xf20c0dfe
340473946e6SGeorge Spelvin	.long 0x9e4addf8, 0xba4fc28e
341473946e6SGeorge Spelvin	.long 0x39d3b296, 0x3da6d0cb
342473946e6SGeorge Spelvin	.long 0x0715ce53, 0xddc0152b
343473946e6SGeorge Spelvin	.long 0x47db8317, 0x1c291d04
344473946e6SGeorge Spelvin	.long 0x0d3b6092, 0x9e4addf8
345473946e6SGeorge Spelvin	.long 0xc96cfdc0, 0x740eef02
346473946e6SGeorge Spelvin	.long 0x878a92a7, 0x39d3b296
347473946e6SGeorge Spelvin	.long 0xdaece73e, 0x083a6eec
348473946e6SGeorge Spelvin	.long 0xab7aff2a, 0x0715ce53
349473946e6SGeorge Spelvin	.long 0x2162d385, 0xc49f4f67
350473946e6SGeorge Spelvin	.long 0x83348832, 0x47db8317
351473946e6SGeorge Spelvin	.long 0x299847d5, 0x2ad91c30
352473946e6SGeorge Spelvin	.long 0xb9e02b86, 0x0d3b6092
353473946e6SGeorge Spelvin	.long 0x18b33a4e, 0x6992cea2
354473946e6SGeorge Spelvin	.long 0xb6dd949b, 0xc96cfdc0
355473946e6SGeorge Spelvin	.long 0x78d9ccb7, 0x7e908048
356473946e6SGeorge Spelvin	.long 0xbac2fd7b, 0x878a92a7
357473946e6SGeorge Spelvin	.long 0xa60ce07b, 0x1b3d8f29
358473946e6SGeorge Spelvin	.long 0xce7f39f4, 0xdaece73e
359473946e6SGeorge Spelvin	.long 0x61d82e56, 0xf1d0f55e
360473946e6SGeorge Spelvin	.long 0xd270f1a2, 0xab7aff2a
361473946e6SGeorge Spelvin	.long 0xc619809d, 0xa87ab8a8
362473946e6SGeorge Spelvin	.long 0x2b3cac5d, 0x2162d385
363473946e6SGeorge Spelvin	.long 0x65863b64, 0x8462d800
364473946e6SGeorge Spelvin	.long 0x1b03397f, 0x83348832
365473946e6SGeorge Spelvin	.long 0xebb883bd, 0x71d111a8
366473946e6SGeorge Spelvin	.long 0xb3e32c28, 0x299847d5
367473946e6SGeorge Spelvin	.long 0x064f7f26, 0xffd852c6
368473946e6SGeorge Spelvin	.long 0xdd7e3b0c, 0xb9e02b86
369473946e6SGeorge Spelvin	.long 0xf285651c, 0xdcb17aa4
370473946e6SGeorge Spelvin	.long 0x10746f3c, 0x18b33a4e
371473946e6SGeorge Spelvin	.long 0xc7a68855, 0xf37c5aee
372473946e6SGeorge Spelvin	.long 0x271d9844, 0xb6dd949b
373473946e6SGeorge Spelvin	.long 0x8e766a0c, 0x6051d5a2
374473946e6SGeorge Spelvin	.long 0x93a5f730, 0x78d9ccb7
375473946e6SGeorge Spelvin	.long 0x6cb08e5c, 0x18b0d4ff
376473946e6SGeorge Spelvin	.long 0x6b749fb2, 0xbac2fd7b
377473946e6SGeorge Spelvin	.long 0x1393e203, 0x21f3d99c
378473946e6SGeorge Spelvin	.long 0xcec3662e, 0xa60ce07b
379473946e6SGeorge Spelvin	.long 0x96c515bb, 0x8f158014
380473946e6SGeorge Spelvin	.long 0xe6fc4e6a, 0xce7f39f4
381473946e6SGeorge Spelvin	.long 0x8227bb8a, 0xa00457f7
382473946e6SGeorge Spelvin	.long 0xb0cd4768, 0x61d82e56
383473946e6SGeorge Spelvin	.long 0x39c7ff35, 0x8d6d2c43
384473946e6SGeorge Spelvin	.long 0xd7a4825c, 0xd270f1a2
385473946e6SGeorge Spelvin	.long 0x0ab3844b, 0x00ac29cf
386473946e6SGeorge Spelvin	.long 0x0167d312, 0xc619809d
387473946e6SGeorge Spelvin	.long 0xf6076544, 0xe9adf796
388473946e6SGeorge Spelvin	.long 0x26f6a60a, 0x2b3cac5d
389473946e6SGeorge Spelvin	.long 0xa741c1bf, 0x96638b34
390473946e6SGeorge Spelvin	.long 0x98d8d9cb, 0x65863b64
391473946e6SGeorge Spelvin	.long 0x49c3cc9c, 0xe0e9f351
392473946e6SGeorge Spelvin	.long 0x68bce87a, 0x1b03397f
393473946e6SGeorge Spelvin	.long 0x57a3d037, 0x9af01f2d
394473946e6SGeorge Spelvin	.long 0x6956fc3b, 0xebb883bd
395473946e6SGeorge Spelvin	.long 0x42d98888, 0x2cff42cf
396473946e6SGeorge Spelvin	.long 0x3771e98f, 0xb3e32c28
397473946e6SGeorge Spelvin	.long 0xb42ae3d9, 0x88f25a3a
398473946e6SGeorge Spelvin	.long 0x2178513a, 0x064f7f26
399473946e6SGeorge Spelvin	.long 0xe0ac139e, 0x4e36f0b0
400473946e6SGeorge Spelvin	.long 0x170076fa, 0xdd7e3b0c
401473946e6SGeorge Spelvin	.long 0x444dd413, 0xbd6f81f8
402473946e6SGeorge Spelvin	.long 0x6f345e45, 0xf285651c
403473946e6SGeorge Spelvin	.long 0x41d17b64, 0x91c9bd4b
404473946e6SGeorge Spelvin	.long 0xff0dba97, 0x10746f3c
405473946e6SGeorge Spelvin	.long 0xa2b73df1, 0x885f087b
406473946e6SGeorge Spelvin	.long 0xf872e54c, 0xc7a68855
407473946e6SGeorge Spelvin	.long 0x1e41e9fc, 0x4c144932
408473946e6SGeorge Spelvin	.long 0x86d8e4d2, 0x271d9844
409473946e6SGeorge Spelvin	.long 0x651bd98b, 0x52148f02
410473946e6SGeorge Spelvin	.long 0x5bb8f1bc, 0x8e766a0c
411473946e6SGeorge Spelvin	.long 0xa90fd27a, 0xa3c6f37a
412473946e6SGeorge Spelvin	.long 0xb3af077a, 0x93a5f730
413473946e6SGeorge Spelvin	.long 0x4984d782, 0xd7c0557f
414473946e6SGeorge Spelvin	.long 0xca6ef3ac, 0x6cb08e5c
415473946e6SGeorge Spelvin	.long 0x234e0b26, 0x63ded06a
416473946e6SGeorge Spelvin	.long 0xdd66cbbb, 0x6b749fb2
417473946e6SGeorge Spelvin	.long 0x4597456a, 0x4d56973c
418473946e6SGeorge Spelvin	.long 0xe9e28eb4, 0x1393e203
419473946e6SGeorge Spelvin	.long 0x7b3ff57a, 0x9669c9df
420473946e6SGeorge Spelvin	.long 0xc9c8b782, 0xcec3662e
421473946e6SGeorge Spelvin	.long 0x3f70cc6f, 0xe417f38a
422473946e6SGeorge Spelvin	.long 0x93e106a4, 0x96c515bb
423473946e6SGeorge Spelvin	.long 0x62ec6c6d, 0x4b9e0f71
424473946e6SGeorge Spelvin	.long 0xd813b325, 0xe6fc4e6a
425473946e6SGeorge Spelvin	.long 0x0df04680, 0xd104b8fc
426473946e6SGeorge Spelvin	.long 0x2342001e, 0x8227bb8a
427473946e6SGeorge Spelvin	.long 0x0a2a8d7e, 0x5b397730
428473946e6SGeorge Spelvin	.long 0x6d9a4957, 0xb0cd4768
429473946e6SGeorge Spelvin	.long 0xe8b6368b, 0xe78eb416
430473946e6SGeorge Spelvin	.long 0xd2c3ed1a, 0x39c7ff35
431473946e6SGeorge Spelvin	.long 0x995a5724, 0x61ff0e01
432473946e6SGeorge Spelvin	.long 0x9ef68d35, 0xd7a4825c
433473946e6SGeorge Spelvin	.long 0x0c139b31, 0x8d96551c
434473946e6SGeorge Spelvin	.long 0xf2271e60, 0x0ab3844b
435473946e6SGeorge Spelvin	.long 0x0b0bf8ca, 0x0bf80dd2
436473946e6SGeorge Spelvin	.long 0x2664fd8b, 0x0167d312
437473946e6SGeorge Spelvin	.long 0xed64812d, 0x8821abed
438473946e6SGeorge Spelvin	.long 0x02ee03b2, 0xf6076544
439473946e6SGeorge Spelvin	.long 0x8604ae0f, 0x6a45d2b2
440473946e6SGeorge Spelvin	.long 0x363bd6b3, 0x26f6a60a
441473946e6SGeorge Spelvin	.long 0x135c83fd, 0xd8d26619
442473946e6SGeorge Spelvin	.long 0x5fabe670, 0xa741c1bf
443473946e6SGeorge Spelvin	.long 0x35ec3279, 0xde87806c
444473946e6SGeorge Spelvin	.long 0x00bcf5f6, 0x98d8d9cb
445473946e6SGeorge Spelvin	.long 0x8ae00689, 0x14338754
446473946e6SGeorge Spelvin	.long 0x17f27698, 0x49c3cc9c
447473946e6SGeorge Spelvin	.long 0x58ca5f00, 0x5bd2011f
448473946e6SGeorge Spelvin	.long 0xaa7c7ad5, 0x68bce87a
449473946e6SGeorge Spelvin	.long 0xb5cfca28, 0xdd07448e
450473946e6SGeorge Spelvin	.long 0xded288f8, 0x57a3d037
451473946e6SGeorge Spelvin	.long 0x59f229bc, 0xdde8f5b9
452473946e6SGeorge Spelvin	.long 0x6d390dec, 0x6956fc3b
453473946e6SGeorge Spelvin	.long 0x37170390, 0xa3e3e02c
454473946e6SGeorge Spelvin	.long 0x6353c1cc, 0x42d98888
455473946e6SGeorge Spelvin	.long 0xc4584f5c, 0xd73c7bea
456473946e6SGeorge Spelvin	.long 0xf48642e9, 0x3771e98f
457473946e6SGeorge Spelvin	.long 0x531377e2, 0x80ff0093
458473946e6SGeorge Spelvin	.long 0xdd35bc8d, 0xb42ae3d9
459473946e6SGeorge Spelvin	.long 0xb25b29f2, 0x8fe4c34d
460473946e6SGeorge Spelvin	.long 0x9a5ede41, 0x2178513a
461473946e6SGeorge Spelvin	.long 0xa563905d, 0xdf99fc11
462473946e6SGeorge Spelvin	.long 0x45cddf4e, 0xe0ac139e
463473946e6SGeorge Spelvin	.long 0xacfa3103, 0x6c23e841
464473946e6SGeorge Spelvin	.long 0xa51b6135, 0x170076fa
465