comparison src/cpu/x86/vm/globals_x86.hpp @ 11806:14904566a4b2

Use 32 byte code alignment for Graal on x86.
author Roland Schatz <roland.schatz@oracle.com>
date Thu, 26 Sep 2013 13:17:48 +0200
parents b800986664f4
children 096c224171c4
comparison
equal deleted inserted replaced
11805:73a886a9564a 11806:14904566a4b2
44 // #ifdef to minimize the change as it's late in Mantis. -- FIXME. 44 // #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 45 // c1 doesn't have this problem because the fix to 4858033 assures us
46 // the the vep is aligned at CodeEntryAlignment whereas c2 only aligns 46 // the the vep is aligned at CodeEntryAlignment whereas c2 only aligns
47 // the uep and the vep doesn't get real alignment but just slops on by 47 // the uep and the vep doesn't get real alignment but just slops on by
48 // only assured that the entry instruction meets the 5 byte size requirement. 48 // only assured that the entry instruction meets the 5 byte size requirement.
49 #ifdef COMPILER2 49 #if defined(COMPILER2) || defined(GRAAL)
50 define_pd_global(intx, CodeEntryAlignment, 32); 50 define_pd_global(intx, CodeEntryAlignment, 32);
51 #else 51 #else
52 define_pd_global(intx, CodeEntryAlignment, 16); 52 define_pd_global(intx, CodeEntryAlignment, 16);
53 #endif // COMPILER2 53 #endif // COMPILER2
54 define_pd_global(intx, OptoLoopAlignment, 16); 54 define_pd_global(intx, OptoLoopAlignment, 16);