indirect_memory.cc (13772:31b71dadc472) | indirect_memory.cc (13775:36b71cff789e) |
---|---|
1/** 2 * Copyright (c) 2018 Metempsy Technology Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 39 unchanged lines hidden (view full) --- 48 IndirectPatternDetectorEntry(p->addr_array_len, shiftValues.size())), 49 ipdEntryTrackingMisses(nullptr), 50#if THE_ISA != NULL_ISA 51 byteOrder(TheISA::GuestByteOrder) 52#else 53 byteOrder((ByteOrder) -1) 54#endif 55{ | 1/** 2 * Copyright (c) 2018 Metempsy Technology Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 39 unchanged lines hidden (view full) --- 48 IndirectPatternDetectorEntry(p->addr_array_len, shiftValues.size())), 49 ipdEntryTrackingMisses(nullptr), 50#if THE_ISA != NULL_ISA 51 byteOrder(TheISA::GuestByteOrder) 52#else 53 byteOrder((ByteOrder) -1) 54#endif 55{ |
56 fatal_if(byteOrder == -1, "This prefetcher requires a defined ISA\n"); | 56 fatal_if(byteOrder == static_cast<ByteOrder>(-1), 57 "This prefetcher requires a defined ISA\n"); |
57} 58 59void 60IndirectMemoryPrefetcher::calculatePrefetch(const PrefetchInfo &pfi, 61 std::vector<AddrPriority> &addresses) 62{ 63 // This prefetcher requires a PC 64 if (!pfi.hasPC()) { --- 205 unchanged lines hidden --- | 58} 59 60void 61IndirectMemoryPrefetcher::calculatePrefetch(const PrefetchInfo &pfi, 62 std::vector<AddrPriority> &addresses) 63{ 64 // This prefetcher requires a PC 65 if (!pfi.hasPC()) { --- 205 unchanged lines hidden --- |