List Info

Thread: OpenSSL: openssl/crypto/ sparccpuid.S




OpenSSL: openssl/crypto/ sparccpuid.S
country flaguser name
Germany
2007-05-19 12:26:48
  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:26:48
  Branch: HEAD                             Handle:
2007051918264800

  Modified files:
    openssl/crypto          sparccpuid.S

  Log:
    sparccpuid.s update.

  Summary:
    Revision    Changes     Path
    1.5         +41 -10     openssl/crypto/sparccpuid.S
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/crypto/sparccpuid.S
 
============================================================
================
  $ cvs diff -u -r1.4 -r1.5 sparccpuid.S
  --- openssl/crypto/sparccpuid.S	14 May 2007 21:35:25
-0000	1.4
  +++ openssl/crypto/sparccpuid.S	19 May 2007 17:26:48
-0000	1.5
   -235,7 +235,7 
   .global	OPENSSL_cleanse
   .align	32
   OPENSSL_cleanse:
  -	cmp	%o1,6
  +	cmp	%o1,14
   	nop
   #ifdef ABI64
   	bgu	%xcc,.Lot
   -253,23 +253,53 
   	nop
   .align	32
   .Lot:
  -	andcc	%o0,3,%g0
  -	bz	.Laligned
  +#ifndef ABI64
  +	subcc	%g0,1,%g1
  +	! see above for explanation
  +	.word	0x83408000	!rd	%ccr,%g1
  +	cmp	%g1,0x99
  +	bne	.v8lot
  +	nop
  +#endif
  +
  +.v9lot:	andcc	%o0,7,%g0
  +	bz	.v9aligned
  +	nop
  +	stb	%g0,[%o0]
  +	sub	%o1,1,%o1
  +	ba	.v9lot
  +	add	%o0,1,%o0
  +.align	16,0x01000000
  +.v9aligned:
  +	.word	0xc0720000	!stx	%g0,[%o0]
  +	sub	%o1,8,%o1
  +	andcc	%o1,-8,%g0
  +#ifdef ABI64
  +	.word	0x126ffffd	!bnz	%xcc,.v9aligned
  +#else
  +	.word	0x124ffffd	!bnz	%icc,.v9aligned
  +#endif
  +	add	%o0,8,%o0
  +
  +	cmp	%o1,0
  +	bne	.Little
  +	nop
  +	retl
  +	nop
  +#ifndef ABI64
  +.v8lot:	andcc	%o0,3,%g0
  +	bz	.v8aligned
   	nop
   	stb	%g0,[%o0]
   	sub	%o1,1,%o1
  -	ba	.Lot
  +	ba	.v8lot
   	add	%o0,1,%o0
   	nop
  -.Laligned:
  +.v8aligned:
   	st	%g0,[%o0]
   	sub	%o1,4,%o1
   	andcc	%o1,-4,%g0
  -#ifdef ABI64
  -	bnz	%xcc,.Laligned
  -#else
  -	bnz	.Laligned
  -#endif
  +	bnz	.v8aligned
   	add	%o0,4,%o0
   
   	cmp	%o1,0
   -277,6 +307,7 
   	nop
   	retl
   	nop
  +#endif
   .type	OPENSSL_cleanse,#function
   .size	OPENSSL_cleanse,.-OPENSSL_cleanse
   
   .
____________________________________________________________
__________
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 )