https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344
--- Comment #3 from Richard Biener ---
(In reply to Charles Nicholson from comment #2)
> For whatever it's worth, clang does recognize both forms and emit optimal
> assembly at -Os:
>
> https://gcc.godbolt.org/z/sehxYb97E
>
> cast_through_char
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344
--- Comment #2 from Charles Nicholson ---
For whatever it's worth, clang does recognize both forms and emit optimal
assembly at -Os:
https://gcc.godbolt.org/z/sehxYb97E
cast_through_char_unrolled: # @cast_through_char_unrolled
movd eax, xmm0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344
Richard Biener changed:
What|Removed |Added
CC||hubicka at gcc dot gnu.org,