• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

libavcodec/alpha/regdef.h

Go to the documentation of this file.
00001 /*
00002  * Alpha optimized DSP utils
00003  * copyright (c) 2002 Falk Hueffner <falk@debian.org>
00004  *
00005  * This file is part of FFmpeg.
00006  *
00007  * FFmpeg is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * FFmpeg is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with FFmpeg; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00020  */
00021 
00022 /* Some BSDs don't seem to have regdef.h... sigh  */
00023 #ifndef AVCODEC_ALPHA_REGDEF_H
00024 #define AVCODEC_ALPHA_REGDEF_H
00025 
00026 #define v0      $0      /* function return value */
00027 
00028 #define t0      $1      /* temporary registers (caller-saved) */
00029 #define t1      $2
00030 #define t2      $3
00031 #define t3      $4
00032 #define t4      $5
00033 #define t5      $6
00034 #define t6      $7
00035 #define t7      $8
00036 
00037 #define s0      $9      /* saved-registers (callee-saved registers) */
00038 #define s1      $10
00039 #define s2      $11
00040 #define s3      $12
00041 #define s4      $13
00042 #define s5      $14
00043 #define s6      $15
00044 #define fp      s6      /* frame-pointer (s6 in frame-less procedures) */
00045 
00046 #define a0      $16     /* argument registers (caller-saved) */
00047 #define a1      $17
00048 #define a2      $18
00049 #define a3      $19
00050 #define a4      $20
00051 #define a5      $21
00052 
00053 #define t8      $22     /* more temps (caller-saved) */
00054 #define t9      $23
00055 #define t10     $24
00056 #define t11     $25
00057 #define ra      $26     /* return address register */
00058 #define t12     $27
00059 
00060 #define pv      t12     /* procedure-variable register */
00061 #define AT      $at     /* assembler temporary */
00062 #define gp      $29     /* global pointer */
00063 #define sp      $30     /* stack pointer */
00064 #define zero    $31     /* reads as zero, writes are noops */
00065 
00066 #endif /* AVCODEC_ALPHA_REGDEF_H */

Generated on Fri Sep 16 2011 17:17:33 for FFmpeg by  doxygen 1.7.1