]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Rename hard_fp_offset to bytes_above_hard_fp
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:08:52 +0000 (16:08 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:08:52 +0000 (16:08 +0100)
commit3fbf0789202b30a67b12e1fb785c7130f098d665
tree0692cdc7bc0f4fd19ad0807411e2909c40861181
parent0a0a824808d1dec51004fb5805c1a0ae2a35433f
aarch64: Rename hard_fp_offset to bytes_above_hard_fp

Similarly to the previous locals_offset patch, hard_fp_offset
was described as:

  /* Offset from the base of the frame (incomming SP) to the
     hard_frame_pointer.  This value is always a multiple of
     STACK_BOUNDARY.  */
  poly_int64 hard_fp_offset;

which again took an “upside-down” view: higher offsets meant lower
addresses.  This patch renames the field to bytes_above_hard_fp instead.

gcc/
* config/aarch64/aarch64.h (aarch64_frame::hard_fp_offset): Rename
to...
(aarch64_frame::bytes_above_hard_fp): ...this.
* config/aarch64/aarch64.cc (aarch64_layout_frame)
(aarch64_expand_prologue): Update accordingly.
(aarch64_initial_elimination_offset): Likewise.
gcc/config/aarch64/aarch64.cc
gcc/config/aarch64/aarch64.h