Save XMM registers in asm functions

XMM6/7 are used in these functions, and need to be saved.

Change-Id: I7270ef95b479acf29698d34c8d14bf5600a02d64
This commit is contained in:
Yunqing Wang
2010-10-28 16:59:03 -04:00
committed by John Koleszar
parent cad2164911
commit 30ba8f2ae3
2 changed files with 4 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ sym(vp8_short_walsh4x4_sse2):
push rbp
mov rbp, rsp
SHADOW_ARGS_TO_STACK 3
SAVE_XMM
GET_GOT rbx
push rsi
push rdi
@@ -143,6 +144,7 @@ sym(vp8_short_walsh4x4_sse2):
pop rdi
pop rsi
RESTORE_GOT
RESTORE_XMM
UNSHADOW_ARGS
pop rbp
ret

View File

@@ -77,6 +77,7 @@ sym(vp8_subtract_mby_sse2):
push rbp
mov rbp, rsp
SHADOW_ARGS_TO_STACK 4
SAVE_XMM
GET_GOT rbx
push rsi
push rdi
@@ -138,6 +139,7 @@ submby_loop:
pop rsi
; begin epilog
RESTORE_GOT
RESTORE_XMM
UNSHADOW_ARGS
pop rbp
ret