This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/49244] no intrinsics to emit 'lock bts' and 'lock btc'
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 1 Jun 2011 06:55:00 +0000
- Subject: [Bug other/49244] no intrinsics to emit 'lock bts' and 'lock btc'
- Auto-submitted: auto-generated
- References: <bug-49244-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49244
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aldyh at gcc dot gnu.org,
| |jakub at gcc dot gnu.org,
| |rth at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-01 06:54:05 UTC ---
I'm afraid this can't be done in the combiner nor in peephole2 and generally
would be hard to do after expansion, but perhaps it could be done during
expansion or earlier, by folding the (complex) sequence into a new builtin,
preferrably with space in the name to make it inaccessible to users and then
expanding that builtin.