Re: [PATCH] [x86] Fix unrecognizable insn of cvtss2si.

2022-10-10 Thread Uros Bizjak via Gcc-patches
On Mon, Oct 10, 2022 at 3:26 AM liuhongt via Gcc-patches wrote: > > Adjust lrintmn2 operand preidcates according to real instructions. > > Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. > Ok as an obvious fix? > > gcc/ChangeLog: > > PR target/107185 > * config/i386/i386.

[PATCH] [x86] Fix unrecognizable insn of cvtss2si.

2022-10-09 Thread liuhongt via Gcc-patches
Adjust lrintmn2 operand preidcates according to real instructions. Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. Ok as an obvious fix? gcc/ChangeLog: PR target/107185 * config/i386/i386.md (lrint2): Swap predicate of operands[0] and operands[1]. gcc/testsuite