diff options
Diffstat (limited to 'src/lib/libcrypto/aes/asm/aes-586.pl')
-rw-r--r-- | src/lib/libcrypto/aes/asm/aes-586.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/aes/asm/aes-586.pl b/src/lib/libcrypto/aes/asm/aes-586.pl index aab40e6f1c..3ba8a26eaa 100644 --- a/src/lib/libcrypto/aes/asm/aes-586.pl +++ b/src/lib/libcrypto/aes/asm/aes-586.pl | |||
@@ -1187,7 +1187,7 @@ sub enclast() | |||
1187 | &lea ($tbl,&DWP(2048+128,$tbl,$s1)); | 1187 | &lea ($tbl,&DWP(2048+128,$tbl,$s1)); |
1188 | 1188 | ||
1189 | if (!$x86only) { | 1189 | if (!$x86only) { |
1190 | &bt (&DWP(0,$s0),25); # check for SSE bit | 1190 | &bt (&DWP(0,$s0),"\$IA32CAP_BIT0_SSE"); # check for SSE bit |
1191 | &jnc (&label("x86")); | 1191 | &jnc (&label("x86")); |
1192 | 1192 | ||
1193 | &movq ("mm0",&QWP(0,$acc)); | 1193 | &movq ("mm0",&QWP(0,$acc)); |
@@ -1976,7 +1976,7 @@ sub declast() | |||
1976 | &lea ($tbl,&DWP(2048+128,$tbl,$s1)); | 1976 | &lea ($tbl,&DWP(2048+128,$tbl,$s1)); |
1977 | 1977 | ||
1978 | if (!$x86only) { | 1978 | if (!$x86only) { |
1979 | &bt (&DWP(0,$s0),25); # check for SSE bit | 1979 | &bt (&DWP(0,$s0),"\$IA32CAP_BIT0_SSE"); # check for SSE bit |
1980 | &jnc (&label("x86")); | 1980 | &jnc (&label("x86")); |
1981 | 1981 | ||
1982 | &movq ("mm0",&QWP(0,$acc)); | 1982 | &movq ("mm0",&QWP(0,$acc)); |
@@ -2054,7 +2054,7 @@ my $mark=&DWP(76+240,"esp"); # copy of aes_key->rounds | |||
2054 | &test ($s2,15); | 2054 | &test ($s2,15); |
2055 | &jnz (&label("slow_way")); | 2055 | &jnz (&label("slow_way")); |
2056 | if (!$x86only) { | 2056 | if (!$x86only) { |
2057 | &bt (&DWP(0,$s0),28); # check for hyper-threading bit | 2057 | &bt (&DWP(0,$s0),"\$IA32CAP_BIT0_HT"); # check for hyper-threading bit |
2058 | &jc (&label("slow_way")); | 2058 | &jc (&label("slow_way")); |
2059 | } | 2059 | } |
2060 | # pre-allocate aligned stack frame... | 2060 | # pre-allocate aligned stack frame... |
@@ -2364,7 +2364,7 @@ my $mark=&DWP(76+240,"esp"); # copy of aes_key->rounds | |||
2364 | &jb (&label("slow_enc_tail")); | 2364 | &jb (&label("slow_enc_tail")); |
2365 | 2365 | ||
2366 | if (!$x86only) { | 2366 | if (!$x86only) { |
2367 | &bt ($_tmp,25); # check for SSE bit | 2367 | &bt ($_tmp,"\$IA32CAP_BIT0_SSE"); # check for SSE bit |
2368 | &jnc (&label("slow_enc_x86")); | 2368 | &jnc (&label("slow_enc_x86")); |
2369 | 2369 | ||
2370 | &movq ("mm0",&QWP(0,$key)); # load iv | 2370 | &movq ("mm0",&QWP(0,$key)); # load iv |
@@ -2479,7 +2479,7 @@ my $mark=&DWP(76+240,"esp"); # copy of aes_key->rounds | |||
2479 | #--------------------------- SLOW DECRYPT ---------------------------# | 2479 | #--------------------------- SLOW DECRYPT ---------------------------# |
2480 | &set_label("slow_decrypt",16); | 2480 | &set_label("slow_decrypt",16); |
2481 | if (!$x86only) { | 2481 | if (!$x86only) { |
2482 | &bt ($_tmp,25); # check for SSE bit | 2482 | &bt ($_tmp,"\$IA32CAP_BIT0_SSE"); # check for SSE bit |
2483 | &jnc (&label("slow_dec_loop_x86")); | 2483 | &jnc (&label("slow_dec_loop_x86")); |
2484 | 2484 | ||
2485 | &set_label("slow_dec_loop_sse",4); | 2485 | &set_label("slow_dec_loop_sse",4); |