[OpenSmalltalk/opensmalltalk-vm] 8619b6: ARMv8 simulator: implement 16-byte alignment check...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] 8619b6: ARMv8 simulator: implement 16-byte alignment check...

Eliot Miranda-3
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 8619b6f7e9384acd8066fb2a6f4d691ed126c528
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/8619b6f7e9384acd8066fb2a6f4d691ed126c528
  Author: Eliot Miranda <[hidden email]>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M build.macos64x64/gdbarm64/conf.COG
    M processors/ARM/gdb-8.3.1/sim/aarch64/cpustate.c
    M processors/ARM/gdb-8.3.1/sim/aarch64/cpustate.h
    M processors/ARM/gdb-8.3.1/sim/aarch64/simulator.c

  Log Message:
  -----------
  ARMv8 simulator: implement 16-byte alignment checking (!!).  If the SA0 bit is
set in SCTLR_EL0 (and this is the case on e.g. Manjaro ARMv8) then any attempt
to load or store throguh the sp if the sp is aligned on other than a 16 byte
boundary will produce an illegal instruction fault.
[ci skip]