67dfae9c5f
One can avoid one scratch register in MEDIAN_ABS_ACC (by clobbering topleft which isn't needed lateron). Furthermore, the earlier code requested more registers in cglobal than it actually used: median_sad8 only needs seven registers, median_sad16 only 11. One of these registers is actually unclobbered (read-only), so median_sad8 does not need to save and restore and non-volatile registers on Win64. Furthermore, the restriction of median_sad8 to x64 can now be lifted. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>