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_<su>mlsl<mode>): 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_<su>mlal_lo<mode>): 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 <vidyaprav...@arm.com>

        * config/aarch64/aarch64-simd.md (aarch64_<su>mlal_lo<mode>):
        New pattern.
        (aarch64_<su>mlal_hi<mode>, aarch64_<su>mlsl_lo<mode>): Likewise.
        (aarch64_<su>mlsl_hi<mode>, aarch64_<su>mlal<mode>): Likewise.

etc.

Thanks Marcus/Richard for the recommendations. After changes:

gcc/ChangeLog

2013-06-14  Vidya Praveen <vidyaprav...@arm.com>

        * config/aarch64/aarch64-simd.md (aarch64_<su>mlal_lo<mode>):
        New pattern.
        (aarch64_<su>mlal_hi<mode>, aarch64_<su>mlsl_lo<mode>): Likewise.
        (aarch64_<su>mlsl_hi<mode>, aarch64_<su>mlal<mode>): Likewise.
        (aarch64_<su>mlsl<mode>): Likewise.

gcc/testsuite/ChangeLog

2013-06-14  Vidya Praveen <vidyaprav...@arm.com>

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

~VP

Reply via email to