Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

Bmi1

class in Unity.Burst.Intrinsics

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

bmi1 intrinsics

Static Properties

Property Description
IsBmi1Supported Evaluates to true at compile time if bmi1 intrinsics are supported. Burst ties bmi1 support to AVX2 support to simplify feature sets to support.

Static Methods

Method Description
andn_u32 Compute the bitwise NOT of 32-bit integer a and then AND with b, and store the results in dst.
andn_u64 Compute the bitwise NOT of 64-bit integer a and then AND with b, and store the results in dst.
bextr_u32 Extract contiguous bits from unsigned 32-bit integer a, and store the result in dst. Extract the number of bits specified by len, starting at the bit specified by start.
bextr_u64 Extract contiguous bits from unsigned 64-bit integer a, and store the result in dst. Extract the number of bits specified by len, starting at the bit specified by start.
bextr2_u32 Extract contiguous bits from unsigned 32-bit integer a, and store the result in dst. Extract the number of bits specified by bits 15:8 of control, starting at the bit specified by bits 0:7 of control..
bextr2_u64 Extract contiguous bits from unsigned 64-bit integer a, and store the result in dst. Extract the number of bits specified by bits 15:8 of control, starting at the bit specified by bits 0:7 of control..
blsi_u32 Extract the lowest set bit from unsigned 32-bit integer a and set the corresponding bit in dst. All other bits in dst are zeroed, and all bits are zeroed if no bits are set in a.
blsi_u64 Extract the lowest set bit from unsigned 64-bit integer a and set the corresponding bit in dst. All other bits in dst are zeroed, and all bits are zeroed if no bits are set in a.
blsmsk_u32 Set all the lower bits of dst up to and including the lowest set bit in unsigned 32-bit integer a.
blsmsk_u64 Set all the lower bits of dst up to and including the lowest set bit in unsigned 64-bit integer a.
blsr_u32 Copy all bits from unsigned 32-bit integer a to dst, and reset (set to 0) the bit in dst that corresponds to the lowest set bit in a.
blsr_u64 Copy all bits from unsigned 64-bit integer a to dst, and reset (set to 0) the bit in dst that corresponds to the lowest set bit in a.
tzcnt_u32 Count the number of trailing zero bits in unsigned 32-bit integer a, and return that count in dst.
tzcnt_u64 Count the number of trailing zero bits in unsigned 64-bit integer a, and return that count in dst.