------- 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