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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user