Re: [PATCH] target: [PR102941] Fix inline-asm flags with non-REG_P output

2022-01-07 Thread Richard Sandiford via Gcc-patches
apinski--- via Gcc-patches writes: > From: Andrew Pinski > > So the problem here is that arm_md_asm_adjust would > just create a set directly to the output memory which is wrong. > It needs to output to a temp register first and then do a > move. > > OK? Bootstrapped and tested on

Re: [PATCH] target: [PR102941] Fix inline-asm flags with non-REG_P output

2022-01-05 Thread Andrew Pinski via Gcc-patches
On Thu, Dec 2, 2021 at 2:16 PM Andrew Pinski wrote: > > On Tue, Oct 26, 2021 at 2:45 AM apinski--- via Gcc-patches > wrote: > > > > From: Andrew Pinski > > > > So the problem here is that arm_md_asm_adjust would > > just create a set directly to the output memory which is wrong. > > It needs to

Re: [PATCH] target: [PR102941] Fix inline-asm flags with non-REG_P output

2021-12-02 Thread Andrew Pinski via Gcc-patches
On Tue, Oct 26, 2021 at 2:45 AM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > So the problem here is that arm_md_asm_adjust would > just create a set directly to the output memory which is wrong. > It needs to output to a temp register first and then do a > move. > > OK?

[PATCH] target: [PR102941] Fix inline-asm flags with non-REG_P output

2021-10-26 Thread apinski--- via Gcc-patches
From: Andrew Pinski So the problem here is that arm_md_asm_adjust would just create a set directly to the output memory which is wrong. It needs to output to a temp register first and then do a move. OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions. I have no way to test on