summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc4/asm/rc4-586.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rc4/asm/rc4-586.pl')
-rw-r--r--src/lib/libcrypto/rc4/asm/rc4-586.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rc4/asm/rc4-586.pl b/src/lib/libcrypto/rc4/asm/rc4-586.pl
index 03f0cff467..f3c3e117bc 100644
--- a/src/lib/libcrypto/rc4/asm/rc4-586.pl
+++ b/src/lib/libcrypto/rc4/asm/rc4-586.pl
@@ -123,7 +123,7 @@ if ($alt=0) {
123 push (@XX,shift(@XX)) if ($i>=0); 123 push (@XX,shift(@XX)) if ($i>=0);
124 } 124 }
125} else { 125} else {
126 # Using pinsrw here improves performane on Intel CPUs by 2-3%, but 126 # Using pinsrw here improves performance on Intel CPUs by 2-3%, but
127 # brings down AMD by 7%... 127 # brings down AMD by 7%...
128 $RC4_loop_mmx = sub { 128 $RC4_loop_mmx = sub {
129 my $i=shift; 129 my $i=shift;
@@ -144,7 +144,7 @@ if ($alt=0) {
144 &movd ($i>0?"mm1":"mm2",&DWP(0,$dat,$ty,4)); 144 &movd ($i>0?"mm1":"mm2",&DWP(0,$dat,$ty,4));
145 145
146 # (*) This is the key to Core2 and Westmere performance. 146 # (*) This is the key to Core2 and Westmere performance.
147 # Whithout movz out-of-order execution logic confuses 147 # Without movz out-of-order execution logic confuses
148 # itself and fails to reorder loads and stores. Problem 148 # itself and fails to reorder loads and stores. Problem
149 # appears to be fixed in Sandy Bridge... 149 # appears to be fixed in Sandy Bridge...
150 } 150 }