src/share/vm/adlc/output_c.cpp

changeset 1
2d8a650513c2
parent 0
f90c822e73f8
child 6876
710a3c8b516e
     1.1 --- a/src/share/vm/adlc/output_c.cpp	Wed Apr 27 01:25:04 2016 +0800
     1.2 +++ b/src/share/vm/adlc/output_c.cpp	Fri Apr 29 00:06:10 2016 +0800
     1.3 @@ -22,6 +22,12 @@
     1.4   *
     1.5   */
     1.6  
     1.7 +/*
     1.8 + * This file has been modified by Loongson Technology in 2015. These
     1.9 + * modifications are Copyright (c) 2015 Loongson Technology, and are made
    1.10 + * available on the same license terms set forth above.
    1.11 + */
    1.12 +
    1.13  // output_c.cpp - Class CPP file output routines for architecture definition
    1.14  
    1.15  #include "adlc.hpp"
    1.16 @@ -2320,7 +2326,7 @@
    1.17    const char* reg_conversion(const char* rep_var) {
    1.18      if (strcmp(rep_var,"$Register") == 0)      return "as_Register";
    1.19      if (strcmp(rep_var,"$FloatRegister") == 0) return "as_FloatRegister";
    1.20 -#if defined(IA32) || defined(AMD64)
    1.21 +#if defined(IA32) || defined(AMD64) || defined(MIPS64)
    1.22      if (strcmp(rep_var,"$XMMRegister") == 0)   return "as_XMMRegister";
    1.23  #endif
    1.24      if (strcmp(rep_var,"$CondRegister") == 0)  return "as_ConditionRegister";

mercurial