/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
GetPowerOfTwo32.c | 29 specified by Operand. If Operand is zero, then zero is returned.
31 @param Operand The 32-bit operand to evaluate.
33 @return 1 << HighBitSet32(Operand)
34 @retval 0 Operand is zero.
40 IN UINT32 Operand
43 if (Operand == 0) {
47 return 1ul << HighBitSet32 (Operand);
|
SwapBytes16.c | 32 @param Operand A 16-bit unsigned value.
34 @return The byte swaped Operand.
40 IN UINT16 Operand
43 return (UINT16) ((Operand << 8) | (Operand >> 8));
|
LowBitSet32.c | 29 value specified by Operand. If Operand is zero, then -1 is returned.
32 @param Operand The 32-bit operand to evaluate.
34 @return Position of the lowest bit set in Operand if found.
35 @retval -1 Operand is zero.
41 IN UINT32 Operand
46 if (Operand == 0) {
50 for (BitIndex = 0; (Operand & 1) == 0; BitIndex++, Operand >>= 1); [all...] |
SwapBytes64.c | 32 @param Operand A 64-bit unsigned value.
34 @return The byte swaped Operand.
40 IN UINT64 Operand
43 return InternalMathSwapBytes64 (Operand);
|
LowBitSet64.c | 29 value specified by Operand. If Operand is zero, then -1 is returned.
32 @param Operand The 64-bit operand to evaluate.
34 @return Position of the lowest bit set in Operand if found.
35 @retval -1 Operand is zero.
41 IN UINT64 Operand
46 if (Operand == 0) {
51 (Operand & 1) == 0;
52 BitIndex++, Operand = RShiftU64 (Operand, 1)); [all...] |
GetPowerOfTwo64.c | 30 specified by Operand. If Operand is zero, then zero is returned.
32 @param Operand The 64-bit operand to evaluate.
34 @return 1 << HighBitSet64(Operand)
35 @retval 0 Operand is zero.
41 IN UINT64 Operand
44 if (Operand == 0) {
48 return LShiftU64 (1, (UINTN) HighBitSet64 (Operand));
|
HighBitSet32.c | 30 value specified by Operand. If Operand is zero, then -1 is returned.
33 @param Operand The 32-bit operand to evaluate.
35 @return Position of the highest bit set in Operand if found.
36 @retval -1 Operand is zero.
42 IN UINT32 Operand
47 if (Operand == 0) {
50 for (BitIndex = 31; (INT32)Operand > 0; BitIndex--, Operand <<= 1); [all...] |
LRotU32.c | 29 This function rotates the 32-bit value Operand to the left by Count bits. The
30 low Count bits are fill with the high Count bits of Operand. The rotated
35 @param Operand The 32-bit operand to rotate left.
38 @return Operand <<< Count
44 IN UINT32 Operand,
48 ASSERT (Count < sizeof (Operand) * 8);
49 return (Operand << Count) | (Operand >> (32 - Count));
|
RRotU32.c | 29 This function rotates the 32-bit value Operand to the right by Count bits.
30 The high Count bits are fill with the low Count bits of Operand. The rotated
35 @param Operand The 32-bit operand to rotate right.
38 @return Operand >>> Count
44 IN UINT32 Operand,
48 ASSERT (Count < sizeof (Operand) * 8);
49 return (Operand >> Count) | (Operand << (32 - Count));
|
HighBitSet64.c | 30 value specified by Operand. If Operand is zero, then -1 is returned.
33 @param Operand The 64-bit operand to evaluate.
35 @return Position of the highest bit set in Operand if found.
36 @retval -1 Operand is zero.
42 IN UINT64 Operand
45 if (Operand == (UINT32)Operand) {
47 // Operand is just a 32-bit integer [all...] |
ARShiftU64.c | 29 This function shifts the 64-bit value Operand to the right by Count bits. The
30 high Count bits are set to bit 63 of Operand. The shifted value is returned.
34 @param Operand The 64-bit operand to shift right.
37 @return Operand arithmetically shifted right by Count
43 IN UINT64 Operand,
47 ASSERT (Count < sizeof (Operand) * 8);
48 return InternalMathARShiftU64 (Operand, Count);
|
LRotU64.c | 29 This function rotates the 64-bit value Operand to the left by Count bits. The
30 low Count bits are fill with the high Count bits of Operand. The rotated
35 @param Operand The 64-bit operand to rotate left.
38 @return Operand <<< Count
44 IN UINT64 Operand,
48 ASSERT (Count < sizeof (Operand) * 8);
49 return InternalMathLRotU64 (Operand, Count);
|
LShiftU64.c | 29 This function shifts the 64-bit value Operand to the left by Count bits. The
34 @param Operand The 64-bit operand to shift left.
37 @return Operand << Count
43 IN UINT64 Operand,
47 ASSERT (Count < sizeof (Operand) * 8);
48 return InternalMathLShiftU64 (Operand, Count);
|
RRotU64.c | 29 This function rotates the 64-bit value Operand to the right by Count bits.
30 The high Count bits are fill with the low Count bits of Operand. The rotated
35 @param Operand The 64-bit operand to rotate right.
38 @return Operand >>> Count
44 IN UINT64 Operand,
48 ASSERT (Count < sizeof (Operand) * 8);
49 return InternalMathRRotU64 (Operand, Count);
|
RShiftU64.c | 29 This function shifts the 64-bit value Operand to the right by Count bits. The
34 @param Operand The 64-bit operand to shift right.
37 @return Operand >> Count
43 IN UINT64 Operand,
47 ASSERT (Count < sizeof (Operand) * 8);
48 return InternalMathRShiftU64 (Operand, Count);
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
GetPowerOfTwo32.c | 25 specified by Operand. If Operand is zero, then zero is returned.
27 @param Operand The 32-bit operand to evaluate.
29 @return 1 << HighBitSet32(Operand)
30 @retval 0 Operand is zero.
36 IN UINT32 Operand
39 if (0 == Operand) {
43 return 1ul << HighBitSet32 (Operand);
|
LowBitSet32.c | 24 value specified by Operand. If Operand is zero, then -1 is returned.
27 @param Operand The 32-bit operand to evaluate.
29 @retval 0..31 The lowest bit set in Operand was found.
30 @retval -1 Operand is zero.
36 IN UINT32 Operand
41 if (Operand == 0) {
45 for (BitIndex = 0; 0 == (Operand & 1); BitIndex++, Operand >>= 1); [all...] |
LowBitSet64.c | 24 value specified by Operand. If Operand is zero, then -1 is returned.
27 @param Operand The 64-bit operand to evaluate.
29 @retval 0..63 The lowest bit set in Operand was found.
30 @retval -1 Operand is zero.
37 IN UINT64 Operand
42 if (Operand == 0) {
47 (Operand & 1) == 0;
48 BitIndex++, Operand = RShiftU64 (Operand, 1)); [all...] |
GetPowerOfTwo64.c | 25 specified by Operand. If Operand is zero, then zero is returned.
27 @param Operand The 64-bit operand to evaluate.
29 @return 1 << HighBitSet64(Operand)
30 @retval 0 Operand is zero.
36 IN UINT64 Operand
39 if (Operand == 0) {
43 return LShiftU64 (1, (UINTN) HighBitSet64 (Operand));
|
HighBitSet32.c | 25 value specified by Operand. If Operand is zero, then -1 is returned.
28 @param Operand The 32-bit operand to evaluate.
30 @retval 0..31 Position of the highest bit set in Operand if found.
31 @retval -1 Operand is zero.
37 IN UINT32 Operand
42 if (Operand == 0) {
45 for (BitIndex = 31; (INT32)Operand > 0; BitIndex--, Operand <<= 1); [all...] |
HighBitSet64.c | 25 value specified by Operand. If Operand is zero, then -1 is returned.
28 @param Operand The 64-bit operand to evaluate.
30 @retval 0..63 Position of the highest bit set in Operand if found.
31 @retval -1 Operand is zero.
37 IN UINT64 Operand
40 if (Operand == (UINT32)Operand) {
42 // Operand is just a 32-bit integer [all...] |
LRotU32.c | 21 This function rotates the 32-bit value Operand to the left by Count bits. The
22 low Count bits are fill with the high Count bits of Operand. The rotated
27 @param Operand The 32-bit operand to rotate left.
30 @return Operand << Count
36 IN UINT32 Operand,
41 return (Operand << Count) | (Operand >> (32 - Count));
|
RRotU32.c | 21 This function rotates the 32-bit value Operand to the right by Count bits.
22 The high Count bits are fill with the low Count bits of Operand. The rotated
27 @param Operand The 32-bit operand to rotate right.
30 @return Operand >> Count.
36 IN UINT32 Operand,
41 return (Operand >> Count) | (Operand << (32 - Count));
|
/external/swiftshader/third_party/subzero/src/ |
IceAssemblerMIPS32.h | 75 void emitRsRt(IValueT Opcode, const Operand *OpRs, const Operand *OpRt, 78 void emitRtRsImm16(IValueT Opcode, const Operand *OpRt, const Operand *OpRs, 81 void emitRtRsImm16Rel(IValueT Opcode, const Operand *OpRt, 82 const Operand *OpRs, const Operand *OpImm, 85 void emitFtRsImm16(IValueT Opcode, const Operand *OpFt, const Operand *OpRs, 88 void emitRdRtSa(IValueT Opcode, const Operand *OpRd, const Operand *OpRt [all...] |
IceAssemblerARM32.h | 180 void adc(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, 183 void add(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, 186 void and_(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, 189 void asr(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1 [all...] |