Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Revert "For RV32I ABIs, stack alignment should only be 64 bits"
Browse files Browse the repository at this point in the history
This reverts commit 18b6db6.
  • Loading branch information
aswaterman authored and palmer-dabbelt committed Oct 25, 2017
1 parent 8e983a3 commit 6051a96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcc/config/riscv/riscv.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ along with GCC; see the file COPYING3. If not see
#define FUNCTION_BOUNDARY (TARGET_RVC ? 16 : 32)

/* There is no point aligning anything to a rounder boundary than this. */
#define BIGGEST_ALIGNMENT (TARGET_RVE ? BITS_PER_WORD : (2 * BITS_PER_WORD))
#define BIGGEST_ALIGNMENT (TARGET_RVE ? 32 : 128)

/* The user-level ISA permits unaligned accesses, but they are not required
of the privileged architecture. */
Expand Down Expand Up @@ -472,7 +472,7 @@ enum reg_class
`crtl->outgoing_args_size'. */
#define OUTGOING_REG_PARM_STACK_SPACE(FNTYPE) 1

#define STACK_BOUNDARY BIGGEST_ALIGNMENT
#define STACK_BOUNDARY (TARGET_RVE ? 32 : 128)

/* Symbolic macros for the registers used to return integer and floating
point values. */
Expand Down

0 comments on commit 6051a96

Please sign in to comment.