src/cpu/sparc/vm/disassembler_sparc.hpp

Print this page




  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef CPU_SPARC_VM_DISASSEMBLER_SPARC_HPP
  26 #define CPU_SPARC_VM_DISASSEMBLER_SPARC_HPP
  27 
  28   static int pd_instruction_alignment() {
  29     return sizeof(int);
  30   }
  31 
  32   static const char* pd_cpu_opts() {
  33     return (VM_Version::v9_instructions_work()?
  34             (VM_Version::v8_instructions_work()? "" : "v9only") : "v8only");
  35   }
  36 
  37 #endif // CPU_SPARC_VM_DISASSEMBLER_SPARC_HPP


  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef CPU_SPARC_VM_DISASSEMBLER_SPARC_HPP
  26 #define CPU_SPARC_VM_DISASSEMBLER_SPARC_HPP
  27 
  28   static int pd_instruction_alignment() {
  29     return sizeof(int);
  30   }
  31 
  32   static const char* pd_cpu_opts() {
  33     return "v9only";

  34   }
  35 
  36 #endif // CPU_SPARC_VM_DISASSEMBLER_SPARC_HPP