From: Andy Polyakov Date: Thu, 3 Oct 2013 08:42:11 +0000 (+0200) Subject: perlasm/sparcv9_modes.pl: make it work even with seasoned perl. X-Git-Tag: master-post-reformat~1154 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6b2cae0c16631c6c1ccf61080fc2aa9bd1b5ea1b;p=oweals%2Fopenssl.git perlasm/sparcv9_modes.pl: make it work even with seasoned perl. PR: 3130 --- diff --git a/crypto/perlasm/sparcv9_modes.pl b/crypto/perlasm/sparcv9_modes.pl index 75ed1ac12b..19dc1b3058 100644 --- a/crypto/perlasm/sparcv9_modes.pl +++ b/crypto/perlasm/sparcv9_modes.pl @@ -1657,8 +1657,8 @@ sub emit_assembler { s/\b(camellia_[^s]+)\s+(%f[0-9]{1,2}),\s*(%f[0-9]{1,2}),\s*(%f[0-9]{1,2})/ &uncamellia3($1,$2,$3,$4) /geo or - s/\b(des_\w+)\s+(?%f[0-9]{1,2}),\s*(?[%fx0-9]+)(,\s*(?%f[0-9]{1,2})(,\s*(?%f[0-9]{1,2}))?)?/ - &undes($1,$+{rs1},$+{rs2},$+{rs3},$+{rs4}) + s/\b(des_\w+)\s+(%f[0-9]{1,2}),\s*([%fx0-9]+)(?:,\s*(%f[0-9]{1,2})(?:,\s*(%f[0-9]{1,2}))?)?/ + &undes($1,$2,$3,$4,$5) /geo or s/\b(mov[ds]to\w+)\s+(%f[0-9]{1,2}),\s*(%[goli][0-7])/ &unmovxtox($1,$2,$3)