Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/48715 )

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

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
---
M src/arch/isa_parser/isa_parser.py
M src/arch/sparc/isa/base.isa
2 files changed, 0 insertions(+), 8 deletions(-)



diff --git a/src/arch/isa_parser/isa_parser.py b/src/arch/isa_parser/isa_parser.py
index 9cfd5ba..cb62929 100755
--- a/src/arch/isa_parser/isa_parser.py
+++ b/src/arch/isa_parser/isa_parser.py
@@ -463,8 +463,6 @@
         # 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 = ''

diff --git a/src/arch/sparc/isa/base.isa b/src/arch/sparc/isa/base.isa
index 5be3940..89e48f0 100644
--- a/src/arch/sparc/isa/base.isa
+++ b/src/arch/sparc/isa/base.isa
@@ -136,12 +136,6 @@
             return NoFault;
         }
     }
-
-    static inline Fault
-    checkVecEnableFault(ExecContext *xc)
-    {
-        return std::make_shared<VecDisabled>();
-    }
 }};



--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/48715
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I4112eadaecb1f1c6c6db12975bec0cd1fa245d6c
Gerrit-Change-Number: 48715
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to