Add an emms instruction to vpx_subtract_block
authorAnupam Pandey <anupam.pandey@ittiam.com>
Tue, 3 Oct 2023 09:16:36 +0000 (14:46 +0530)
committerAnupam Pandey <anupam.pandey@ittiam.com>
Wed, 4 Oct 2023 05:43:05 +0000 (11:13 +0530)
This CL adds an `emms` instruction at the end of the MMX assembly
for the vpx_subtract_block function, to properly clear the register
state. This resolves a mismatch between x86 build and C only build.

BUG=webm:1816

Change-Id: I79d2947da7f587f3558a2ae17df214d2faf59e74

vpx_dsp/x86/subtract_sse2.asm

index 4273efb..e3055ab 100644 (file)
@@ -124,4 +124,5 @@ INIT_MMX
   lea                predq, [predq+pred_str*2]
   sub                rowsd, 2
   jg .loop_4
+  emms
   RET