diff options
author | Anthony Gutierrez <atgutier@umich.edu> | 2013-11-15 13:21:15 -0500 |
---|---|---|
committer | Anthony Gutierrez <atgutier@umich.edu> | 2013-11-15 13:21:15 -0500 |
commit | 8a53da22c2f07aed924a45ab296f7468d842d7f6 (patch) | |
tree | 14f1df0a4b3aa217840384e3dee2ce53270e570d /src/SConscript | |
parent | f028da7af7792bec226372ef23c1d103ad68ad30 (diff) | |
download | gem5-8a53da22c2f07aed924a45ab296f7468d842d7f6.tar.xz |
cpu: allow the fetch buffer to be smaller than a cache line
the current implementation of the fetch buffer in the o3 cpu
is only allowed to be the size of a cache line. some
architectures, e.g., ARM, have fetch buffers smaller than a cache
line, see slide 22 at:
http://www.arm.com/files/pdf/at-exploring_the_design_of_the_cortex-a15.pdf
this patch allows the fetch buffer to be set to values smaller
than a cache line.
Diffstat (limited to 'src/SConscript')
-rwxr-xr-x | src/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SConscript b/src/SConscript index 133541795..398c342ec 100755 --- a/src/SConscript +++ b/src/SConscript @@ -148,7 +148,7 @@ class SourceFile(object): def __ge__(self, other): return self.filename >= other.filename def __eq__(self, other): return self.filename == other.filename def __ne__(self, other): return self.filename != other.filename - + class Source(SourceFile): '''Add a c/c++ source file to the build''' def __init__(self, source, Werror=True, swig=False, **guards): @@ -164,7 +164,7 @@ class PySource(SourceFile): modules = {} tnodes = {} symnames = {} - + def __init__(self, package, source, **guards): '''specify the python package, the source file, and any guards''' super(PySource, self).__init__(source, **guards) |