TianoCore EDK2 master
Loading...
Searching...
No Matches
RRotU64.c File Reference

Go to the source code of this file.

Functions

UINT64 EFIAPI InternalMathRRotU64 (IN UINT64 Operand, IN UINTN Count)
 

Detailed Description

64-bit right rotation for Ia32

Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file RRotU64.c.

Function Documentation

◆ InternalMathRRotU64()

UINT64 EFIAPI InternalMathRRotU64 ( IN UINT64  Operand,
IN UINTN  Count 
)

Rotates a 64-bit integer right between 0 and 63 bits, filling the high bits with the high low bits that were rotated.

This function rotates the 64-bit value Operand to the right by Count bits. The high Count bits are fill with the low Count bits of Operand. The rotated value is returned.

Parameters
OperandThe 64-bit operand to rotate right.
CountThe number of bits to rotate right.
Returns
Operand >>> Count

Definition at line 25 of file RRotU64.c.