public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: HongWoo Lee <hongwoo7@gmail•com>
To: linuxppc-dev@lists•ozlabs.org
Subject: Simple question about powerpc asm.
Date: Sat, 18 Jul 2009 18:24:40 +0900	[thread overview]
Message-ID: <4A6194D8.9090602@gmail.com> (raw)

Hi all,

I was reading kernel level source and found this macro.

#define SET_REG_TO_LABEL(reg, label)                \
    lis     reg,(label)@highest;                    \
    ori     reg,reg,(label)@higher;                 \
    rldicr  reg,reg,32,31;                          \
    oris    reg,reg,(label)@h;                      \
    ori     reg,reg,(label)@l;

But, I couldn't find any clue related with @highest, @higher, @h, @l.

If anybody know about this directives(?), please explain it.
Or just let me know the keyword, so I can search with those keyword.

Thanks in advance.

HongWoo.

             reply	other threads:[~2009-07-18  9:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18  9:24 HongWoo Lee [this message]
2009-07-18 10:31 ` Simple question about powerpc asm Valentine
2009-07-18 12:54   ` Wolfgang Denk
2009-07-18 13:55     ` Valentine

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=4A6194D8.9090602@gmail.com \
    --to=hongwoo7@gmail$(echo .)com \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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