lsq.hh (5606:6da7a58b0bc8) lsq.hh (5714:76abee886def)
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;

--- 357 unchanged lines hidden (view full) ---

366 int retryTid;
367};
368
369template <class Impl>
370template <class T>
371Fault
372LSQ<Impl>::read(RequestPtr req, T &data, int load_idx)
373{
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;

--- 357 unchanged lines hidden (view full) ---

366 int retryTid;
367};
368
369template <class Impl>
370template <class T>
371Fault
372LSQ<Impl>::read(RequestPtr req, T &data, int load_idx)
373{
374 unsigned tid = req->getThreadNum();
374 unsigned tid = req->threadId();
375
376 return thread[tid].read(req, data, load_idx);
377}
378
379template <class Impl>
380template <class T>
381Fault
382LSQ<Impl>::write(RequestPtr req, T &data, int store_idx)
383{
375
376 return thread[tid].read(req, data, load_idx);
377}
378
379template <class Impl>
380template <class T>
381Fault
382LSQ<Impl>::write(RequestPtr req, T &data, int store_idx)
383{
384 unsigned tid = req->getThreadNum();
384 unsigned tid = req->threadId();
385
386 return thread[tid].write(req, data, store_idx);
387}
388
389#endif // __CPU_O3_LSQ_HH__
385
386 return thread[tid].write(req, data, store_idx);
387}
388
389#endif // __CPU_O3_LSQ_HH__