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] PR target/66824: Allow software FP SFmode in FP splitter


On Wed, Jul 15, 2015 at 3:37 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Jul 15, 2015 at 5:05 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
>> On Wed, Jul 15, 2015 at 1:36 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
>>
>>>> I couldn't figure a way to add conditional constraints for "?r/rmF" and
>>>> "r/rmF".   I simply disabled *movsf_internal if TARGET_HARD_FP_REGS
>>>> is false and added a new "*movsf_internal_soft_fp" pattern.
>>>>
>>>> OK for trunk if there is no regressions?
>>>
>>> No. We don't want duplicated patterns.
>>> Please add two patterns at the end of the constraint string and use
>>
>> ... add two *constraints* at the end ...
>
> When I simply added "r/rmF" to the end,  RA saw "?r/rmF" first and
> ignored  "r/rmF" at the end.

Please try attached patch.

Uros.

Attachment: p.diff.txt
Description: Text document


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