[FFmpeg-cvslog] avutil/mips: header asmdefs.h add some PTR_ macros for loongson

ZhouXiaoyong git at videolan.org
Sat May 14 04:48:56 CEST 2016


ffmpeg | branch: master | ZhouXiaoyong <zhouxiaoyong at loongson.cn> | Fri May 13 18:02:28 2016 +0800| [d680ab1c46b6229e4289daec927402d72fb2c94d] | committer: Michael Niedermayer

avutil/mips: header asmdefs.h add some PTR_ macros for loongson

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d680ab1c46b6229e4289daec927402d72fb2c94d
---

 libavutil/mips/asmdefs.h |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/libavutil/mips/asmdefs.h b/libavutil/mips/asmdefs.h
index fdf82a0..7481199 100644
--- a/libavutil/mips/asmdefs.h
+++ b/libavutil/mips/asmdefs.h
@@ -28,19 +28,31 @@
 #define AVUTIL_MIPS_ASMDEFS_H
 
 #if defined(_ABI64) && _MIPS_SIM == _ABI64
+# define mips_reg       int64_t
 # define PTRSIZE        " 8 "
 # define PTRLOG         " 3 "
 # define PTR_ADDU       "daddu "
 # define PTR_ADDIU      "daddiu "
+# define PTR_ADDI       "daddi "
 # define PTR_SUBU       "dsubu "
 # define PTR_L          "ld "
+# define PTR_S          "sd "
+# define PTR_SRA        "dsra "
+# define PTR_SRL        "dsrl "
+# define PTR_SLL        "dsll "
 #else
+# define mips_reg       int32_t
 # define PTRSIZE        " 4 "
 # define PTRLOG         " 2 "
 # define PTR_ADDU       "addu "
 # define PTR_ADDIU      "addiu "
+# define PTR_ADDI       "addi "
 # define PTR_SUBU       "subu "
 # define PTR_L          "lw "
+# define PTR_S          "sw "
+# define PTR_SRA        "sra "
+# define PTR_SRL        "srl "
+# define PTR_SLL        "sll "
 #endif
 
 #endif /* AVCODEC_MIPS_ASMDEFS_H */



More information about the ffmpeg-cvslog mailing list