arch,sparc: Get rid of the unused checkVecEnableFault mechanism.

The method was only defined in SPARC, and SPARC does not use the vector
register file.

Change-Id: I4112eadaecb1f1c6c6db12975bec0cd1fa245d6c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48715
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Boris Shingarov <shingarov@labware.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
This commit is contained in:
Gabe Black
2021-07-25 01:29:48 -07:00
parent 851e543b2f
commit 7d92144e1b
2 changed files with 0 additions and 8 deletions

View File

@@ -464,8 +464,6 @@ class InstObjParams(object):
# function (which should be provided by isa_desc via a declare)
if 'IsFloating' in self.flags:
self.fp_enable_check = 'fault = checkFpEnableFault(xc);'
elif 'IsVector' in self.flags:
self.fp_enable_check = 'fault = checkVecEnableFault(xc);'
else:
self.fp_enable_check = ''

View File

@@ -136,12 +136,6 @@ output exec {{
return NoFault;
}
}
static inline Fault
checkVecEnableFault(ExecContext *xc)
{
return std::make_shared<VecDisabled>();
}
}};