src/cpu/x86/vm/x86_64.ad
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/cpu/x86/vm/x86_64.ad	Thu May 20 16:56:55 2010
--- new/src/cpu/x86/vm/x86_64.ad	Thu May 20 16:56:55 2010

*** 2052,2061 **** --- 2052,2066 ---- // Should the Matcher clone shifts on addressing modes, expecting them // to be subsumed into complex addressing expressions or compute them // into registers? True for Intel but false for most RISCs const bool Matcher::clone_shift_expressions = true; + bool Matcher::narrow_oop_use_complex_address() { + assert(UseCompressedOops, "only for comressed oops code"); + return (LogMinObjAlignmentInBytes <= 3); + } + // Is it better to copy float constants, or load them directly from // memory? Intel can load a float constant from a direct address, // requiring no extra registers. Most RISCs will have to materialize // an address into a register first, so they would do better to copy // the constant from stack.

src/cpu/x86/vm/x86_64.ad
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File