[Bug middle-end/37908] [4.2/4.3/4.4 regression] atomic NAND op generate wrong code; __sync_nand_and_fetch, __sync_fetch_and_nand
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 29 07:11:00 GMT 2008
------- Comment #6 from ubizjak at gmail dot com 2008-10-29 07:10 -------
According to Intel [1]:
According to Dan, __sync_fetch_and_nand intrinsic should be implemented as
~(target & val). Uros's patch is correct.
[1] http://gcc.gnu.org/ml/gcc-patches/2008-10/msg01214.html
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |critical
Status|RESOLVED |REOPENED
Keywords| |wrong-code
Priority|P3 |P1
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37908
More information about the Gcc-bugs
mailing list