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

Go to the source code of this file.

Functions

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

Detailed Description

64-bit logical right shift function for IA-32

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

Definition in file RShiftU64.c.

Function Documentation

◆ InternalMathRShiftU64()

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

Shifts a 64-bit integer right between 0 and 63 bits. This high bits are filled with zeros. The shifted value is returned.

This function shifts the 64-bit value Operand to the right by Count bits. The high Count bits are set to zero. The shifted value is returned.

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

Definition at line 24 of file RShiftU64.c.