Browse Source

avcodec/mips/h264dsp_mmi: Version 2 of the optimizations for loongson mmi

1. no longer use the register names directly and optimized code format
2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator
3. optimize some unaligned loads and stores
4. use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
ZhouXiaoyong Michael Niedermayer 9 years ago
parent
commit
af3e944e7e
1 changed files with 2451 additions and 2127 deletions
  1. +2451
    -2127
      libavcodec/mips/h264dsp_mmi.c

+ 2451
- 2127
libavcodec/mips/h264dsp_mmi.c
File diff suppressed because it is too large
View File


Loading…
Cancel
Save