cpu.hh (14198:9c2f67392409) | cpu.hh (14297:b4519e586f5e) |
---|---|
1/* 2 * Copyright (c) 2011-2013, 2016-2019 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 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 --- 699 unchanged lines hidden (view full) --- 708 std::map<ThreadID, unsigned> threadMap; 709 710 /** Available thread ids in the cpu*/ 711 std::vector<ThreadID> tids; 712 713 /** CPU pushRequest function, forwards request to LSQ. */ 714 Fault pushRequest(const DynInstPtr& inst, bool isLoad, uint8_t *data, 715 unsigned int size, Addr addr, Request::Flags flags, | 1/* 2 * Copyright (c) 2011-2013, 2016-2019 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 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 --- 699 unchanged lines hidden (view full) --- 708 std::map<ThreadID, unsigned> threadMap; 709 710 /** Available thread ids in the cpu*/ 711 std::vector<ThreadID> tids; 712 713 /** CPU pushRequest function, forwards request to LSQ. */ 714 Fault pushRequest(const DynInstPtr& inst, bool isLoad, uint8_t *data, 715 unsigned int size, Addr addr, Request::Flags flags, |
716 uint64_t *res, AtomicOpFunctor *amo_op = nullptr, | 716 uint64_t *res, AtomicOpFunctorPtr amo_op = nullptr, |
717 const std::vector<bool>& byteEnable = 718 std::vector<bool>()) 719 720 { 721 return iew.ldstQueue.pushRequest(inst, isLoad, data, size, addr, | 717 const std::vector<bool>& byteEnable = 718 std::vector<bool>()) 719 720 { 721 return iew.ldstQueue.pushRequest(inst, isLoad, data, size, addr, |
722 flags, res, amo_op, byteEnable); | 722 flags, res, std::move(amo_op), byteEnable); |
723 } 724 725 /** CPU read function, forwards read to LSQ. */ 726 Fault read(LSQRequest* req, int load_idx) 727 { 728 return this->iew.ldstQueue.read(req, load_idx); 729 } 730 --- 61 unchanged lines hidden --- | 723 } 724 725 /** CPU read function, forwards read to LSQ. */ 726 Fault read(LSQRequest* req, int load_idx) 727 { 728 return this->iew.ldstQueue.read(req, load_idx); 729 } 730 --- 61 unchanged lines hidden --- |