class Bytes: AllStatic { public: // Efficient reading and writing of unaligned unsigned data in // platform-specific byte ordering.
// Use regular load and store for unaligned access. // // On z/Architecture, unaligned loads and stores are supported when using the // "traditional" load (LH, L/LY, LG) and store (STH, ST/STY, STG) instructions. // The penalty for unaligned access is just very few (two or three) ticks, // plus another few (two or three) ticks if the access crosses a cache line boundary. // // In short, it makes no sense on z/Architecture to piecemeal get or put unaligned data.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.