Re: [2/2] ntdll: Implement missing 64 bit shifts (try 2)

2010-12-09 Thread Alexandre Julliard
Mike Gibson mike.gib...@storagecraft.com writes: @@ -144,8 +144,23 @@ LONGLONG WINAPI RtlLargeIntegerShiftRight( LONGLONG a, INT count ) */ LONGLONG WINAPI RtlLargeIntegerArithmeticShift( LONGLONG a, INT count ) { -/* FIXME: gcc does arithmetic shift here, but it may not be true on

RE: ntdll: Implement missing 64 bit shifts

2010-12-07 Thread Mike Gibson
Alexandre Julliard [julli...@winehq.org] writes: Mike Gibson mike.gib...@storagecraft.com writes: +/** + *_allshr (NTDLL.@) + * + * Right arithmetic shift a 64 bit integer + * + * PARAMS + * a

Re: ntdll: Implement missing 64 bit shifts

2010-12-07 Thread Erich Hoover
On Tue, Dec 7, 2010 at 10:51 AM, Mike Gibson mike.gib...@storagecraft.com wrote: ... The vast majority of platforms seem to do arithmetic right shift.  It would be better to have a #define that indicates what the right shifting behavior is.  Only on those platforms where right shift isn't

Re: ntdll: Implement missing 64 bit shifts

2010-12-06 Thread Alexandre Julliard
Mike Gibson mike.gib...@storagecraft.com writes: +/** + *_allshr (NTDLL.@) + * + * Right arithmetic shift a 64 bit integer + * + * PARAMS + * a [I] Initial number. + * count [I] Number of bits to