1// -*- mode:c++ -*- 2 |
3// Copyright (c) 2010, 2014 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 9// to a hardware implementation of the functionality of the software 10// licensed hereunder. You may use the software subject to the license 11// terms below provided that you ensure that this notice is replicated --- 195 unchanged lines hidden (view full) --- 207def template BranchImmRegDeclare {{ 208class %(class_name)s : public %(base_class)s 209{ 210 public: 211 // Constructor 212 %(class_name)s(ExtMachInst machInst, 213 int32_t imm, IntRegIndex _op1); 214 %(BasicExecDeclare)s |
215 ArmISA::PCState branchTarget(const ArmISA::PCState &branchPC) const; 216 217 /// Explicitly import the otherwise hidden branchTarget 218 using StaticInst::branchTarget; |
219}; 220}}; 221 222// Only used by CBNZ, CBZ which is conditional based on 223// a register value even though the instruction is always unconditional. 224def template BranchImmRegConstructor {{ 225 %(class_name)s::%(class_name)s(ExtMachInst machInst, 226 int32_t _imm, --- 24 unchanged lines hidden --- |