#include <AlphaOperation.h>
Public メソッド | |
u64 | operator() (EmulatorUtility::OpEmulationState *opState) const |
AlphaOperation.h の 192 行で定義されています。
u64 Onikiri::AlphaLinux::Operation::AlphaCmpBge< TSrc1, TSrc2 >::operator() | ( | EmulatorUtility::OpEmulationState * | opState | ) | const [inline] |
AlphaOperation.h の 194 行で定義されています。
00195 { 00196 u64 result = 0; 00197 u64 lhs = TSrc1()(opState); 00198 u64 rhs = TSrc2()(opState); 00199 00200 for (int i = 0; i < 8; i ++) { 00201 if ((lhs & 0xff) >= (rhs & 0xff)) { 00202 result |= 1 << 8; 00203 } 00204 00205 lhs >>= 8; 00206 rhs >>= 8; 00207 result >>= 1; 00208 } 00209 00210 return result; 00211 }