構造体 テンプレート Onikiri::AlphaLinux::Operation::AlphaInsxl< Type, TSrc1, TSrc2 >

#include <AlphaOperation.h>

すべてのメンバ一覧

Public メソッド

u64 operator() (EmulatorUtility::OpEmulationState *opState) const


説明

template<typename Type, typename TSrc1, typename TSrc2>
struct Onikiri::AlphaLinux::Operation::AlphaInsxl< Type, TSrc1, TSrc2 >

AlphaOperation.h255 行で定義されています。


関数

template<typename Type, typename TSrc1, typename TSrc2>
u64 Onikiri::AlphaLinux::Operation::AlphaInsxl< Type, TSrc1, TSrc2 >::operator() ( EmulatorUtility::OpEmulationState opState  )  const [inline]

AlphaOperation.h257 行で定義されています。

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     }


この構造体の説明は次のファイルから生成されました:
Onikiri2に対してTue Jun 18 15:24:37 2013に生成されました。  doxygen 1.4.7