This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AArch64] Fix predicate and constraint mismatch in logical atomic operations
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Michael Collison <michael dot collison at linaro dot org>
- Cc: Andrew Pinski <pinskia at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 25 Sep 2014 14:30:48 -0500
- Subject: Re: [AArch64] Fix predicate and constraint mismatch in logical atomic operations
- Authentication-results: sourceware.org; auth=none
- References: <54238FEF dot 6030006 at linaro dot org> <CA+=Sn1mRZV6pn9urzkwJ_FP=7yVvfBLUEVwsievQE6DZAs+F7Q at mail dot gmail dot com> <54239551 dot 6090400 at linaro dot org> <CA+=Sn1=knOQxDzJQRM8PshFbdo+-x22k1LWx5Nb6FiS+=j_p5Q at mail dot gmail dot com> <54239657 dot 4090208 at linaro dot org> <CA+=Sn1ko=eHfibkRe1xoWYTNp5E3_DjWgL3hMK5Dsx94ayJhjQ at mail dot gmail dot com> <20140925101234 dot GA14286 at gate dot crashing dot org> <542451DD dot 1070808 at linaro dot org>
On Thu, Sep 25, 2014 at 10:33:17AM -0700, Michael Collison wrote:
> The problem is the "CONST_INT 0", not a large constant. This constant is
> not accepted by the predicate, but is accepted by the constraint.
Yes, bad choice of words, sorry. Just read "big" as "not matching the
predicate". The point is that everything works fine until RA, and that
makes it hard to make a useful test.
Segher
p.s. Please don't top-post. Thanks.