< prev index next >

src/cpu/aarch64/vm/globals_aarch64.hpp

Print this page
rev 10243 : 8150394: aarch64: add support for 8.1 LSE CAS instructions
Reviewed-by: aph
Contributed-by: ananth.jasty@caviumnetworks.com, edward.nevill@linaro.org


  85 #define UseBuiltinSim           true
  86 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct, range, constraint) \
  87                                                                         \
  88   product(bool, NotifySimulator, UseBuiltinSim,                         \
  89          "tell the AArch64 sim where we are in method code")            \
  90                                                                         \
  91   product(bool, UseSimulatorCache, false,                               \
  92          "tell sim to cache memory updates until exclusive op occurs")  \
  93                                                                         \
  94   product(bool, DisableBCCheck, true,                                   \
  95           "tell sim not to invoke bccheck callback")                    \
  96                                                                         \
  97   product(bool, NearCpool, true,                                        \
  98          "constant pool is close to instructions")                      \
  99                                                                         \
 100   product(bool, UseBarriersForVolatile, false,                          \
 101           "Use memory barriers to implement volatile accesses")         \
 102                                                                         \
 103   product(bool, UseCRC32, false,                                        \
 104           "Use CRC32 instructions for CRC32 computation")               \



 105 
 106 // Don't attempt to use Neon on builtin sim until builtin sim supports it
 107 #define UseCRC32 false
 108 
 109 #else
 110 #define UseBuiltinSim           false
 111 #define NotifySimulator         false
 112 #define UseSimulatorCache       false
 113 #define DisableBCCheck          true
 114 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct, range, constraint) \
 115                                                                         \
 116   product(bool, NearCpool, true,                                        \
 117          "constant pool is close to instructions")                      \
 118                                                                         \
 119   product(bool, UseBarriersForVolatile, false,                          \
 120           "Use memory barriers to implement volatile accesses")         \
 121   product(bool, UseNeon, false,                                         \
 122           "Use Neon for CRC32 computation")                             \
 123   product(bool, UseCRC32, false,                                        \
 124           "Use CRC32 instructions for CRC32 computation")               \


 125   product(bool, TraceTraps, false, "Trace all traps the signal handler")
 126 
 127 #endif
 128 
 129 
 130 #endif // CPU_AARCH64_VM_GLOBALS_AARCH64_HPP


  85 #define UseBuiltinSim           true
  86 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct, range, constraint) \
  87                                                                         \
  88   product(bool, NotifySimulator, UseBuiltinSim,                         \
  89          "tell the AArch64 sim where we are in method code")            \
  90                                                                         \
  91   product(bool, UseSimulatorCache, false,                               \
  92          "tell sim to cache memory updates until exclusive op occurs")  \
  93                                                                         \
  94   product(bool, DisableBCCheck, true,                                   \
  95           "tell sim not to invoke bccheck callback")                    \
  96                                                                         \
  97   product(bool, NearCpool, true,                                        \
  98          "constant pool is close to instructions")                      \
  99                                                                         \
 100   product(bool, UseBarriersForVolatile, false,                          \
 101           "Use memory barriers to implement volatile accesses")         \
 102                                                                         \
 103   product(bool, UseCRC32, false,                                        \
 104           "Use CRC32 instructions for CRC32 computation")               \
 105                                                                         \
 106   product(bool, UseLSE, false,                                          \
 107           "Use LSE instructions")                                       \
 108 
 109 // Don't attempt to use Neon on builtin sim until builtin sim supports it
 110 #define UseCRC32 false
 111 
 112 #else
 113 #define UseBuiltinSim           false
 114 #define NotifySimulator         false
 115 #define UseSimulatorCache       false
 116 #define DisableBCCheck          true
 117 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct, range, constraint) \
 118                                                                         \
 119   product(bool, NearCpool, true,                                        \
 120          "constant pool is close to instructions")                      \
 121                                                                         \
 122   product(bool, UseBarriersForVolatile, false,                          \
 123           "Use memory barriers to implement volatile accesses")         \
 124   product(bool, UseNeon, false,                                         \
 125           "Use Neon for CRC32 computation")                             \
 126   product(bool, UseCRC32, false,                                        \
 127           "Use CRC32 instructions for CRC32 computation")               \
 128   product(bool, UseLSE, false,                                          \
 129           "Use LSE instructions")                                       \
 130   product(bool, TraceTraps, false, "Trace all traps the signal handler")
 131 
 132 #endif
 133 
 134 
 135 #endif // CPU_AARCH64_VM_GLOBALS_AARCH64_HPP
< prev index next >