public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [MIPS] cpu/mips/cache.S: Introduce NESTED(), LEAF() and END()
Date: Tue, 18 Mar 2008 09:40:49 +0900	[thread overview]
Message-ID: <47DF0F91.3020805@ruby.dti.ne.jp> (raw)
In-Reply-To: <20080317211228.A4171246C5@gemini.denx.de>

Wolfgang Denk wrote:
> In message <47DE8444.3060603@ruby.dti.ne.jp> you wrote:
>> These macros have been widely used by MIPS assemblers, and of course
>> make codes more readable and easily maintainable.
> 
> I have to admit  that  for  me  the  resulting  code  is  NOT  better
> readable.  Indead of just reading a single source file, I now have to
> look up a header file for a number of macros.

You need to look up a header file, true. But these macros are worth
doing so.

> Speaking for myself, I don't see an improvement.

as can be seen from macro definitions, they specify some more
information ecplicitly; alignment, type of symbols, stack frame info
which helps generating debug info.

These macros or their variants have been used in SGI or Algorithmics
early MIPS programming, PMON, YAMON and of course Linux. They are good
helper for MIPS assemblers, so I hope get them in.

  Shinya

      reply	other threads:[~2008-03-18  0:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17 14:46 [U-Boot-Users] [MIPS] cpu/mips/cache.S: Introduce NESTED(), LEAF() and END() Shinya Kuribayashi
2008-03-17 21:12 ` Wolfgang Denk
2008-03-18  0:40   ` Shinya Kuribayashi [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=47DF0F91.3020805@ruby.dti.ne.jp \
    --to=skuribay@ruby.dti.ne.jp \
    --cc=u-boot@lists.denx.de \
    /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