]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix unrecognizable insn of cvtss2si.
authorliuhongt <hongtao.liu@intel.com>
Sun, 9 Oct 2022 07:30:10 +0000 (15:30 +0800)
committerliuhongt <hongtao.liu@intel.com>
Mon, 10 Oct 2022 07:58:04 +0000 (15:58 +0800)
commit9b8520fa9d745b3a974d5eb98cb4b9a9021b215d
tree31917206e67cac6cde6b70296d60ee49a86214bc
parent70f66a47fdf7d5f3837e475175b622abb5b985ad
Fix unrecognizable insn of cvtss2si.

Adjust lrintmn2 operand preidcates according to real instructions.

gcc/ChangeLog:

PR target/107185
* config/i386/i386.md (lrint<MODEF:mode><SWI48:mode>2): Swap
predicate of operands[0] and operands[1].

gcc/testsuite/ChangeLog:

* gcc.target/i386/pr107185.c: New test.
gcc/config/i386/i386.md
gcc/testsuite/gcc.target/i386/pr107185.c [new file with mode: 0644]