Does AArch64 support disconnected access?

Does AArch64 support non-smooth access natively? I ask because it currently ocamloptassumes no.

+4
source share
1 answer

Providing a hardware bit for strict alignment checking is not turned on (which, like on x86, no universal OS is realistic), AArch64 allows unrelated data access to regular (non Device) memory with regular loading / storage instructions.

However, there are several reasons why the compiler still wants to maintain aligned data:

  • : , .. , , - . , - . concurrency, , , , .
  • Atomic read-modify-write: concurrency, ( ) , load-exclusive/store-exclusive, Atom-read-modify-write, /. , .
  • . - 1 , . ( ) . (, ), .
  • : , , , , .

, OCaml , , , , " ".

+5

Source: https://habr.com/ru/post/1648834/


All Articles