Guardian Procedure Calls Reference Manual
Minimum Permissible Alignments for 64-bit Segments
The returned value is log
2
of the largest value <= size /4 in the sequence 16 KB, 128 KB, 1 MB,
8 MB, 64 MB, 512 MB, 4 GB, 32 GB (successive powers of 8). The resulting ranges are
summarized in the following table:
14log2(min-alignment) =< 2
19
For size
17< 2
22
20< 2
25
23< 2
28
26< 2
31
29< 2
34
32< 2
37
35else
These values are not optimal, but result in reasonable performance on all platforms and RVUs.
SEGMENT_GET_MIN_ALIGN_ Procedure 1283