Initial copy support in the pipeline. Add copypal counting.
authorErik Hallnor <ehallnor@umich.edu>
Fri, 27 Feb 2004 05:45:21 +0000 (00:45 -0500)
committerErik Hallnor <ehallnor@umich.edu>
Fri, 27 Feb 2004 05:45:21 +0000 (00:45 -0500)
arch/alpha/osfpal.cc:
    Add a string for copypal.
arch/alpha/osfpal.hh:
    Add a code for copypal.
cpu/static_inst.hh:
    Add an IsCopy flag.

--HG--
extra : convert_revision : 19e3d90368454806029ad492eace19cd0924fe9f

arch/alpha/osfpal.cc
arch/alpha/osfpal.hh
cpu/static_inst.hh

index 4c0ace8c06dde0af2e3284ca21f175e478be619e..90d645ef1390f70f767c55c30eb402494647b072 100644 (file)
@@ -224,8 +224,8 @@ namespace {
         0,             // 0xbc
         0,             // 0xbd
         "nphalt",      // 0xbe
+        "copypal",     // 0xbf
 #if 0
-        0,             // 0xbf
         0,             // 0xc0
         0,             // 0xc1
         0,             // 0xc2
index 61e5453061e3b30abbaae9ccbe4ca4c28b490640..419235b4ab0298337d6308c6824061ba8a185666 100644 (file)
@@ -70,6 +70,7 @@ struct PAL
         gentrap = 0xaa,
         clrfen = 0xae,
         nphalt = 0xbe,
+        copypal = 0xbf,
         NumCodes
     };
 
index 5f4bcae3d3618ca155c2f2a14477d0fb488d63b0..cdf9aefa0e5877a6f9b9bc68b49af74ffc1b2fd7 100644 (file)
@@ -96,6 +96,7 @@ class StaticInstBase : public RefCounted
         IsStore,       ///< Writes to memory.
         IsInstPrefetch,        ///< Instruction-cache prefetch.
         IsDataPrefetch,        ///< Data-cache prefetch.
+        IsCopy,         ///< Fast Cache block copy
 
         IsControl,             ///< Control transfer instruction.
         IsDirectControl,       ///< PC relative control transfer.
@@ -176,6 +177,7 @@ class StaticInstBase : public RefCounted
     bool isStore()       const { return flags[IsStore]; }
     bool isInstPrefetch() const { return flags[IsInstPrefetch]; }
     bool isDataPrefetch() const { return flags[IsDataPrefetch]; }
+    bool isCopy()         const { return flags[IsCopy];}
 
     bool isInteger()     const { return flags[IsInteger]; }
     bool isFloating()    const { return flags[IsFloating]; }