timing_expr.cc (11793:ef606668d247) | timing_expr.cc (12104:edd63f9c6184) |
---|---|
1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 44 unchanged lines hidden (view full) --- 53 54 results.resize(num_defns, 0); 55 resultAvailable.resize(num_defns, false); 56 } 57} 58 59uint64_t TimingExprSrcReg::eval(TimingExprEvalContext &context) 60{ | 1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 44 unchanged lines hidden (view full) --- 53 54 results.resize(num_defns, 0); 55 resultAvailable.resize(num_defns, false); 56 } 57} 58 59uint64_t TimingExprSrcReg::eval(TimingExprEvalContext &context) 60{ |
61 return context.inst->srcRegIdx(index); | 61 return context.inst->srcRegIdx(index).regIdx; |
62} 63 64uint64_t TimingExprReadIntReg::eval(TimingExprEvalContext &context) 65{ 66 return context.thread->readIntReg(reg->eval(context)); 67} 68 69uint64_t TimingExprLet::eval(TimingExprEvalContext &context) --- 180 unchanged lines hidden --- | 62} 63 64uint64_t TimingExprReadIntReg::eval(TimingExprEvalContext &context) 65{ 66 return context.thread->readIntReg(reg->eval(context)); 67} 68 69uint64_t TimingExprLet::eval(TimingExprEvalContext &context) --- 180 unchanged lines hidden --- |