intrin.h File Reference
This graph shows which files directly or indirectly include this file:


static INLINE UINT32 __lzcnt (UINT32 x)
static INLINE UINT16 __lzcnt16 (UINT16 x)

Function Documentation

◆ __lzcnt()

static INLINE UINT32 __lzcnt ( UINT32  x)

WinPR: Windows Portable Runtime C Run-Time Library Routines

Copyright 2015 Thincast Technologies GmbH Copyright 2015 Bernhard Miklautz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. __lzcnt16, __lzcnt, __lzcnt64:

Beware: the result of __builtin_clz(0) is undefined

Here is the caller graph for this function:

◆ __lzcnt16()

static INLINE UINT16 __lzcnt16 ( UINT16  x)
Here is the call graph for this function:
Here is the caller graph for this function: