]> gcc.gnu.org Git - gcc.git/commit
i386: Fix unsigned int -> double conversion on i386 w/ -mfpmath=sse [PR100119]
authorUros Bizjak <ubizjak@gmail.com>
Thu, 22 Apr 2021 14:30:38 +0000 (16:30 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Thu, 22 Apr 2021 14:31:44 +0000 (16:31 +0200)
commit0cda606d08d6196b76524c7b6ad51d87fed0d54b
treee4f9156a892e33df4ca5a5a4ade0bb1da7a6e30b
parent0f4588141fcbe4e0f1fa12776b47200870f6c621
i386: Fix unsigned int -> double conversion on i386 w/ -mfpmath=sse [PR100119]

2021-04-22  Uroš Bizjak  <ubizjak@gmail.com>

gcc/
PR target/100119
* config/i386/i386-expand.c (ix86_expand_convert_uns_sidf_sse):
Remove the sign with FE_DOWNWARD, where x - x = -0.0.

gcc/testsuite/

PR target/100119
* gcc.target/i386/pr100119.c: New test.
gcc/config/i386/i386-expand.c
gcc/testsuite/gcc.target/i386/pr100119.c [new file with mode: 0644]
This page took 0.061687 seconds and 5 git commands to generate.