git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH] Optimized PowerPC SHA1 generation for Darwin (OS X)

From
Karl Hasselström <kha@treskal.com>
Date
Apr 10, 2007, 13:00 UTC
Message-ID
<20070410130050.GA10104@diana.vm.bytemark.co.uk>
In-Reply-To
<20070410114507.GA28728@regex.yaph.org>
On 2007-04-10 13:45:07 +0200, Arjen Laarhoven wrote:
Show 13 quoted lines
> On Tue, Apr 10, 2007 at 11:48:01AM +0200, Karl Hasselström wrote:
>
> > On 2007-04-08 22:09:39 +0200, Arjen Laarhoven wrote:
> >
> > >  ppc/{sha1ppc.S => sha1ppc.in.S} |  110 +++++++++++++++++++-------------------
> >
> > Wouldn't it be prettier if this filename was .S.in instead of
> > .in.S? Additional file suffixes are usually added at the end (e.g.
> > .tar.gz), and it makes more sense too.
>
> Using the .S suffix makes gcc automatically do the right thing.
> .S.in requires an extra '-x assembler-with-cpp' option to gcc. Of
> course, it's trivial fix.

I just read the Makefile changes again, a bit slower this time, and noticed that you _first_ feed the .in.S file to gcc, and _then_ to the perl script, instead of the other way around like I was expecting. With that arrangement, your naming makes sense, since it reflects which file format is contained in which. Sorry for the noise.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Arjen Laarhoven
Message 7 of 7 in “Optimized PowerPC SHA1 generation for Darwin (OS X)”
  1. Optimized PowerPC SHA1 generation for Darwin (OS X)Arjen Laarhoven, Apr 6, 2007
  2. Junio C HamanoApr 7, 2007
  3. Linus TorvaldsApr 7, 2007
  4. Arjen LaarhovenApr 8, 2007
  5. Karl HasselströmApr 10, 2007
  6. Arjen LaarhovenApr 10, 2007
  7. Karl HasselströmApr 10, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.