This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/46091] missed optimization: x86 bt/btc/bts instructions


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

--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #10)

> I'll look into this a bit some more.  However, these insn should be rare, so
> do not expect any noticeable application speed-up ...

From the Agner lists, it is not clear if "bitop mem, imm" is faster than
"movabs r, imm + logic_op mem, r". Looking at several tables, it looks that
that it is not; for some AMD and older Intel targets, RMW bitop looses
considerably.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]