[Bug target/59968] Unused BT patterns
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jan 28 16:18:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59968
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |areg.melikadamyan at gmail dot com
| |, kirill.yukhin at intel dot com
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
For
int bar1;
void
__attribute__((noinline))
foo1 (int y)
{
bar1 |= 1 << y;
}
we generate:
movl $1, %eax
movl %edi, %ecx
sall %cl, %eax
orl %eax, bar1(%rip)
ret
I am expecting:
bts %edi, bar1(%rip)
ret
More information about the Gcc-bugs
mailing list