Commit aec5487c authored by James Berry's avatar James Berry
Browse files

Use correct 32 bit comparisons for SAD breakout.

Rax updated to eax to avoid uninitialized memory
usage.

Change-Id: Iedb953f104329ede2a786fc648a47f1be2f3798a
parent 2de858b9
...@@ -112,7 +112,7 @@ sym(vp8_sad8x16_wmt): ...@@ -112,7 +112,7 @@ sym(vp8_sad8x16_wmt):
x8x16sad_wmt_loop: x8x16sad_wmt_loop:
movq rax, mm7 movq rax, mm7
cmp rax, arg(4) cmp eax, arg(4)
jg x8x16sad_wmt_early_exit jg x8x16sad_wmt_early_exit
movq mm0, QWORD PTR [rsi] movq mm0, QWORD PTR [rsi]
...@@ -173,7 +173,7 @@ sym(vp8_sad8x8_wmt): ...@@ -173,7 +173,7 @@ sym(vp8_sad8x8_wmt):
x8x8sad_wmt_loop: x8x8sad_wmt_loop:
movq rax, mm7 movq rax, mm7
cmp rax, arg(4) cmp eax, arg(4)
jg x8x8sad_wmt_early_exit jg x8x8sad_wmt_early_exit
movq mm0, QWORD PTR [rsi] movq mm0, QWORD PTR [rsi]
...@@ -282,7 +282,7 @@ sym(vp8_sad16x8_wmt): ...@@ -282,7 +282,7 @@ sym(vp8_sad16x8_wmt):
x16x8sad_wmt_loop: x16x8sad_wmt_loop:
movq rax, mm7 movq rax, mm7
cmp rax, arg(4) cmp eax, arg(4)
jg x16x8sad_wmt_early_exit jg x16x8sad_wmt_early_exit
movq mm0, QWORD PTR [rsi] movq mm0, QWORD PTR [rsi]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment