Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/globals_x86.hpp @ 14440:41b780b43b74
8029015: PPC64 (part 216): opto: trap based null and range checks
Summary: On PPC64 use tdi instruction that does a compare and raises SIGTRAP for NULL and range checks.
Reviewed-by: kvn
author | goetz |
---|---|
date | Wed, 27 Nov 2013 16:16:21 -0800 |
parents | 5ccbab1c69f3 |
children | d8041d695d19 9e9af3aa4278 62c54fcc0a35 |
comparison
equal
deleted
inserted
replaced
14439:50fdb38839eb | 14440:41b780b43b74 |
---|---|
35 define_pd_global(bool, ShareVtableStubs, true); | 35 define_pd_global(bool, ShareVtableStubs, true); |
36 define_pd_global(bool, CountInterpCalls, true); | 36 define_pd_global(bool, CountInterpCalls, true); |
37 define_pd_global(bool, NeedsDeoptSuspend, false); // only register window machines need this | 37 define_pd_global(bool, NeedsDeoptSuspend, false); // only register window machines need this |
38 | 38 |
39 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks | 39 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks |
40 define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs past to check cast | 40 define_pd_global(bool, TrapBasedNullChecks, false); // Not needed on x86. |
41 define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs passed to check cast | |
41 | 42 |
42 // See 4827828 for this change. There is no globals_core_i486.hpp. I can't | 43 // See 4827828 for this change. There is no globals_core_i486.hpp. I can't |
43 // assign a different value for C2 without touching a number of files. Use | 44 // assign a different value for C2 without touching a number of files. Use |
44 // #ifdef to minimize the change as it's late in Mantis. -- FIXME. | 45 // #ifdef to minimize the change as it's late in Mantis. -- FIXME. |
45 // c1 doesn't have this problem because the fix to 4858033 assures us | 46 // c1 doesn't have this problem because the fix to 4858033 assures us |