mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "Sidney Manning" <sidneym@codeaurora.org>
To: <musl@lists.openwall.com>
Subject: RE: Support for .S files
Date: Mon, 28 Sep 2015 08:17:14 -0500	[thread overview]
Message-ID: <032001d0f9ef$fe8b5af0$fba210d0$@codeaurora.org> (raw)
In-Reply-To: <20150925185656.GN17773@brightrain.aerifal.cx>

> On Fri, Sep 25, 2015 at 01:52:26PM -0500, Sidney Manning wrote:
> > Clang and gcc do not invoke the preprocessor on files with a lowercase
> > .s suffix.
> >
> > The following addition would permit uppercase .S files.
> 
> The intention was to avoid using the preprocessor in asm and having it
> become #ifdef hell. This could be revisited (especially now as part of the
arch
> deduplication/refactoring) but there should first be some discussion of
the
> motivation (what you want to achieve with it).

I was experimenting with some optimized assembly and it substituted #defines
in place of register names.  Think, "#define length r2" and such making the
resulting assembly more readable.  I had made some missteps with the
Makefile because the files didn't get picked up; only later did I see that
the pattern wasn't in the Makefile.


Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation



      reply	other threads:[~2015-09-28 13:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-25 18:52 Sidney Manning
2015-09-25 18:56 ` Rich Felker
2015-09-28 13:17   ` Sidney Manning [this message]

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

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

  git send-email \
    --in-reply-to='032001d0f9ef$fe8b5af0$fba210d0$@codeaurora.org' \
    --to=sidneym@codeaurora.org \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).