# _blsr_u32/64

Copies all bits from the source operand to the destination and resets (=0) the bit position in the destination that corresponds to the lowest set bit of the source operand. The corresponding Intel® AVX2 instruction is BLSR.

## Syntax

extern unsigned int _blsr_u32(unsigned int s1);

extern unsigned __int64 _blsr_u64(unsigned __int64 s1);

## Arguments

s1 | the source operand from where the bits are copied

## Description

Copies all bits from the source operand to the destination and resets (=0) the bit position in the destination that corresponds to the lowest set bit of the source operand.

## Returns

Result of the operation

Parent topic: Intrinsics for Operations to Manipulate Integer Data at Bit-Granularity