History

tests/checkasm/videodsp: Don't use declare_func_emms

It allows the callee to clobber the MMX state, yet since 1e3dc705dfb9546f0f7ff4479d20baeb4bdb6187 this is no longer done. So use the stricter declare_func instead.

Andreas Rheinhardt committed 1 year ago

Commit 9f0970e1 parent c9414331 file · +6 −7Browse files

Unified · Split

tests/checkasm/videodsp.c+6−7
@@ -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); \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t