ice icon indicating copy to clipboard operation
ice copied to clipboard

Review if unaligned memory access can be used with ARM64

Open pepone opened this issue 1 year ago • 0 comments

We define ICE_UNALIGNED when unaligned memory access is supported

https://github.com/zeroc-ice/ice/blob/d25deea3be3c813ea43ed5ceeac794ba5dbc2f89/cpp/src/Ice/InputStream.cpp#L24C9-L28

We should review if ARM64 can be added here, we should also a comment to explain what this define is about, and ensure there are tests for this feature.

See also https://stackoverflow.com/questions/38535738/does-aarch64-support-unaligned-access

pepone avatar Jan 18 '24 17:01 pepone