[x264-devel] x86inc: Utilize the shadow space on 64-bit Windows

Henrik Gramner git at videolan.org
Mon May 20 23:06:47 CEST 2013


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sat May 11 23:39:09 2013 +0200| [eefaff1128ea9eb8dcd6796957ca5e56727337b8] | committer: Jason Garrett-Glaser

x86inc: Utilize the shadow space on 64-bit Windows

Store XMM6 and XMM7 in the shadow space in functions that clobbers them.
This way we don't have to adjust the stack pointer as often,
reducing the number of instructions as well as code size.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=eefaff1128ea9eb8dcd6796957ca5e56727337b8
---

 common/x86/deblock-a.asm |   19 ++++-------
 common/x86/mc-a.asm      |    7 ++--
 common/x86/pixel-a.asm   |    2 +-
 common/x86/sad-a.asm     |   23 +++++++------
 common/x86/x86inc.asm    |   83 +++++++++++++++++++++++++---------------------
 tools/checkasm-a.asm     |    6 ++--
 6 files changed, 72 insertions(+), 68 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=eefaff1128ea9eb8dcd6796957ca5e56727337b8


More information about the x264-devel mailing list