diff options
author | Andy Polyakov <appro@openssl.org> | 2016-11-08 20:25:09 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-11-10 12:58:35 +0000 |
commit | a54aba531327285f64cf13a909bc129e9f9d5970 (patch) | |
tree | 606a917e8d22077a29e4b286df7da27da03c9c42 /crypto/aes | |
parent | 2fac86d9abeaa643677d1ffd0a139239fdf9406a (diff) |
aes/asm/aesp8-ppc.pl: improve [backward] portability.
Some of stone-age assembler can't cope with r0 in address. It's actually
sensible thing to do, because r0 is shunted to 0 in address arithmetic
and by refusing r0 assembler effectively makes you understand that.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/aes')
-rwxr-xr-x | crypto/aes/asm/aesp8-ppc.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/aes/asm/aesp8-ppc.pl b/crypto/aes/asm/aesp8-ppc.pl index 0497953cf5..7463df6c17 100755 --- a/crypto/aes/asm/aesp8-ppc.pl +++ b/crypto/aes/asm/aesp8-ppc.pl @@ -3011,7 +3011,7 @@ _aesp8_xts_enc5x: vxor $twk0,$twk0,v31 vcipher $out0,$out0,v26 - lvsr $inpperm,r0,$taillen # $in5 is no more + lvsr $inpperm,0,$taillen # $in5 is no more vcipher $out1,$out1,v26 vcipher $out2,$out2,v26 vcipher $out3,$out3,v26 |