Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Shifts a 64-bit integer right between 0 and 63 bits. The high bits are filled with original integer's bit 63. 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 bit 63 of Operand. The shifted value is returned.
Operand | The 64-bit operand to shift right. | |
Count | The number of bits to shift right. |
Referenced by ARShiftU64().
INT64 EFIAPI InternalMathDivRemS64x64 | ( | IN INT64 | Dividend, | |
IN INT64 | Divisor, | |||
OUT INT64 * | Remainder | |||
) |
Divides a 64-bit signed integer by a 64-bit signed integer and generates a 64-bit signed result and an optional 64-bit signed remainder.
This function divides the 64-bit signed value Dividend by the 64-bit signed value Divisor and generates a 64-bit signed quotient. If Remainder is not NULL, then the 64-bit signed remainder is returned in Remainder. This function returns the 64-bit signed quotient.
Dividend | A 64-bit signed value. | |
Divisor | A 64-bit signed value. | |
Remainder | A pointer to a 64-bit signed value. This parameter is optional and may be NULL. |
Referenced by DivS64x64Remainder().
UINT64 EFIAPI InternalMathDivRemU64x32 | ( | IN UINT64 | Dividend, | |
IN UINT32 | Divisor, | |||
OUT UINT32 * | Remainder | |||
) |
Divides a 64-bit unsigned integer by a 32-bit unsigned integer and generates a 64-bit unsigned result and an optional 32-bit unsigned remainder.
This function divides the 64-bit unsigned value Dividend by the 32-bit unsigned value Divisor and generates a 64-bit unsigned quotient. If Remainder is not NULL, then the 32-bit unsigned remainder is returned in Remainder. This function returns the 64-bit unsigned quotient.
Dividend | A 64-bit unsigned value. | |
Divisor | A 32-bit unsigned value. | |
Remainder | A pointer to a 32-bit unsigned value. This parameter is optional and may be NULL. |
Referenced by DivU64x32Remainder().
UINT64 EFIAPI InternalMathDivRemU64x64 | ( | IN UINT64 | Dividend, | |
IN UINT64 | Divisor, | |||
OUT UINT64 * | Remainder | |||
) |
Divides a 64-bit unsigned integer by a 64-bit unsigned integer and generates a 64-bit unsigned result and an optional 64-bit unsigned remainder.
This function divides the 64-bit unsigned value Dividend by the 64-bit unsigned value Divisor and generates a 64-bit unsigned quotient. If Remainder is not NULL, then the 64-bit unsigned remainder is returned in Remainder. This function returns the 64-bit unsigned quotient.
Dividend | A 64-bit unsigned value. | |
Divisor | A 64-bit unsigned value. | |
Remainder | A pointer to a 64-bit unsigned value. This parameter is optional and may be NULL. |
References NULL.
Referenced by DivU64x64Remainder(), and InternalMathDivRemS64x64().
Divides a 64-bit unsigned integer by a 32-bit unsigned integer and generates a 64-bit unsigned result.
This function divides the 64-bit unsigned value Dividend by the 32-bit unsigned value Divisor and generates a 64-bit unsigned quotient. This function returns the 64-bit unsigned quotient.
Dividend | A 64-bit unsigned value. | |
Divisor | A 32-bit unsigned value. |
Referenced by DivU64x32().
Rotates a 64-bit integer left between 0 and 63 bits, filling the low bits with the high bits that were rotated.
This function rotates the 64-bit value Operand to the left by Count bits. The low Count bits are fill with the high Count bits of Operand. The rotated value is returned.
Operand | The 64-bit operand to rotate left. | |
Count | The number of bits to rotate left. |
Referenced by LRotU64().
Shifts a 64-bit integer left between 0 and 63 bits. The low bits are filled with zeros. The shifted value is returned.
This function shifts the 64-bit value Operand to the left by Count bits. The low Count bits are set to zero. The shifted value is returned.
Operand | The 64-bit operand to shift left. | |
Count | The number of bits to shift left. |
Referenced by LShiftU64().
Divides a 64-bit unsigned integer by a 32-bit unsigned integer and generates a 32-bit unsigned remainder.
This function divides the 64-bit unsigned value Dividend by the 32-bit unsigned value Divisor and generates a 32-bit remainder. This function returns the 32-bit unsigned remainder.
Dividend | A 64-bit unsigned value. | |
Divisor | A 32-bit unsigned value. |
Referenced by ModU64x32().
Multiplies a 64-bit unsigned integer by a 32-bit unsigned integer and generates a 64-bit unsigned result.
This function multiplies the 64-bit unsigned value Multiplicand by the 32-bit unsigned value Multiplier and generates a 64-bit unsigned result. This 64- bit unsigned result is returned.
Multiplicand | A 64-bit unsigned value. | |
Multiplier | A 32-bit unsigned value. |
Referenced by MultU64x32().
Multiplies a 64-bit unsigned integer by a 64-bit unsigned integer and generates a 64-bit unsigned result.
This function multiplies the 64-bit unsigned value Multiplicand by the 64-bit unsigned value Multiplier and generates a 64-bit unsigned result. This 64- bit unsigned result is returned.
Multiplicand | A 64-bit unsigned value. | |
Multiplier | A 64-bit unsigned value. |
Referenced by MultU64x64().
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.
Operand | The 64-bit operand to rotate right. | |
Count | The number of bits to rotate right. |
Referenced by RRotU64().
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.
Operand | The 64-bit operand to shift right. | |
Count | The number of bits to shift right. |
Referenced by RShiftU64().
Switches the endianess of a 64-bit integer.
This function swaps the bytes in a 64-bit unsigned value to switch the value from little endian to big endian or vice versa. The byte swapped value is returned.
Operand | A 64-bit unsigned value. |
Referenced by SwapBytes64().