|
|
|
@@ -2240,10 +2240,6 @@ static void RENAME(hyscale_fast)(SwsContext *c, int16_t *dst, |
|
|
|
#if defined(PIC) |
|
|
|
DECLARE_ALIGNED(8, uint64_t, ebxsave); |
|
|
|
#endif |
|
|
|
// HACK: gcc 4.6 no longer decrements esp, |
|
|
|
// use this to make it reserve space for the call |
|
|
|
// return address |
|
|
|
void *dummy; |
|
|
|
|
|
|
|
__asm__ volatile( |
|
|
|
#if defined(PIC) |
|
|
|
@@ -2295,7 +2291,6 @@ static void RENAME(hyscale_fast)(SwsContext *c, int16_t *dst, |
|
|
|
#if defined(PIC) |
|
|
|
,"m" (ebxsave) |
|
|
|
#endif |
|
|
|
,"m" (dummy) |
|
|
|
: "%"REG_a, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_D |
|
|
|
#if !defined(PIC) |
|
|
|
,"%"REG_b |
|
|
|
@@ -2317,10 +2312,6 @@ static void RENAME(hcscale_fast)(SwsContext *c, int16_t *dst1, int16_t *dst2, |
|
|
|
#if defined(PIC) |
|
|
|
DECLARE_ALIGNED(8, uint64_t, ebxsave); |
|
|
|
#endif |
|
|
|
// HACK: gcc 4.6 no longer decrements esp, |
|
|
|
// use this to make it reserve space for the call |
|
|
|
// return address |
|
|
|
void *dummy; |
|
|
|
|
|
|
|
__asm__ volatile( |
|
|
|
#if defined(PIC) |
|
|
|
@@ -2360,7 +2351,6 @@ static void RENAME(hcscale_fast)(SwsContext *c, int16_t *dst1, int16_t *dst2, |
|
|
|
#if defined(PIC) |
|
|
|
,"m" (ebxsave) |
|
|
|
#endif |
|
|
|
,"m" (dummy) |
|
|
|
: "%"REG_a, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_D |
|
|
|
#if !defined(PIC) |
|
|
|
,"%"REG_b |
|
|
|
|