[PATCH] aarch64: Fix costing of move to/from MOVEABLE_SYSREGS

2024-10-01 Thread Andrew Carlotti
This is necessary to prevent reload assuming that a direct FP->FPMR move is valid. Bootstrapped and regression tested; ok for master? gcc/ChangeLog: * config/aarch64/aarch64.cc (aarch64_register_move_cost): Increase costs involving MOVEABLE_SYSREGS. diff --git a/gcc/config/aarc

Re: [PATCH] aarch64: Fix costing of move to/from MOVEABLE_SYSREGS

2024-10-01 Thread Richard Sandiford
Andrew Carlotti writes: > This is necessary to prevent reload assuming that a direct FP->FPMR move > is valid. > > Bootstrapped and regression tested; ok for master? > > gcc/ChangeLog: > > * config/aarch64/aarch64.cc (aarch64_register_move_cost): > Increase costs involving MOVEABLE_SYS