[FFmpeg-devel] [PATCH v2 0/4] mips cleanups and port to mips64

James Cowgill james410 at cowgill.org.uk
Thu Mar 5 18:40:12 CET 2015


Hi,

This is the second version of the mips patches without the ones which
were already accepted.

Changes:
 - Keep mips32r2 in the list of configure options so it doesn't break
   anything (although now it's a no op).
 - Drop float dsp patch and just do the normal 64-bit porting.
   This would be good to do properly in generic code at some point. I have
   a feeling that using restrict in the way I did could result in undefined
   behavior in certain cases though.
 - Move asmdefs.h to libavutil/mips to allow for the above change.
 - Rebase the 64-bit porting and fix the conflicts.
 - Add entry in the changelog for the mips 64-bit port.

Thanks,
James

James Cowgill (4):
  mips/aacdec: remove uses of mips32r2 specific ext instructions
  configure, mips: remove MIPS32R2, merging it with MIPSFPU
  mips: port optimizations to mips n64
  changelog: add mips 64-bit port

 Changelog                                 |  1 +
 Makefile                                  |  2 +-
 arch.mak                                  |  1 -
 configure                                 | 18 ++++++---
 libavcodec/mips/aacdec_mips.c             | 21 ++++++-----
 libavcodec/mips/aacdec_mips.h             | 58 ++++++++++++++--------------
 libavcodec/mips/aacpsdsp_mips.c           | 43 ++++++++++-----------
 libavcodec/mips/aacpsy_mips.h             |  6 ++-
 libavcodec/mips/aacsbr_mips.c             | 53 +++++++++++++-------------
 libavcodec/mips/aacsbr_mips.h             | 17 +++++----
 libavcodec/mips/ac3dsp_mips.c             | 63 ++++++++++++++++---------------
 libavcodec/mips/acelp_filters_mips.c      | 13 ++++---
 libavcodec/mips/acelp_vectors_mips.c      |  7 ++--
 libavcodec/mips/celp_filters_mips.c       | 13 ++++---
 libavcodec/mips/celp_math_mips.c          |  5 ++-
 libavcodec/mips/compute_antialias_float.h |  4 +-
 libavcodec/mips/fft_mips.c                | 13 ++++---
 libavcodec/mips/fmtconvert_mips.c         |  6 +--
 libavcodec/mips/lsp_mips.h                |  6 ++-
 libavcodec/mips/mpegaudiodsp_mips_fixed.c | 11 +++---
 libavcodec/mips/mpegaudiodsp_mips_float.c | 25 ++++++------
 libavcodec/mips/sbrdsp_mips.c             | 45 +++++++++++-----------
 libavutil/mips/asmdefs.h                  | 48 +++++++++++++++++++++++
 libavutil/mips/float_dsp_mips.c           | 21 ++++++-----
 24 files changed, 289 insertions(+), 211 deletions(-)
 create mode 100644 libavutil/mips/asmdefs.h

-- 
2.1.4



More information about the ffmpeg-devel mailing list