Re: [AArch64] Support for SMLAL/SMLSL/UMLAL/UMLSL

2013-06-14 Thread Vidya Praveen

On 14/06/13 16:01, Richard Earnshaw wrote:

On 14/06/13 15:33, Marcus Shawcroft wrote:

On 14/06/13 14:55, Vidya Praveen wrote:

[...]

  to support SMLAL/UMLAL instructions for 64 bit vector modes.
* config/aarch64/aarch64-simd.md (*aarch64_mlsl): New pattern
  to support SMLSL/UMLSL instructions for 64 bit vector modes.



Convention is that we say what changed in the changelog entry and write
the justification in the covering email summary.  Tmsg00853.htmlherefore in 
instances
like this where you are defining a new pattern in is sufficient to write
simply.

* config/aarch64/aarch64-simd.md (*aarch64_mlal_lo): Define.



I tend to prefer "New pattern." over "Define." on the grounds that it tells me 
that this is a pattern, not a constraint or some other construct.

Also, there's no need to repeat the file name each time, or put the leading '*' 
on the pattern name.  You can
also list more than one function at the same time if it has the same 
description, and use 'Likewise' when this
extends to multiple lines.

Finally, don't over-indent continuation lines.

So:

2013-06-14  Vidya Praveen 

* config/aarch64/aarch64-simd.md (aarch64_mlal_lo):
New pattern.
(aarch64_mlal_hi, aarch64_mlsl_lo): Likewise.
(aarch64_mlsl_hi, aarch64_mlal): Likewise.

etc.


Thanks Marcus/Richard for the recommendations. After changes:

gcc/ChangeLog

2013-06-14  Vidya Praveen 

* config/aarch64/aarch64-simd.md (aarch64_mlal_lo):
New pattern.
(aarch64_mlal_hi, aarch64_mlsl_lo): Likewise.
(aarch64_mlsl_hi, aarch64_mlal): Likewise.
(aarch64_mlsl): Likewise.

gcc/testsuite/ChangeLog

2013-06-14  Vidya Praveen 

* gcc.target/aarch64/vect_smlal_1.c: New file.

~VP



Re: [AArch64] Support for SMLAL/SMLSL/UMLAL/UMLSL

2013-06-14 Thread Richard Earnshaw
On 14/06/13 15:33, Marcus Shawcroft wrote:
> On 14/06/13 14:55, Vidya Praveen wrote:
>> Hello,
>>
>> This patch adds support to SMLAL/SMLSL/UMLAL/UMLSL instructions and adds 
>> tests
>> for the same. Regression test run for aarch64-none-elf with no regressions.
>>
>> OK?
>>
>> ~VP
>>
>> ---
>>
>> gcc/ChangeLog
>>
>> 2013-06-14  Vidya Praveen 
>>
>>  * config/aarch64/aarch64-simd.md (*aarch64_mlal_lo):
>>New pattern to support SMLAL,UMLAL instructions.
>>  * config/aarch64/aarch64-simd.md (*aarch64_mlal_hi):
>>New pattern to support SMLAL2,UMLAL2 instructions.
>>  * config/aarch64/aarch64-simd.md (*aarch64_mlsl_lo):
>>New pattern to support SMLSL,UMLSL instructions.
>>  * config/aarch64/aarch64-simd.md (*aarch64_mlsl_hi):
>>New pattern to support SMLSL2,UMLSL2 instructions.
>>  * config/aarch64/aarch64-simd.md (*aarch64_mlal): New pattern
>>to support SMLAL/UMLAL instructions for 64 bit vector modes.
>>  * config/aarch64/aarch64-simd.md (*aarch64_mlsl): New pattern
>>to support SMLSL/UMLSL instructions for 64 bit vector modes.
> 
> 
> Convention is that we say what changed in the changelog entry and write
> the justification in the covering email summary.  Therefore in instances
> like this where you are defining a new pattern in is sufficient to write
> simply.
> 
>* config/aarch64/aarch64-simd.md (*aarch64_mlal_lo): Define.
> 

I tend to prefer "New pattern." over "Define." on the grounds that it tells me 
that this is a pattern, not a constraint or some other construct.

Also, there's no need to repeat the file name each time, or put the leading '*' 
on the pattern name.  You can
also list more than one function at the same time if it has the same 
description, and use 'Likewise' when this
extends to multiple lines.

Finally, don't over-indent continuation lines.

So:

2013-06-14  Vidya Praveen 

* config/aarch64/aarch64-simd.md (aarch64_mlal_lo):
New pattern.
(aarch64_mlal_hi, aarch64_mlsl_lo): Likewise.
(aarch64_mlsl_hi, aarch64_mlal): Likewise.

etc.



Re: [AArch64] Support for SMLAL/SMLSL/UMLAL/UMLSL

2013-06-14 Thread Marcus Shawcroft

On 14/06/13 14:55, Vidya Praveen wrote:

Hello,

This patch adds support to SMLAL/SMLSL/UMLAL/UMLSL instructions and adds tests
for the same. Regression test run for aarch64-none-elf with no regressions.

OK?

~VP

---

gcc/ChangeLog

2013-06-14  Vidya Praveen 

* config/aarch64/aarch64-simd.md (*aarch64_mlal_lo):
  New pattern to support SMLAL,UMLAL instructions.
* config/aarch64/aarch64-simd.md (*aarch64_mlal_hi):
  New pattern to support SMLAL2,UMLAL2 instructions.
* config/aarch64/aarch64-simd.md (*aarch64_mlsl_lo):
  New pattern to support SMLSL,UMLSL instructions.
* config/aarch64/aarch64-simd.md (*aarch64_mlsl_hi):
  New pattern to support SMLSL2,UMLSL2 instructions.
* config/aarch64/aarch64-simd.md (*aarch64_mlal): New pattern
  to support SMLAL/UMLAL instructions for 64 bit vector modes.
* config/aarch64/aarch64-simd.md (*aarch64_mlsl): New pattern
  to support SMLSL/UMLSL instructions for 64 bit vector modes.



Convention is that we say what changed in the changelog entry and write 
the justification in the covering email summary.  Therefore in instances 
like this where you are defining a new pattern in is sufficient to write 
simply.


 * config/aarch64/aarch64-simd.md (*aarch64_mlal_lo): Define.


gcc/testsuite/ChangeLog

2013-06-14  Vidya Praveen 

* gcc.target/aarch64/vect_smlal_1.c: New file.



Otherwise this is OK.

You should apply for write access to the tree.  Follow the instruction 
on the WIKI here:


http://gcc.gnu.org/svnwrite.html#authenticated

Cheers
/Marcus