FreeRDP
|
Functions | |
static INLINE UINT32 | __lzcnt (UINT32 x) |
static INLINE UINT16 | __lzcnt16 (UINT16 x) |
|
static |
WinPR: Windows Portable Runtime C Run-Time Library Routines
Copyright 2015 Thincast Technologies GmbH Copyright 2015 Bernhard Miklautz bernh ard. mikla utz@ thinc ast. com
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
http://www.apache.org/licenses/LICENSE-2.0
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: http://msdn.microsoft.com/en-us/library/bb384809/
Beware: the result of __builtin_clz(0) is undefined