func_unit.cc (4762:c94e103c83ad) func_unit.cc (5034:6186ef720dd4)
1/*
2 * Copyright (c) 2002-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;

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

27 *
28 * Authors: Steve Raasch
29 */
30
31#include <sstream>
32
33#include "base/misc.hh"
34#include "cpu/func_unit.hh"
1/*
2 * Copyright (c) 2002-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;

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

27 *
28 * Authors: Steve Raasch
29 */
30
31#include <sstream>
32
33#include "base/misc.hh"
34#include "cpu/func_unit.hh"
35#include "params/OpDesc.hh"
36#include "params/FUDesc.hh"
37
38using namespace std;
39
40
41////////////////////////////////////////////////////////////////////////////
42//
43// The funciton unit
44//

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

115
116
117//
118// The operation-class description object
119//
120OpDesc *
121OpDescParams::create()
122{
35
36using namespace std;
37
38
39////////////////////////////////////////////////////////////////////////////
40//
41// The funciton unit
42//

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

113
114
115//
116// The operation-class description object
117//
118OpDesc *
119OpDescParams::create()
120{
123 return new OpDesc(name, opClass, opLat, issueLat);
121 return new OpDesc(this);
124}
125
126//
127// The FuDesc object
128//
129FUDesc *
130FUDescParams::create()
131{
122}
123
124//
125// The FuDesc object
126//
127FUDesc *
128FUDescParams::create()
129{
132 return new FUDesc(name, opList, count);
130 return new FUDesc(this);
133}
131}