https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97690
Andrew Pinski changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97690
Andrew Pinski changed:
What|Removed |Added
CC||pawel_sikora at zoho dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97690
--- Comment #5 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:3e190757fa332d327bee27495f37beb01155cfab
commit r11-4717-g3e190757fa332d327bee27495f37beb01155cfab
Author: Jakub Jelinek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97690
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97690
Richard Biener changed:
What|Removed |Added
Last reconfirmed||2020-11-03
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97690
--- Comment #2 from Jonathan Wakely ---
More generally, Clang seems to reliably turn
cond ? (2<
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97690
--- Comment #1 from Jonathan Wakely ---
It seems to be target-independent. For aarch64, -O3 and -Os both give:
f(bool):
tst w0, 255
csetw0, ne
lsl w0, w0, 1
ret
g(bool):
ubfiz w0, w0, 1, 8