List Info

Thread: OpenSSL: openssl/crypto/perlasm/ x86unix.pl openssl/crypto/ x86c...




OpenSSL: openssl/crypto/perlasm/ x86unix.pl openssl/crypto/ x86c...
country flaguser name
Germany
2007-05-19 12:52:52
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Andy
Polyakov
  Root:   /v/openssl/cvs                   Email:  approopenssl.org
  Module: openssl                          Date:  
19-May-2007 19:52:51
  Branch: HEAD                             Handle:
2007051918525100

  Modified files:
    openssl/crypto          x86cpuid.pl
    openssl/crypto/perlasm  x86unix.pl

  Log:
    x86cpuid fixes.
    PR: 1526

  Summary:
    Revision    Changes     Path
    1.48        +1  -0     
openssl/crypto/perlasm/x86unix.pl
    1.11        +1  -1      openssl/crypto/x86cpuid.pl
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/crypto/perlasm/x86unix.pl
 
============================================================
================
  $ cvs diff -u -r1.47 -r1.48 x86unix.pl
  --- openssl/crypto/perlasm/x86unix.pl	18 Sep 2006 19:17:09
-0000	1.47
  +++ openssl/crypto/perlasm/x86unix.pl	19 May 2007 17:52:51
-0000	1.48
   -51,6 +51,7 
       if ($#_==0)				{ &::emit($opcode);		}
       elsif ($opcode =~ m/^j/o && $#_==1)	{
&::emit($opcode,arg);	}
       elsif ($opcode eq "call" &&
$#_==1)	{ &::emit($opcode,arg);	}
  +    elsif ($opcode =~ m/^set/&& $#_==1)	{
&::emit($opcode,arg);	}
       else				{ &::emit($opcode.$suffix,arg);}
   
     1;
   .
  patch -p0 <<' .'
  Index: openssl/crypto/x86cpuid.pl
 
============================================================
================
  $ cvs diff -u -r1.10 -r1.11 x86cpuid.pl
  --- openssl/crypto/x86cpuid.pl	14 May 2007 21:35:25
-0000	1.10
  +++ openssl/crypto/x86cpuid.pl	19 May 2007 17:52:51
-0000	1.11
   -43,7 +43,7 
   	&shr	("ebx",16);
   	&cmp	(&LB("ebx"),1);		# see if cache
is shared(*)
   	&ja	(&label("nocpuid"));
  -	&and	("edx",~(1<<28));	# clear
hyper-threading bit if not
  +	&and	("edx",0xefffffff);	# clear
hyper-threading bit if not
   &set_label("nocpuid");
   	&mov	("eax","edx");
   	&mov	("edx","ecx");
   .
____________________________________________________________
__________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                    
openssl-cvsopenssl.org
Automated List Manager                          
majordomoopenssl.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )