#include <AlphaOperation.h>
Public メソッド | |
u64 | operator() (EmulatorUtility::OpEmulationState *opState) const |
AlphaOperation.h の 215 行で定義されています。
u64 Onikiri::AlphaLinux::Operation::AlphaExtxl< Type, TSrc1, TSrc2 >::operator() | ( | EmulatorUtility::OpEmulationState * | opState | ) | const [inline] |
AlphaOperation.h の 217 行で定義されています。
00218 { 00219 u64 result = 0; 00220 u64 lhs = TSrc1()(opState); 00221 u64 rhs = TSrc2()(opState); 00222 00223 int shift_cnt = static_cast<int>( (rhs & 0x7) << 3 ); 00224 int byte_loc = shift_cnt; 00225 result = lhs >> byte_loc; 00226 00227 return static_cast<Type>(result); 00228 }