HomeFreeBSD

arm64: Shave off two instructions in exceptions

Description

arm64: Shave off two instructions in exceptions

This patch shaves off up to two three instructions in
save_registers_head in exception.S for arm64, which would make more
space for instructions that could be added in CheriBSD.

This is done by:

  1. Combining pointer arithmetic with pre-incrementing STP instructions
  2. Removing the instruction that sets the frame pointer (x29) as its content is unused

Differential Revision: https://reviews.freebsd.org/D34631

Details

Provenance
dg612_cam.ac.ukAuthored on Mar 1 2023, 2:28 PM
andrewCommitted on Mar 1 2023, 2:43 PM
Differential Revision
D34631: Shave off two instructions in save_registers_head
Parents
rG41ff5ea22cb9: ssh: default VerifyHostKeyDNS to no, following upstream
Branches
Unknown
Tags
Unknown