Module Name:    src
Committed By:   christos
Date:           Tue Mar  6 13:47:25 UTC 2018

Modified Files:
        src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips: mips64.S

Log Message:
Avoid branch delay spot warnings: Warning: macro instruction expanded into
multiple instructions in a branch delay slot
XXX: Manually need to fix in auto-generation.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips64.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips64.S
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips64.S:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips64.S:1.2
--- src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips64.S:1.1	Mon Mar  5 11:43:50 2018
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips64.S	Tue Mar  6 08:47:25 2018
@@ -297,8 +297,9 @@ bn_sqr_words_internal:
 	sd	$11,-2*8($4)
 
 	.set	noreorder
-	bgtz	$8,.L_bn_sqr_words_loop
 	sd	$10,-8($4)
+	bgtz	$8,.L_bn_sqr_words_loop
+	nop
 
 	beqz	$6,.L_bn_sqr_words_return
 	nop
@@ -564,8 +565,9 @@ bn_div_3_words:
 				
 	ld	$4,($7)
 	move	$10,$5
-	bne	$4,$6,bn_div_3_words_internal
 	ld	$5,-8($7)
+	bne	$4,$6,bn_div_3_words_internal
+	nop
 	li	$2,-1
 	jr	$31
 	move	$4,$2

Reply via email to