aes-sparcv9.pl: clean up regexp
authorAndy Polyakov <appro@openssl.org>
Wed, 11 Jan 2012 15:30:53 +0000 (15:30 +0000)
committerAndy Polyakov <appro@openssl.org>
Wed, 11 Jan 2012 15:30:53 +0000 (15:30 +0000)
PR: 2685

crypto/aes/asm/aes-sparcv9.pl

index c57b3a2d6d341d7971712d2e38aa40d2abd537ea..403c4d12904873e1eda4afe06d89272dac7788f6 100755 (executable)
@@ -1176,6 +1176,7 @@ ___
 # As UltraSPARC T1, a.k.a. Niagara, has shared FPU, FP nops can have
 # undesired effect, so just omit them and sacrifice some portion of
 # percent in performance...
 # As UltraSPARC T1, a.k.a. Niagara, has shared FPU, FP nops can have
 # undesired effect, so just omit them and sacrifice some portion of
 # percent in performance...
-$code =~ s/fmovs.*$//gem;
+$code =~ s/fmovs.*$//gm;
 
 print $code;
 
 print $code;
+close STDOUT;  # ensure flush