mem-ruby: Remove conditional includes based on THE_ISA in ruby.
authorGabe Black <gabeblack@google.com>
Tue, 15 Sep 2020 02:46:47 +0000 (19:46 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 16 Sep 2020 06:08:22 +0000 (06:08 +0000)
These were including instruction class definitions from x86 for some
reason. There was no code in those .cc files which actually used
anything from them, as evidenced by the fact that the GCN3_X86 build
still works. No other code in the file was conditionally compiled as of
today.

Change-Id: I3cef8348fb601dd7af67665cf64bbf514c91c3db
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34577
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/system/GPUCoalescer.cc
src/mem/ruby/system/VIPERCoalescer.cc

index 03c392f7f64c7f253f79be469441c0b79da5d1c1..f5d4f02bdce048dfada6b345d16de8cb0d3810cb 100644 (file)
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "mem/ruby/system/GPUCoalescer.hh"
+
 #include "base/logging.hh"
 #include "base/str.hh"
 #include "config/the_isa.hh"
-
-#if THE_ISA == X86_ISA
-#include "arch/x86/insts/microldstop.hh"
-
-#endif // X86_ISA
-#include "mem/ruby/system/GPUCoalescer.hh"
-
 #include "cpu/testers/rubytest/RubyTester.hh"
 #include "debug/GPUCoalescer.hh"
 #include "debug/MemoryAccess.hh"
index a8a3aa952c008af7069268481e4a06a778445963..82c7f005254ef0c2136854a815b1740f5fe6f693 100644 (file)
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "mem/ruby/system/VIPERCoalescer.hh"
+
 #include "base/logging.hh"
 #include "base/str.hh"
 #include "config/the_isa.hh"
-
-#if THE_ISA == X86_ISA
-#include "arch/x86/insts/microldstop.hh"
-
-#endif // X86_ISA
-#include "mem/ruby/system/VIPERCoalescer.hh"
-
 #include "cpu/testers/rubytest/RubyTester.hh"
 #include "debug/GPUCoalescer.hh"
 #include "debug/MemoryAccess.hh"