cpu.cc (6076:e141cc7896ce) | cpu.cc (6102:7fbf97dc6540) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 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; --- 226 unchanged lines hidden (view full) --- 235 // @todo: Verify that actual memory matches up with these values. 236 // Right now it only verifies that the instruction data is the 237 // same as what was in the request that got sent to memory; there 238 // is no verification that it is the same as what is in memory. 239 // This is because the LSQ would have to be snooped in the CPU to 240 // verify this data. 241 if (unverifiedReq && 242 !(unverifiedReq->isUncacheable()) && | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 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; --- 226 unchanged lines hidden (view full) --- 235 // @todo: Verify that actual memory matches up with these values. 236 // Right now it only verifies that the instruction data is the 237 // same as what was in the request that got sent to memory; there 238 // is no verification that it is the same as what is in memory. 239 // This is because the LSQ would have to be snooped in the CPU to 240 // verify this data. 241 if (unverifiedReq && 242 !(unverifiedReq->isUncacheable()) && |
243 (!(unverifiedReq->isLlsc()) || 244 ((unverifiedReq->isLlsc()) && | 243 (!(unverifiedReq->isLLSC()) || 244 ((unverifiedReq->isLLSC()) && |
245 unverifiedReq->getExtraData() == 1))) { 246 T inst_data; 247/* 248 // This code would work if the LSQ allowed for snooping. 249 PacketPtr pkt = new Packet(memReq, Packet::ReadReq, Packet::Broadcast); 250 pkt.dataStatic(&inst_data); 251 252 dcachePort->sendFunctional(pkt); --- 93 unchanged lines hidden --- | 245 unverifiedReq->getExtraData() == 1))) { 246 T inst_data; 247/* 248 // This code would work if the LSQ allowed for snooping. 249 PacketPtr pkt = new Packet(memReq, Packet::ReadReq, Packet::Broadcast); 250 pkt.dataStatic(&inst_data); 251 252 dcachePort->sendFunctional(pkt); --- 93 unchanged lines hidden --- |