]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ; Copyright(c) 2011-2016 Intel Corporation All rights reserved. | |
3 | ; | |
4 | ; Redistribution and use in source and binary forms, with or without | |
5 | ; modification, are permitted provided that the following conditions | |
6 | ; are met: | |
7 | ; * Redistributions of source code must retain the above copyright | |
8 | ; notice, this list of conditions and the following disclaimer. | |
9 | ; * Redistributions in binary form must reproduce the above copyright | |
10 | ; notice, this list of conditions and the following disclaimer in | |
11 | ; the documentation and/or other materials provided with the | |
12 | ; distribution. | |
13 | ; * Neither the name of Intel Corporation nor the names of its | |
14 | ; contributors may be used to endorse or promote products derived | |
15 | ; from this software without specific prior written permission. | |
16 | ; | |
17 | ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | ; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | ; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
20 | ; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
21 | ; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
22 | ; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
23 | ; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
24 | ; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
25 | ; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
26 | ; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
27 | ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
29 | ||
30 | default rel | |
31 | [bits 64] | |
32 | ||
33 | %ifidn __OUTPUT_FORMAT__, elf64 | |
34 | %define WRT_OPT wrt ..plt | |
35 | %else | |
36 | %define WRT_OPT | |
37 | %endif | |
38 | ||
39 | %include "reg_sizes.asm" | |
40 | ||
7c673cae FG |
41 | extern isal_deflate_body_base |
42 | extern isal_deflate_body_01 | |
224ce89b | 43 | extern isal_deflate_body_02 |
7c673cae FG |
44 | extern isal_deflate_body_04 |
45 | extern isal_deflate_finish_base | |
46 | extern isal_deflate_finish_01 | |
47 | ||
7c673cae | 48 | |
224ce89b WB |
49 | extern isal_deflate_icf_body_base |
50 | extern isal_deflate_icf_body_01 | |
51 | extern isal_deflate_icf_body_02 | |
52 | extern isal_deflate_icf_body_04 | |
53 | extern isal_deflate_icf_finish_base | |
54 | extern isal_deflate_icf_finish_01 | |
7c673cae | 55 | |
224ce89b WB |
56 | extern isal_update_histogram_base |
57 | extern isal_update_histogram_01 | |
58 | extern isal_update_histogram_04 | |
7c673cae | 59 | |
224ce89b WB |
60 | extern encode_deflate_icf_base |
61 | extern encode_deflate_icf_04 | |
7c673cae | 62 | |
224ce89b WB |
63 | extern crc32_gzip_base |
64 | extern crc32_gzip_01 | |
7c673cae | 65 | |
224ce89b WB |
66 | section .text |
67 | ||
68 | %include "multibinary.asm" | |
7c673cae FG |
69 | |
70 | mbin_interface isal_deflate_body | |
224ce89b | 71 | mbin_dispatch_init5 isal_deflate_body, isal_deflate_body_base, isal_deflate_body_01, isal_deflate_body_02, isal_deflate_body_04 |
7c673cae FG |
72 | mbin_interface isal_deflate_finish |
73 | mbin_dispatch_init5 isal_deflate_finish, isal_deflate_finish_base, isal_deflate_finish_01, isal_deflate_finish_01, isal_deflate_finish_01 | |
74 | ||
224ce89b WB |
75 | mbin_interface isal_deflate_icf_body |
76 | mbin_dispatch_init5 isal_deflate_icf_body, isal_deflate_icf_body_base, isal_deflate_icf_body_01, isal_deflate_icf_body_02, isal_deflate_icf_body_04 | |
77 | mbin_interface isal_deflate_icf_finish | |
78 | mbin_dispatch_init5 isal_deflate_icf_finish, isal_deflate_icf_finish_base, isal_deflate_icf_finish_01, isal_deflate_icf_finish_01, isal_deflate_icf_finish_01 | |
79 | ||
80 | mbin_interface isal_update_histogram | |
81 | mbin_dispatch_init5 isal_update_histogram, isal_update_histogram_base, isal_update_histogram_01, isal_update_histogram_01, isal_update_histogram_04 | |
82 | ||
83 | mbin_interface encode_deflate_icf | |
84 | mbin_dispatch_init5 encode_deflate_icf, encode_deflate_icf_base, encode_deflate_icf_base, encode_deflate_icf_base, encode_deflate_icf_04 | |
85 | ||
86 | mbin_interface crc32_gzip | |
87 | mbin_dispatch_init5 crc32_gzip, crc32_gzip_base, crc32_gzip_base, crc32_gzip_01, crc32_gzip_01 |