It allows the callee to clobber the MMX state, yet since 1e3dc705dfb9546f0f7ff4479d20baeb4bdb6187 this is no longer done. So use the stricter declare_func instead.
Unified · Split
| @@ -66,13 +66,12 @@ · 65 unmodified lines | |||
| 66 | do { \ | 66 | do { \ |
| 67 | LOCAL_ALIGNED_16(type, dst0, [64 * 64]); \ | 67 | LOCAL_ALIGNED_16(type, dst0, [64 * 64]); \ |
| 68 | LOCAL_ALIGNED_16(type, dst1, [64 * 64]); \ | 68 | LOCAL_ALIGNED_16(type, dst1, [64 * 64]); \ |
| 69 | declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, \ | 69 | declare_func(void, type *dst, const type *src, \ |
| 70 | void, type *dst, const type *src, \ | 70 | ptrdiff_t dst_linesize, \ |
| 71 | ptrdiff_t dst_linesize, \ | 71 | ptrdiff_t src_linesize, \ |
| 72 | ptrdiff_t src_linesize, \ | 72 | int block_w, int block_h, \ |
| 73 | int block_w, int block_h, \ | 73 | int src_x, int src_y, \ |
| 74 | int src_x, int src_y, \ | 74 | int src_w, int src_h); \ |
| 75 | int src_w, int src_h); \ | ||
| 76 | check_emu_edge_size(type, 16, 1, 64, 64); \ | 75 | check_emu_edge_size(type, 16, 1, 64, 64); \ |
| 77 | check_emu_edge_size(type, 16, 16, 64, 64); \ | 76 | check_emu_edge_size(type, 16, 16, 64, 64); \ |
| 78 | check_emu_edge_size(type, 64, 64, 64, 64); \ | 77 | check_emu_edge_size(type, 64, 64, 64, 64); \ |