#include <AlphaOperation.h>
Public メソッド | |
u64 | operator() (EmulatorUtility::OpEmulationState *opState) |
AlphaOperation.h の 490 行で定義されています。
u64 Onikiri::AlphaLinux::Operation::AlphaVectorMin< Type, TSrc1, TSrc2 >::operator() | ( | EmulatorUtility::OpEmulationState * | opState | ) | [inline] |
AlphaOperation.h の 492 行で定義されています。
参照先 Type.
00493 { 00494 u64 src1 = TSrc1()(opState); 00495 u64 src2 = TSrc2()(opState); 00496 u64 retval = 0; 00497 int vsize = sizeof(Type); 00498 00499 for(int i = 0; i < 8/vsize; i++) 00500 { 00501 Type tempSrc1 = (Type)((src1>>(8*i*vsize)) & (0xff<<((vsize-1)*8) | 0xff)); 00502 Type tempSrc2 = (Type)((src2>>(8*i*vsize)) & (0xff<<((vsize-1)*8) | 0xff)); 00503 retval |= std::min<Type>(tempSrc1,tempSrc2) << 8*i*vsize; 00504 } 00505 return retval; 00506 }