@@ -354,16 +354,12 @@ class RegMask {
354354 }
355355
356356 // SlotsPerLong is 2, since slots are 32 bits and longs are 64 bits.
357- // Also, consider the maximum alignment size for a normally allocated
358- // value. Since we allocate register pairs but not register quads (at
359- // present), this alignment is SlotsPerLong (== 2). A normally
360- // aligned allocated register is either a single register, or a pair
361- // of adjacent registers, the lower-numbered being even.
362- // See also is_aligned_Pairs() below, and the padding added before
363- // Matcher::_new_SP to keep allocated pairs aligned properly.
364- // If we ever go to quad-word allocations, SlotsPerQuad will become
365- // the controlling alignment constraint. Note that this alignment
366- // requirement is internal to the allocator, and independent of any
357+ // We allocate single registers for 32 bit values and register pairs for 64
358+ // bit values. The number of registers allocated for vectors match their size. E.g. for 128 bit
359+ // vectors (VecX) we allocate a set of 4 registers. Allocated sets are adjacent and aligned.
360+ // See RegMask::find_first_set(), is_aligned_pairs(), is_aligned_sets(), and the padding added before
361+ // Matcher::_new_SP to keep allocated pairs and sets aligned properly.
362+ // Note that this alignment requirement is internal to the allocator, and independent of any
367363 // particular platform.
368364 enum { SlotsPerLong = 2 ,
369365 SlotsPerVecA = 4 ,
0 commit comments