这篇教程C++ vfp_double_cpdo函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中vfp_double_cpdo函数的典型用法代码示例。如果您正苦于以下问题:C++ vfp_double_cpdo函数的具体用法?C++ vfp_double_cpdo怎么用?C++ vfp_double_cpdo使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了vfp_double_cpdo函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: vfp_emulate_instruction/* * Emulate a VFP instruction. */static u32 vfp_emulate_instruction(u32 inst, u32 fpscr, struct pt_regs *regs){ u32 exceptions = VFP_EXCEPTION_ERROR; pr_debug("VFP: emulate: INST=0x%08x SCR=0x%08x/n", inst, fpscr); if (INST_CPRTDO(inst)) { if (!INST_CPRT(inst)) { /* * CPDO */ if (vfp_single(inst)) { exceptions = vfp_single_cpdo(inst, fpscr); } else { exceptions = vfp_double_cpdo(inst, fpscr); } } else { /* * A CPRT instruction can not appear in FPINST2, nor * can it cause an exception. Therefore, we do not * have to emulate it. */ } } else { /* * A CPDT instruction can not appear in FPINST2, nor can * it cause an exception. Therefore, we do not have to * emulate it. */ } return exceptions & ~VFP_NAN_FLAG;}
开发者ID:InhyukYee,项目名称:PeanutButterWolf,代码行数:35,
示例2: VFPCDPunsignedVFPCDP (ARMul_State * state, unsigned type, ARMword instr){ /* CDP<c> <coproc>,<opc1>,<CRd>,<CRn>,<CRm>,<opc2> */ int CoProc = BITS (8, 11); /* 10 or 11 */ int OPC_1 = BITS (20, 23); int CRd = BITS (12, 15); int CRn = BITS (16, 19); int CRm = BITS (0, 3); int OPC_2 = BITS (5, 7); /* TODO check access permission */ /* CRn/opc1 CRm/opc2 */ if (CoProc == 10 || CoProc == 11) { #define VFP_CDP_TRANS #include "core/arm/interpreter/vfp/vfpinstr.cpp" #undef VFP_CDP_TRANS int exceptions = 0; if (CoProc == 10) exceptions = vfp_single_cpdo(state, instr, state->VFP[VFP_OFFSET(VFP_FPSCR)]); else exceptions = vfp_double_cpdo(state, instr, state->VFP[VFP_OFFSET(VFP_FPSCR)]); vfp_raise_exceptions(state, exceptions, instr, state->VFP[VFP_OFFSET(VFP_FPSCR)]); return ARMul_DONE; } DEBUG_LOG(ARM11, "Can't identify %x/n", instr); return ARMul_CANT;}
开发者ID:Antidote,项目名称:citra,代码行数:34,
示例3: vfp_emulate_instructionstatic u32 vfp_emulate_instruction(u32 inst, u32 fpscr, struct pt_regs *regs){ u32 exceptions = VFP_EXCEPTION_ERROR; pr_debug("VFP: emulate: INST=0x%08x SCR=0x%08x/n", inst, fpscr); if (INST_CPRTDO(inst)) { if (!INST_CPRT(inst)) { if (vfp_single(inst)) { exceptions = vfp_single_cpdo(inst, fpscr); } else { exceptions = vfp_double_cpdo(inst, fpscr); } } else { } } else { } return exceptions & ~VFP_NAN_FLAG;}
开发者ID:MarcoMas6,项目名称:android_kernel_htc_liberty-villec2,代码行数:19,
注:本文中的vfp_double_cpdo函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ vfp_enable函数代码示例 C++ vformat函数代码示例 |