revert-icl-fixes.patch 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Index: libmpcodecs/vf_fspp.c
  2. ===================================================================
  3. --- libmpcodecs/vf_fspp.c (revision 37183)
  4. +++ libmpcodecs/vf_fspp.c (revision 37181)
  5. @@ -1598,10 +1598,6 @@
  6. : "+S"(data), "+D"(output), "+c"(cnt), "=o"(temps)
  7. : "d"(thr_adr)
  8. - NAMED_CONSTRAINTS_ADD(ff_MM_FIX_0_707106781,MM_2,MM_FIX_1_414213562_A,MM_FIX_1_414213562,MM_FIX_0_382683433,
  9. - ff_MM_FIX_0_541196100,MM_FIX_1_306562965,MM_FIX_0_847759065)
  10. - NAMED_CONSTRAINTS_ADD(MM_FIX_0_566454497,MM_FIX_0_198912367,MM_FIX_2_613125930,MM_FIX_1_847759065,
  11. - MM_FIX_1_082392200)
  12. : "%"REG_a
  13. );
  14. }
  15. @@ -1871,8 +1867,6 @@
  16. : "+S"(workspace), "+D"(output_adr), "+c"(cnt), "=o"(temps)
  17. : "a"(output_stride*sizeof(short))
  18. - NAMED_CONSTRAINTS_ADD(MM_FIX_1_414213562_A,MM_FIX_2_613125930,MM_FIX_1_847759065,MM_FIX_1_082392200,
  19. - MM_FIX_1_414213562,MM_DESCALE_RND)
  20. : "%"REG_d
  21. );
  22. }
  23. @@ -1980,10 +1974,10 @@
  24. "movd (%%"REG_S",%%"REG_a",2), %%mm3 \n\t" //5
  25. "paddw %%mm4, %%mm1 \n\t"
  26. - "movq %%mm5, %3 \n\t" //t7
  27. + "movq %%mm5, 0*8+%3 \n\t" //t7
  28. "punpcklbw %%mm7, %%mm3 \n\t"
  29. - "movq %%mm6, %4 \n\t" //t6
  30. + "movq %%mm6, 1*8+%3 \n\t" //t6
  31. "movq %%mm2, %%mm4 \n\t"
  32. "movd (%%"REG_S"), %%mm5 \n\t" //3
  33. @@ -2029,7 +2023,7 @@
  34. "psubw %%mm1, %%mm5 \n\t" //d1
  35. "movq %%mm0, %%mm6 \n\t"
  36. - "movq %4, %%mm1 \n\t"
  37. + "movq 1*8+%3, %%mm1 \n\t"
  38. "punpcklwd %%mm5, %%mm0 \n\t"
  39. "punpckhwd %%mm5, %%mm6 \n\t"
  40. @@ -2053,7 +2047,7 @@
  41. "movq %%mm7, "DCTSIZE_S"*3*2(%%"REG_D") \n\t"
  42. "psllw $2, %%mm3 \n\t" //t10
  43. - "movq %3, %%mm2 \n\t"
  44. + "movq 0*8+%3, %%mm2 \n\t"
  45. "psllw $2, %%mm4 \n\t" //t11
  46. "pmulhw "MANGLE(MM_FIX_0_707106781)", %%mm4 \n\t" //z3
  47. @@ -2116,9 +2110,8 @@
  48. "dec %%"REG_c" \n\t"
  49. "jnz 6b \n\t"
  50. - : "+S"(pixels), "+D"(data), "+c"(cnt), "=o"(temps), "=o"(temps[1])
  51. + : "+S"(pixels), "+D"(data), "+c"(cnt), "=o"(temps)
  52. : "a"(line_size)
  53. - NAMED_CONSTRAINTS_ADD(ff_MM_FIX_0_707106781,ff_MM_FIX_0_541196100,MM_FIX_0_382683433,MM_FIX_1_306562965)
  54. : "%"REG_d);
  55. }