This is the mail archive of the gcc-patches@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]

Re: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation


On Wed, Oct 29, 2008 at 09:05:09AM +0100, Uros Bizjak wrote:
> On Tue, Oct 28, 2008 at 11:04 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Attached (now for real :) patch corrects __sync nand intrinsics to
> generate ~(target & val). The patch was tested on i686-pc-linux-gnu. I
> propose to commit the patch, since all unfixed targets will fail fixed
> sync tests and after all targets are fixed, we can backport complete
> patch to release branches and  add the note to release notes.

IMNSHO we want this in 4.4 only, otherwise people who already use these
intrinsics have no easy way (except for configure) to find out what semantics
the builtin has.
If it is only in 4.4, they can check __GNUC_MAJOR__ and __GNUC_MINOR__.

	Jakub


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