#include <AlphaOperation.h>
Public メソッド | |
u64 | operator() (EmulatorUtility::OpEmulationState *opState) const |
AlphaOperation.h の 255 行で定義されています。
u64 Onikiri::AlphaLinux::Operation::AlphaInsxl< Type, TSrc1, TSrc2 >::operator() | ( | EmulatorUtility::OpEmulationState * | opState | ) | const [inline] |
AlphaOperation.h の 257 行で定義されています。
00258 { 00259 u64 lhs = TSrc1()(opState); 00260 u64 rhs = TSrc2()(opState); 00261 00262 int shift_cnt = static_cast<int>( (rhs & 0x7) << 3 ); 00263 int byte_loc = shift_cnt; 00264 00265 u64 result = static_cast<Type>(lhs); 00266 result <<= byte_loc; 00267 00268 return result; 00269 }