src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Sdiff src/os_cpu/solaris_sparc/vm

src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp

Print this page


   1 /*
   2  * Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  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  *


 346 #ifndef AV_SPARC_FMAF
 347 #define AV_SPARC_FMAF 0x0100        /* Fused Multiply-Add */
 348 #endif
 349   if (av & AV_SPARC_FMAF)         features |= fmaf_instructions_m;
 350 
 351 #ifndef AV_SPARC_FMAU
 352 #define AV_SPARC_FMAU    0x0200  /* Unfused Multiply-Add */
 353 #endif
 354   if (av & AV_SPARC_FMAU)         features |= fmau_instructions_m;
 355 
 356 #ifndef AV_SPARC_VIS3
 357 #define AV_SPARC_VIS3    0x0400  /* VIS3 instruction set extensions */
 358 #endif
 359   if (av & AV_SPARC_VIS3)         features |= vis3_instructions_m;
 360 
 361 #ifndef AV_SPARC_CBCOND
 362 #define AV_SPARC_CBCOND 0x10000000  /* compare and branch instrs supported */
 363 #endif
 364   if (av & AV_SPARC_CBCOND)       features |= cbcond_instructions_m;
 365 





 366 #ifndef AV_SPARC_AES
 367 #define AV_SPARC_AES 0x00020000  /* aes instrs supported */
 368 #endif
 369   if (av & AV_SPARC_AES)       features |= aes_instructions_m;
 370 
 371 #ifndef AV_SPARC_SHA1
 372 #define AV_SPARC_SHA1   0x00400000  /* sha1 instruction supported */
 373 #endif
 374   if (av & AV_SPARC_SHA1)         features |= sha1_instruction_m;
 375 
 376 #ifndef AV_SPARC_SHA256
 377 #define AV_SPARC_SHA256 0x00800000  /* sha256 instruction supported */
 378 #endif
 379   if (av & AV_SPARC_SHA256)       features |= sha256_instruction_m;
 380 
 381 #ifndef AV_SPARC_SHA512
 382 #define AV_SPARC_SHA512 0x01000000  /* sha512 instruction supported */
 383 #endif
 384   if (av & AV_SPARC_SHA512)       features |= sha512_instruction_m;
 385 


   1 /*
   2  * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  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  *


 346 #ifndef AV_SPARC_FMAF
 347 #define AV_SPARC_FMAF 0x0100        /* Fused Multiply-Add */
 348 #endif
 349   if (av & AV_SPARC_FMAF)         features |= fmaf_instructions_m;
 350 
 351 #ifndef AV_SPARC_FMAU
 352 #define AV_SPARC_FMAU    0x0200  /* Unfused Multiply-Add */
 353 #endif
 354   if (av & AV_SPARC_FMAU)         features |= fmau_instructions_m;
 355 
 356 #ifndef AV_SPARC_VIS3
 357 #define AV_SPARC_VIS3    0x0400  /* VIS3 instruction set extensions */
 358 #endif
 359   if (av & AV_SPARC_VIS3)         features |= vis3_instructions_m;
 360 
 361 #ifndef AV_SPARC_CBCOND
 362 #define AV_SPARC_CBCOND 0x10000000  /* compare and branch instrs supported */
 363 #endif
 364   if (av & AV_SPARC_CBCOND)       features |= cbcond_instructions_m;
 365 
 366 #ifndef AV_SPARC_CRC32C
 367 #define AV_SPARC_CRC32C 0x20000000  /* crc32c instruction supported */
 368 #endif
 369   if (av & AV_SPARC_CRC32C)       features |= crc32c_instruction_m;
 370 
 371 #ifndef AV_SPARC_AES
 372 #define AV_SPARC_AES 0x00020000  /* aes instrs supported */
 373 #endif
 374   if (av & AV_SPARC_AES)       features |= aes_instructions_m;
 375 
 376 #ifndef AV_SPARC_SHA1
 377 #define AV_SPARC_SHA1   0x00400000  /* sha1 instruction supported */
 378 #endif
 379   if (av & AV_SPARC_SHA1)         features |= sha1_instruction_m;
 380 
 381 #ifndef AV_SPARC_SHA256
 382 #define AV_SPARC_SHA256 0x00800000  /* sha256 instruction supported */
 383 #endif
 384   if (av & AV_SPARC_SHA256)       features |= sha256_instruction_m;
 385 
 386 #ifndef AV_SPARC_SHA512
 387 #define AV_SPARC_SHA512 0x01000000  /* sha512 instruction supported */
 388 #endif
 389   if (av & AV_SPARC_SHA512)       features |= sha512_instruction_m;
 390 


src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File