OSDN Git Service

x86: checkasm: check for or handle missing cleanup after MMX instructions
authorJanne Grunau <janne-libav@jannau.net>
Fri, 11 Dec 2015 13:06:38 +0000 (14:06 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Mon, 21 Dec 2015 16:40:18 +0000 (17:40 +0100)
commit711781d7a1714ea4eb0217eb1ba04811978c43d1
tree61c7061012c47856da343be6bedee4f5f0784ccd
parentcc29d96d5a379dbcf2649947d884c202c2a52767
x86: checkasm: check for or handle missing cleanup after MMX instructions

Not every asm routine is expected clear the MMX state after returning.
It is however a requisite for testing floating point code in checkasm.
Annotate functions requiring cleanup with declare_func_emms() and issue
emms after the call. The remaining functions are checked for having  a
cleared MMX state after return.
tests/checkasm/checkasm.h
tests/checkasm/h264pred.c
tests/checkasm/h264qpel.c
tests/checkasm/x86/checkasm.asm