This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] PR rtl-optimization/65220: avoid integer division in stack alignment


This is actually Jakub's patch from the PR, with a few minor tweaks that were needed to bootstrap and pass the regression suite.

The splitter was using operand 0 without setting it first. It should've been operand 2. Also, there was a division by zero that was causing an invalid insn; fixed by changing the INTVAL + 2 into INTVAL - 2. Finally, a reload_completed was added at Jakub's request.

Bootstrapped and tested on x86-64 Linux.

OK for mainline?

Attachment: curr
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]