Back to index

glibc  2.9
Defines
asm.h File Reference
#include <sgidefs.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __CAT(str1, str2)   str1str2
#define CAT(str1, str2)   __CAT(str1,str2)
#define PTR   .word
#define PTRSIZE   4
#define PTRLOG   2
#define CPRESTORE(register)
#define CPLOAD(register)
#define CPADD(register)   .cpadd register
#define SETUP_GP
#define SETUP_GPX(r)
#define SETUP_GPX_L(r, l)
#define SAVE_GP(x)   .cprestore x /* Save gp trigger t9/jalr conversion. */
#define SETUP_GP64(a, b)
#define SETUP_GPX64(a, b)
#define SETUP_GPX64_L(cp_reg, ra_save, l)
#define RESTORE_GP64
#define USE_ALT_CP(a)
#define NARGSAVE   4 /* Space for 4 argument registers must be allocated. */
#define NARGSAVE   0 /* No caller responsibilities. */
#define LEAF(symbol)
#define NESTED(symbol, framesize, rpc)
#define END(function)
#define EXPORT(symbol)
#define ABS(symbol, value)
#define PANIC(msg)
#define PRINT(string)
#define TEXT(msg)
#define TTABLE(string)
#define PREF(hint, addr)   pref hint,addr
#define PREFX(hint, addr)   prefx hint,addr
#define MOVN(rd, rs, rt)
#define MOVZ(rd, rs, rt)
#define MOVN(rd, rs, rt)
#define MOVZ(rd, rs, rt)
#define MOVN(rd, rs, rt)   movn rd,rs,rt
#define MOVZ(rd, rs, rt)   movz rd,rs,rt
#define ALSZ   15
#define ALMASK   ~15
#define SZREG   8
#define REG_S   sd
#define REG_L   ld
#define PTR_ADD   add
#define PTR_ADDI   addi
#define PTR_ADDU   add /* no u */
#define PTR_ADDIU   addi /* no u */
#define PTR_SUB   add
#define PTR_SUBI   subi
#define PTR_SUBU   sub /* no u */
#define PTR_SUBIU   sub /* no u */
#define PTR_L   lw
#define PTR_LA   la
#define PTR_S   sw
#define PTR_SLL   sll
#define PTR_SLLV   sllv
#define PTR_SRL   srl
#define PTR_SRLV   srlv
#define PTR_SRA   sra
#define PTR_SRAV   srav
#define PTR_SCALESHIFT   2
#define PTR_ADD   dadd
#define PTR_ADDI   daddi
#define PTR_ADDU   daddu
#define PTR_ADDIU   daddiu
#define PTR_SUB   dadd
#define PTR_SUBI   dsubi
#define PTR_SUBU   dsubu
#define PTR_SUBIU   dsubu
#define PTR_L   ld
#define PTR_LA   dla
#define PTR_S   sd
#define PTR_SLL   dsll
#define PTR_SLLV   dsllv
#define PTR_SRL   dsrl
#define PTR_SRLV   dsrlv
#define PTR_SRA   dsra
#define PTR_SRAV   dsrav
#define PTR_SCALESHIFT   3
#define MFC0   mfc0
#define MTC0   mtc0
#define MFC0   dmfc0
#define MTC0   dmtc0
#define MIPS_SYNC   sync

Define Documentation

#define __CAT (   str1,
  str2 
)    str1str2

Definition at line 30 of file asm.h.

#define ABS (   symbol,
  value 
)
Value:
.globl symbol;                         \
symbol        =      value

Definition at line 187 of file asm.h.

#define ALMASK   ~15

Definition at line 293 of file asm.h.

#define ALSZ   15

Definition at line 292 of file asm.h.

#define CAT (   str1,
  str2 
)    __CAT(str1,str2)

Definition at line 32 of file asm.h.

#define CPADD (   register)    .cpadd register

Definition at line 65 of file asm.h.

#define CPLOAD (   register)

Definition at line 62 of file asm.h.

#define CPRESTORE (   register)

Definition at line 61 of file asm.h.

#define END (   function)
Value:
.end   function;                    \
              .size  function,.-function

Definition at line 172 of file asm.h.

#define EXPORT (   symbol)
Value:
.globl symbol;                         \
symbol:

Definition at line 180 of file asm.h.

#define LEAF (   symbol)
Value:
.globl symbol;                         \
              .align 2;                              \
              .type  symbol,@function;               \
              .ent   symbol,0;                       \
symbol:              .frame sp,0,ra

Definition at line 151 of file asm.h.

#define MFC0   mfc0

Definition at line 470 of file asm.h.

#define MFC0   dmfc0

Definition at line 470 of file asm.h.

#define MIPS_SYNC   sync

Definition at line 487 of file asm.h.

#define MOVN (   rd,
  rs,
  rt 
)
Value:
.set   push;                       \
              .set   reorder;                    \
              beqz   rt,9f;                      \
              move   rd,rs;                      \
              .set   pop;                        \
9:

Definition at line 282 of file asm.h.

#define MOVN (   rd,
  rs,
  rt 
)
Value:
.set   push;                       \
              .set   noreorder;                  \
              bnezl  rt,9f;                      \
              move   rd,rs;                      \
              .set   pop;                        \
9:

Definition at line 282 of file asm.h.

#define MOVN (   rd,
  rs,
  rt 
)    movn rd,rs,rt

Definition at line 282 of file asm.h.

#define MOVZ (   rd,
  rs,
  rt 
)
Value:
.set   push;                       \
              .set   reorder;                    \
              bnez   rt,9f;                      \
              move   rd,rt;                      \
              .set   pop;                        \
9:

Definition at line 284 of file asm.h.

#define MOVZ (   rd,
  rs,
  rt 
)
Value:
.set   push;                       \
              .set   noreorder;                  \
              beqzl  rt,9f;                      \
              movz   rd,rs;                      \
              .set   pop;                        \
9:

Definition at line 284 of file asm.h.

#define MOVZ (   rd,
  rs,
  rt 
)    movz rd,rs,rt

Definition at line 284 of file asm.h.

#define MTC0   mtc0

Definition at line 471 of file asm.h.

#define MTC0   dmtc0

Definition at line 471 of file asm.h.

#define NARGSAVE   4 /* Space for 4 argument registers must be allocated. */

Definition at line 144 of file asm.h.

#define NARGSAVE   0 /* No caller responsibilities. */

Definition at line 144 of file asm.h.

#define NESTED (   symbol,
  framesize,
  rpc 
)
Value:
.globl symbol;                         \
              .align 2;                              \
              .type  symbol,@function;               \
              .ent   symbol,0;                       \
symbol:              .frame sp, framesize, rpc

Definition at line 161 of file asm.h.

#define PANIC (   msg)
Value:
.set   push;                       \
              .set   reorder;                        \
              la     a0,8f;                          \
              jal    panic;                          \
9:            b      9b;                             \
              .set   pop;                        \
              TEXT(msg)

Definition at line 191 of file asm.h.

#define PREF (   hint,
  addr 
)    pref hint,addr

Definition at line 236 of file asm.h.

#define PREFX (   hint,
  addr 
)    prefx hint,addr

Definition at line 238 of file asm.h.

#define PRINT (   string)
Value:
.set   push;                       \
              .set   reorder;                        \
              la     a0,8f;                          \
              jal    printk;                         \
              .set   pop;                        \
              TEXT(string)

Definition at line 203 of file asm.h.

#define PTR   .word

Definition at line 42 of file asm.h.

#define PTR_ADD   add

Definition at line 439 of file asm.h.

#define PTR_ADD   dadd

Definition at line 439 of file asm.h.

#define PTR_ADDI   addi

Definition at line 440 of file asm.h.

#define PTR_ADDI   daddi

Definition at line 440 of file asm.h.

#define PTR_ADDIU   addi /* no u */

Definition at line 442 of file asm.h.

#define PTR_ADDIU   daddiu

Definition at line 442 of file asm.h.

#define PTR_ADDU   add /* no u */

Definition at line 441 of file asm.h.

#define PTR_ADDU   daddu

Definition at line 441 of file asm.h.

#define PTR_L   lw

Definition at line 447 of file asm.h.

#define PTR_L   ld

Definition at line 447 of file asm.h.

#define PTR_LA   la

Definition at line 448 of file asm.h.

#define PTR_LA   dla

Definition at line 448 of file asm.h.

#define PTR_S   sw

Definition at line 449 of file asm.h.

#define PTR_S   sd

Definition at line 449 of file asm.h.

#define PTR_SCALESHIFT   2

Definition at line 457 of file asm.h.

#define PTR_SCALESHIFT   3

Definition at line 457 of file asm.h.

#define PTR_SLL   sll

Definition at line 450 of file asm.h.

#define PTR_SLL   dsll

Definition at line 450 of file asm.h.

#define PTR_SLLV   sllv

Definition at line 451 of file asm.h.

#define PTR_SLLV   dsllv

Definition at line 451 of file asm.h.

#define PTR_SRA   sra

Definition at line 454 of file asm.h.

#define PTR_SRA   dsra

Definition at line 454 of file asm.h.

#define PTR_SRAV   srav

Definition at line 455 of file asm.h.

#define PTR_SRAV   dsrav

Definition at line 455 of file asm.h.

#define PTR_SRL   srl

Definition at line 452 of file asm.h.

#define PTR_SRL   dsrl

Definition at line 452 of file asm.h.

#define PTR_SRLV   srlv

Definition at line 453 of file asm.h.

#define PTR_SRLV   dsrlv

Definition at line 453 of file asm.h.

#define PTR_SUB   add

Definition at line 443 of file asm.h.

#define PTR_SUB   dadd

Definition at line 443 of file asm.h.

#define PTR_SUBI   subi

Definition at line 444 of file asm.h.

#define PTR_SUBI   dsubi

Definition at line 444 of file asm.h.

#define PTR_SUBIU   sub /* no u */

Definition at line 446 of file asm.h.

#define PTR_SUBIU   dsubu

Definition at line 446 of file asm.h.

#define PTR_SUBU   sub /* no u */

Definition at line 445 of file asm.h.

#define PTR_SUBU   dsubu

Definition at line 445 of file asm.h.

#define PTRLOG   2

Definition at line 44 of file asm.h.

#define PTRSIZE   4

Definition at line 43 of file asm.h.

#define REG_L   ld

Definition at line 317 of file asm.h.

#define REG_S   sd

Definition at line 316 of file asm.h.

#define RESTORE_GP64

Definition at line 99 of file asm.h.

#define SAVE_GP (   x)    .cprestore x /* Save gp trigger t9/jalr conversion. */

Definition at line 94 of file asm.h.

#define SETUP_GP
Value:
.set noreorder;                           \
              .cpload $25;                       \
              .set reorder

Definition at line 71 of file asm.h.

#define SETUP_GP64 (   a,
  b 
)

Definition at line 96 of file asm.h.

#define SETUP_GPX (   r)
Value:
.set noreorder;                           \
              move r, $31;   /* Save old ra.  */ \
              bal 10f; /* Find addr of cpload.  */      \
              nop;                               \
10:                                              \
              .cpload $31;                       \
              move $31, r;                       \
              .set reorder

Definition at line 76 of file asm.h.

#define SETUP_GPX64 (   a,
  b 
)

Definition at line 97 of file asm.h.

#define SETUP_GPX64_L (   cp_reg,
  ra_save,
  l 
)

Definition at line 98 of file asm.h.

#define SETUP_GPX_L (   r,
  l 
)
Value:
.set noreorder;                           \
              move r, $31;   /* Save old ra.  */ \
              bal l;   /* Find addr of cpload.  */      \
              nop;                               \
l:                                               \
              .cpload $31;                       \
              move $31, r;                       \
              .set reorder

Definition at line 85 of file asm.h.

#define SZREG   8

Definition at line 303 of file asm.h.

#define TEXT (   msg)
Value:
.data;                                  \
8:            .asciiz       msg;                            \
              .previous;

Definition at line 211 of file asm.h.

#define TTABLE (   string)
Value:
.text;                                  \
              .word  1f;                             \
              .previous;                              \
              .data;                                  \
1:            .asciz string;                         \
              .previous

Definition at line 219 of file asm.h.

#define USE_ALT_CP (   a)

Definition at line 100 of file asm.h.