On Wed, Dec 04, 2013 at 10:04:51PM +0100, Andy Polyakov wrote:
> >Update ppc-xlate.pl to remove the register prefixes "v" and "vs". For
> >example, v0 and vs0 are both converted to 0.
> >---
> > crypto/perlasm/ppc-xlate.pl | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/crypto/perlasm/ppc-xlate.pl b/crypto/perlasm/ppc-xlate.pl
> >index c075d5f..118da16 100755
> >--- a/crypto/perlasm/ppc-xlate.pl
> >+++ b/crypto/perlasm/ppc-xlate.pl
> >@@ -168,7 +168,7 @@ while($line=<>) {
> >     my $mnemonic = $2;
> >     my $f = $3;
> >     my $opcode = eval("\$$mnemonic");
> >-    $line =~ s|\bc?[rf]([0-9]+)\b|$1|g if ($c ne "." and $flavour !~ /osx/);
> >+    $line =~ s|\b(c?[rf]\|v\|vs)([0-9]+)\b|$2|g if ($c ne "." and $flavour 
> >!~ /osx/);
> >     if (ref($opcode) eq 'CODE') { $line = &$opcode($f,split(',',$line)); }
> >     elsif ($mnemonic)           { $line = $c.$mnemonic.$f."\t".$line; }
> >     }
> 
> http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=26e18383efcfcc38b766bbb48210d50b2a9af894
> 
> Please, double-check everything. [There also was vpaes-ppc.pl update.]

It seems correct to me. The tests didn't show any error either.

Just out of curiosity, which compiler doesn't recognize vmr?

> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [email protected]
> Automated List Manager                           [email protected]
> 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to