1// -*- mode:c++ -*- 2 3// Copyright (c) 2010-2013,2016 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 46 unchanged lines hidden (view full) --- 55 if (i == 0) 56 mode = VfpFirstMicroop; 57 else if (i == numMicroops - 1) 58 mode = VfpLastMicroop; 59 microOps[i] = new Micro(_machInst, _dest, _op1, mode); 60 nextIdxs(_dest, _op1); 61 } 62 } |
63}; 64 65template <class VfpOp> 66StaticInstPtr 67decodeVfpRegRegOp(ExtMachInst machInst, 68 IntRegIndex dest, IntRegIndex op1, bool wide) 69{ 70 if (machInst.fpscrLen == 0 || VfpMacroOp::inScalarBank(dest)) { --- 18 unchanged lines hidden (view full) --- 89 if (i == 0) 90 mode = VfpFirstMicroop; 91 else if (i == numMicroops - 1) 92 mode = VfpLastMicroop; 93 microOps[i] = new Micro(_machInst, _dest, _imm, mode); 94 nextIdxs(_dest); 95 } 96 } |
97}; 98 99template <class VfpOp> 100StaticInstPtr 101decodeVfpRegImmOp(ExtMachInst machInst, 102 IntRegIndex dest, uint64_t imm, bool wide) 103{ 104 if (machInst.fpscrLen == 0 || VfpMacroOp::inScalarBank(dest)) { --- 18 unchanged lines hidden (view full) --- 123 if (i == 0) 124 mode = VfpFirstMicroop; 125 else if (i == numMicroops - 1) 126 mode = VfpLastMicroop; 127 microOps[i] = new Micro(_machInst, _dest, _op1, _imm, mode); 128 nextIdxs(_dest, _op1); 129 } 130 } |
131}; 132 133template <class VfpOp> 134StaticInstPtr 135decodeVfpRegRegImmOp(ExtMachInst machInst, IntRegIndex dest, 136 IntRegIndex op1, uint64_t imm, bool wide) 137{ 138 if (machInst.fpscrLen == 0 || VfpMacroOp::inScalarBank(dest)) { --- 18 unchanged lines hidden (view full) --- 157 if (i == 0) 158 mode = VfpFirstMicroop; 159 else if (i == numMicroops - 1) 160 mode = VfpLastMicroop; 161 microOps[i] = new Micro(_machInst, _dest, _op1, _op2, mode); 162 nextIdxs(_dest, _op1, _op2); 163 } 164 } |
165}; 166 167template <class VfpOp> 168StaticInstPtr 169decodeVfpRegRegRegOp(ExtMachInst machInst, IntRegIndex dest, 170 IntRegIndex op1, IntRegIndex op2, bool wide) 171{ 172 if (machInst.fpscrLen == 0 || VfpMacroOp::inScalarBank(dest)) { --- 1602 unchanged lines hidden --- |