arch-sparc: Add a FaultVals instantiation for VecDisabled
authorAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 20 Jul 2017 13:43:55 +0000 (14:43 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 30 Aug 2017 16:26:19 +0000 (16:26 +0000)
Recent gcc versions complain about a missing VecDisabled not having an
explicit FaultVals instantiation.

Change-Id: I439e7b3a7d5cad20590f52b3f374ead3f3f070a6
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/4282
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/arch/sparc/faults.hh

index aa270fa31031e1fb1a771f412a83919d31894538..86f8c5b7d1d1e941c18982751f8255ad977bc8f0 100644 (file)
@@ -294,6 +294,7 @@ template<> SparcFaultBase::FaultVals SparcFault<InstructionAccessError>::vals;
 template<> SparcFaultBase::FaultVals SparcFault<IllegalInstruction>::vals;
 template<> SparcFaultBase::FaultVals SparcFault<PrivilegedOpcode>::vals;
 template<> SparcFaultBase::FaultVals SparcFault<FpDisabled>::vals;
+template<> SparcFaultBase::FaultVals SparcFault<VecDisabled>::vals;
 template<> SparcFaultBase::FaultVals SparcFault<FpExceptionIEEE754>::vals;
 template<> SparcFaultBase::FaultVals SparcFault<FpExceptionOther>::vals;
 template<> SparcFaultBase::FaultVals SparcFault<TagOverflow>::vals;