misc: string.join has been removed in python3
[gem5.git] / src / arch / power / isa / formats / util.isa
index 8fd7f7daa2d91833b4dc15b653dc45e5ec2e63ff..1bb78e6ad2fc8d6546a49cc6078695c0f4fe0662 100644 (file)
 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//
-// Authors: Steve Reinhardt
-//          Korey Sewell
-//          Timothy M. Jones
 
 // Some instructions ignore the contents of Ra if Ra == 0,
 // so check for this.
@@ -104,7 +100,7 @@ def LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,
                         inst_flags)
 
     if mem_flags:
-        s = '\n\tmemAccessFlags = ' + string.join(mem_flags, '|') + ';'
+        s = '\n\tmemAccessFlags = ' + '|'.join(mem_flags) + ';'
         iop.constructor += s
 
     fullExecTemplate = eval(exec_template_base + 'Execute')