lsq_unit.hh (9046:a1104cc13db2) | lsq_unit.hh (9152:86c0e6ca5e7c) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 321 unchanged lines hidden (view full) --- 330 /** Constructs an empty store queue entry. */ 331 SQEntry() 332 : inst(NULL), req(NULL), size(0), 333 canWB(0), committed(0), completed(0) 334 { 335 std::memset(data, 0, sizeof(data)); 336 } 337 | 1/* 2 * Copyright (c) 2004-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; --- 321 unchanged lines hidden (view full) --- 330 /** Constructs an empty store queue entry. */ 331 SQEntry() 332 : inst(NULL), req(NULL), size(0), 333 canWB(0), committed(0), completed(0) 334 { 335 std::memset(data, 0, sizeof(data)); 336 } 337 |
338 ~SQEntry() 339 { 340 inst = NULL; 341 } 342 |
|
338 /** Constructs a store queue entry for a given instruction. */ 339 SQEntry(DynInstPtr &_inst) 340 : inst(_inst), req(NULL), sreqLow(NULL), sreqHigh(NULL), size(0), 341 isSplit(0), canWB(0), committed(0), completed(0) 342 { 343 std::memset(data, 0, sizeof(data)); 344 } 345 /** The store data. */ --- 569 unchanged lines hidden --- | 343 /** Constructs a store queue entry for a given instruction. */ 344 SQEntry(DynInstPtr &_inst) 345 : inst(_inst), req(NULL), sreqLow(NULL), sreqHigh(NULL), size(0), 346 isSplit(0), canWB(0), committed(0), completed(0) 347 { 348 std::memset(data, 0, sizeof(data)); 349 } 350 /** The store data. */ --- 569 unchanged lines hidden --- |