[Bug rtl-optimization/94837] Failure to optimize out spurious movbe into bswap

gabravier at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 29 08:26:52 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94837

--- Comment #2 from Gabriel Ravier <gabravier at gmail dot com> ---
This is what I get with `-O3 -mmovbe -mtune=intel` : 

swapFloat(float):
  movd DWORD PTR [rsp-4], xmm0
  movbe eax, DWORD PTR [rsp-4]
  movd xmm0, eax
  ret

This seems erroneous


More information about the Gcc-bugs mailing list