Advertisement
Guest User

Untitled

a guest
Jun 17th, 2014
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. INIT_XMM sse2
  2. ; void ff_hevc_idct16_dc_add_8_mmxext(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride)
  3. cglobal hevc_idct16_dc_add_8, 3, 4, 0
  4. movsx r3, word [r1]
  5. DC_ADD_INIT r3, r2
  6. DC_ADD_OP mova, r0, r2, r3
  7. lea r0, [r0+r2*4]
  8. DC_ADD_OP mova, r0, r2, r3
  9. lea r0, [r0+r2*4]
  10. DC_ADD_OP mova, r0, r2, r3
  11. lea r0, [r0+r2*4]
  12. DC_ADD_OP mova, r0, r2, r3
  13. RET
  14.  
  15. %if HAVE_AVX2_EXTERNAL
  16. INIT_YMM avx2
  17. ; void ff_hevc_idct16_dc_add_8_mmxext(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride)
  18. cglobal hevc_idct32_dc_add_8, 3, 4, dst, coeffs, stride
  19. movsx r3, word [r1]
  20. DC_ADD_INIT_AVX2 r3, r2
  21. DC_ADD_OP movu, r0, r2, r3,
  22. %rep 7
  23. lea r0, [r0+r2*4]
  24. DC_ADD_OP movu, r0, r2, r3
  25. %endrep
  26. RET
  27. %endif ;HAVE_AVX2_EXTERNAL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement