unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Zack Weinberg <zackw@panix.com>
To: "Martin Liška" <mliska@suse.cz>
Cc: Joseph Myers <joseph@codesourcery.com>,
	GNU C Library <libc-alpha@sourceware.org>
Subject: Re: [PATCH] Add new Fortran vector math header file.
Date: Wed, 20 Feb 2019 08:05:31 -0500	[thread overview]
Message-ID: <CAKCAbMjO9PL6YHrKOsEyyEat_X+Jek2Cwnm5ZLtf2nkN0LEAFw@mail.gmail.com> (raw)
In-Reply-To: <08214004-67b7-ce24-07ec-3cd685c65038@suse.cz>

On Wed, Feb 20, 2019 at 4:43 AM Martin Liška <mliska@suse.cz> wrote:
> On 2/19/19 8:14 PM, Zack Weinberg wrote:
> > My first reaction is to wonder whether math-vector-fortran.h should
> > have an extension other than .h.  I don't know what conventions there
> > are for this sort of thing in Fortran, but if it could have some other
> > extension then it would be easy to exclude it from this test in the
> > makefiles.  Another possibility is to put an Emacs-style "mode"
> > annotation on the first line of the file:  -*- f90 -*- which I could
> > make my test program recognize and skip the file.
>
> Hi.
>
> I prefer to do the annotation instead of changing the file extension.
> Can you please verify it's correct in the attached patch?

Yes, these annotations are correct.  You don't have to put them on a
line by themselves, though,

+! Platform-specific Fortran SIMD declarations of math functions. -*- f90 -*-

would also work.  As long as I'm looking at this patch, I have two
editorial notes:

In both new files, "Platform-specific Fortran SIMD declarations of
math functions" would be clearer with different word order: suggest
"Platform-specific declarations of SIMD math functions for Fortran."

In the generic file, "Get default empty builtin definitiones." has a
typo ("definitiones" should be "definitions"), and having a sentence
starting with "Get" on the last line of the file makes it look like
there's something missing.  Suggest instead "No SIMD math functions
are available for this platform."

zw

  reply	other threads:[~2019-02-20 13:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18 14:31 [PATCH] Add new Fortran vector math header file Martin Liška
2019-02-18 17:55 ` Joseph Myers
2019-02-19  9:18   ` Martin Liška
2019-02-19 17:59     ` Joseph Myers
2019-02-19 19:14       ` Zack Weinberg
2019-02-20  9:43         ` Martin Liška
2019-02-20 13:05           ` Zack Weinberg [this message]
2019-02-20 13:52             ` Martin Liška
2019-02-26 17:56               ` [PATCH] Fix location where math-vector-fortran.h is installed Martin Liška
2019-02-26 18:05                 ` Joseph Myers
2019-02-26 18:30                   ` Martin Liška
2019-02-26 21:16                     ` Florian Weimer
2019-02-26 21:41                       ` Zack Weinberg
2019-02-27  8:09                         ` Martin Liška
2019-02-27 10:12                           ` Florian Weimer
2019-02-27 10:36                             ` Martin Liška
2019-02-27 11:30                           ` Andreas Schwab
2019-02-27 11:53                             ` Martin Liška
2019-02-27 15:00                           ` Zack Weinberg
2019-02-28 13:18                             ` Martin Liška
2019-02-28 13:30                               ` Zack Weinberg
2019-02-28 13:32                                 ` Florian Weimer
2019-03-01  9:31                                   ` Martin Liška
2019-03-01 22:30                                     ` Steve Ellcey
2019-03-05 12:03                                     ` Martin Liška
2019-03-06 21:13                                       ` Joseph Myers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/libc/involved.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKCAbMjO9PL6YHrKOsEyyEat_X+Jek2Cwnm5ZLtf2nkN0LEAFw@mail.gmail.com \
    --to=zackw@panix.com \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=mliska@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).