public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/55948] New: __atomic_clear / __atomic_store_n ignore HLE_RELEASE flags
@ 2013-01-11 20:22 andi-gcc at firstfloor dot org
2013-01-14 16:45 ` [Bug target/55948] " uros at gcc dot gnu.org
2013-03-13 13:54 ` andi-gcc at firstfloor dot org
0 siblings, 2 replies; 3+ messages in thread
From: andi-gcc at firstfloor dot org @ 2013-01-11 20:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55948
Bug #: 55948
Summary: __atomic_clear / __atomic_store_n ignore HLE_RELEASE
flags
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: andi-gcc@firstfloor.org
Passing __ATOMIC_HLE_RELEASE to __atomic_clear or __atomic_store_n does
nothing.
But it's valid to do a HLE release on a store.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/55948] __atomic_clear / __atomic_store_n ignore HLE_RELEASE flags
2013-01-11 20:22 [Bug target/55948] New: __atomic_clear / __atomic_store_n ignore HLE_RELEASE flags andi-gcc at firstfloor dot org
@ 2013-01-14 16:45 ` uros at gcc dot gnu.org
2013-03-13 13:54 ` andi-gcc at firstfloor dot org
1 sibling, 0 replies; 3+ messages in thread
From: uros at gcc dot gnu.org @ 2013-01-14 16:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55948
--- Comment #1 from uros at gcc dot gnu.org 2013-01-14 16:45:04 UTC ---
Author: uros
Date: Mon Jan 14 16:44:55 2013
New Revision: 195155
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195155
Log:
PR target/55948
* config/i386/sync.md (atomic_store<mode>_1): New pattern.
(atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
memmodel flag.
testsuite/ChangeLog
PR target/55948
* gcc.target/i386/hle-clear-rel.c: New file
* gcc.target/i386/hle-store-rel.c: New file.
Added:
trunk/gcc/testsuite/gcc.target/i386/hle-clear-rel.c
trunk/gcc/testsuite/gcc.target/i386/hle-store-rel.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/sync.md
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/55948] __atomic_clear / __atomic_store_n ignore HLE_RELEASE flags
2013-01-11 20:22 [Bug target/55948] New: __atomic_clear / __atomic_store_n ignore HLE_RELEASE flags andi-gcc at firstfloor dot org
2013-01-14 16:45 ` [Bug target/55948] " uros at gcc dot gnu.org
@ 2013-03-13 13:54 ` andi-gcc at firstfloor dot org
1 sibling, 0 replies; 3+ messages in thread
From: andi-gcc at firstfloor dot org @ 2013-03-13 13:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55948
Andi Kleen <andi-gcc at firstfloor dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #2 from Andi Kleen <andi-gcc at firstfloor dot org> 2013-03-13 13:53:33 UTC ---
patch was checked in some time ago
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-13 13:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-11 20:22 [Bug target/55948] New: __atomic_clear / __atomic_store_n ignore HLE_RELEASE flags andi-gcc at firstfloor dot org
2013-01-14 16:45 ` [Bug target/55948] " uros at gcc dot gnu.org
2013-03-13 13:54 ` andi-gcc at firstfloor dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).