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, testsuite, i386] BMI2 support for GCC


On Fri, Aug 19, 2011 at 6:31 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> It is hard to tell. ?Can you double check indentation on
>
> + ?if (can_create_pseudo_p () && <MODE>mode != SImode)
> + ?{
> + ? ?rtx tmp = gen_rtx_REG (<MODE>mode, 0);
> + ? ?emit_insn (gen_extendsidi2 (tmp, operands[2]));
> + ? ?operands[2] = tmp;
> + ?}
>
>
> On Fri, Aug 19, 2011 at 7:13 AM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
>> Thanks, fixed.
>>
>> Updated patch is attached.
>>
>> K
>>
>> On Fri, Aug 19, 2011 at 6:04 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>> No need for () in "(mode == SImode)":
>>>
>>> + ? ? ? ? && !optimize_function_for_size_p (cfun)
>>> + ? ? ? ? && ((mode == SImode) || (mode == DImode && TARGET_64BIT))
>>>
>>> Wrong placement of '{':
>>>
>>> + ?if (can_create_pseudo_p () && <MODE>mode != SImode) {
>>> + ? ?rtx tmp = gen_rtx_REG (<MODE>mode, 0);
>>> + ? ?emit_insn (gen_extendsidi2 (tmp, operands[2]));
>>> + ? ?operands[2] = tmp;
>>> + ?}
>>>
>>>
>>>
>>> On Fri, Aug 19, 2011 at 6:53 AM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
>>>> Thanks!
>>>> Fixed, updated patch is attached.
>>>>
>>>> Is it ok?
>>>>
>>>> Thanks, K
>>>>
>>>> On Fri, Aug 19, 2011 at 5:22 PM, Jakub Jelinek <jakub@redhat.com> wrote:
>>>>> On Fri, Aug 19, 2011 at 05:18:19PM +0400, Kirill Yukhin wrote:
>>>>>> Thanks, it is fixed.
>>>>>> Update patch is attached.
>>>>>
>>>>> + ? ? ? ? /* We generatin RORX instruction, freedom of register +
>>>>> + ? ? ? ? ? ?flags not affected ?*/
>>>>>
>>>>> comment doesn't look to be correct english (missing verb, missing g at
>>>>> the end of generating, missing dot at the end of sentence).
>>>>>
>>>>> ? ? ? ?Jakub
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> H.J.
>>>
>>
>
>
>
> --
> H.J.
>

Attachment: bmi2-5.gcc.patch
Description: Binary data


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