Export (0) Print
Expand All
Expand Minimize

bfrev (sm5 - asm)

Reverse a 32-bit number.

bfrev dest[.mask], src0[.swizzle]

 

ItemDescription

dest

[in] The address for src0 with bits reversed.

src0

[in] The 32-bit number to reverse.

 

Remarks

For example, given 0x12345678 the result would be 0x1e6a2c48.

This instruction applies to the following shader stages:

VertexHullDomainGeometryPixelCompute
XX X XXX

 

Minimum Shader Model

This instruction is supported in the following shader models:

Shader ModelSupported
Shader Model 5 yes
Shader Model 4.1 no
Shader Model 4 no
Shader Model 3 (DirectX HLSL) no
Shader Model 2 (DirectX HLSL) no
Shader Model 1 (DirectX HLSL) no

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft