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

#include <AlphaOperation.h>

すべてのメンバ一覧

Public メソッド

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


説明

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

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


関数

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

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

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     }


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