]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/crypto/isa-l/isa-l_crypto/mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_block_sse.asm
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / mh_sha1_murmur3_x64_128 / mh_sha1_murmur3_x64_128_block_sse.asm
index 174a8518f765f0f531d921c52a67a2a8753a2982..ebd1b8b49bf4592a2855c5e7156ba7aa52cd1fc4 100644 (file)
@@ -2,7 +2,7 @@
 ;  Copyright(c) 2011-2016 Intel Corporation All rights reserved.
 ;
 ;  Redistribution and use in source and binary forms, with or without
-;  modification, are permitted provided that the following conditions 
+;  modification, are permitted provided that the following conditions
 ;  are met:
 ;    * Redistributions of source code must retain the above copyright
 ;      notice, this list of conditions and the following disclaimer.
 ;;
 
 %include "reg_sizes.asm"
+
+[bits 64]
 default rel
+section .text
 
 ;; Magic functions defined in FIPS 180-1
 ;;
@@ -518,8 +521,9 @@ align 32
 ; arg 3 pointer to murmur3 digest
 ; arg 4 number  of 1KB blocks
 ;
-global mh_sha1_murmur3_x64_128_block_sse:function internal
+mk_global mh_sha1_murmur3_x64_128_block_sse, function, internal
 func(mh_sha1_murmur3_x64_128_block_sse)
+       endbranch
        FUNC_SAVE
        ; save rsp
        mov     RSP_SAVE, rsp