Is there an intrinsic to wrap the bswap x86 instruction. I have written a
function to do this with inline assembler but I am wondering if an intrinsic
wouldn't be a better solution.

Regards,

George.

Re: bswap intrinsic? by George

George
Sun Jan 09 13:19:54 CST 2005

Sorry, I posted to the wrong newsgroup.

Regards,

George.

"George M. Garner Jr." <gmgarner@newsgroup.nospam> wrote in message
news:uTQ3O$n9EHA.2016@TK2MSFTNGP15.phx.gbl...
> Is there an intrinsic to wrap the bswap x86 instruction. I have written a
> function to do this with inline assembler but I am wondering if an
> intrinsic wouldn't be a better solution.
>
> Regards,
>
> George.
>



Re: bswap intrinsic? by Maxim

Maxim
Sun Jan 09 15:17:45 CST 2005

> Is there an intrinsic to wrap the bswap x86 instruction.

IIRC yes.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com



Re: bswap intrinsic? by pavel_a

pavel_a
Mon Jan 10 06:09:04 CST 2005

unsigned short __cdecl _byteswap_ushort(unsigned short);
unsigned long __cdecl _byteswap_ulong (unsigned long);
unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64);

in ntddk.h ... and lots of othr intrinsics.

"Maxim S. Shatskih" wrote:
> > Is there an intrinsic to wrap the bswap x86 instruction.
>
> IIRC yes.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
>
>