diff src/cpu/x86/vm/vmStructs_x86.hpp @ 18415:6dc4f0be9a70

Add support of lzcnt and tzcnt - support of lzcnt and tzcnt instructions, - unit tests for lzcnt/tzcnt, - ability to emit bsf/bsr in case lzcnt/tzcnt were turned off from the command line, - tightening the stamps produced by ScanBitForward/ReverseNode nodes. Contributed-By: Igor Veresov <igor.veresov@oracle.com>
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 19 Nov 2014 13:32:05 +0100
parents 89152779163c
children b8d3f84740c7
line wrap: on
line diff
--- a/src/cpu/x86/vm/vmStructs_x86.hpp	Wed Nov 19 13:10:24 2014 +0100
+++ b/src/cpu/x86/vm/vmStructs_x86.hpp	Wed Nov 19 13:32:05 2014 +0100
@@ -70,7 +70,9 @@
   declare_constant(VM_Version::CPU_AVX2)                            \
   declare_constant(VM_Version::CPU_AES)                             \
   declare_constant(VM_Version::CPU_ERMS)                            \
-  declare_constant(VM_Version::CPU_CLMUL)
+  declare_constant(VM_Version::CPU_CLMUL)                           \
+  declare_constant(VM_Version::CPU_BMI1)                            \
+  declare_constant(VM_Version::CPU_BMI2)
 
 #define VM_LONG_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant)