Simple question about powerpc asm.

HongWoo Lee hongwoo7 at gmail.com
Sat Jul 18 19:24:40 EST 2009


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.


More information about the Linuxppc-dev mailing list