diff options
author | Johann <johannkoenig@google.com> | 2011-03-02 09:44:39 -0500 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2011-03-10 18:49:54 -0500 |
commit | 128d2c23b34dce3c24daeee5dc619f6cda93cc5c (patch) | |
tree | f11a11bfcc1fac4c12e39025a843ea46d777fe1c /build/x86-msvs/obj_int_extract.bat | |
parent | 6daacdb785f34efcf3c8600c65590199e79847d6 (diff) | |
download | libvpx-128d2c23b34dce3c24daeee5dc619f6cda93cc5c.tar libvpx-128d2c23b34dce3c24daeee5dc619f6cda93cc5c.tar.gz libvpx-128d2c23b34dce3c24daeee5dc619f6cda93cc5c.tar.bz2 libvpx-128d2c23b34dce3c24daeee5dc619f6cda93cc5c.zip |
obj_int_extract for Visual Studio
Enable extraction of assembly offsets from compiled examples in MSVS.
This will allow us to remove some stub functions from x86 assembly since
we will be able to reliably determine structure offsets at compile time.
see ARM code for examples:
vp8/encoder/arm/armv5te/
vpx_scale/arm/neon/
Change-Id: I1852dc6b56ede0bf1dddb5552196222a7c6a902f
Diffstat (limited to 'build/x86-msvs/obj_int_extract.bat')
-rw-r--r-- | build/x86-msvs/obj_int_extract.bat | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/build/x86-msvs/obj_int_extract.bat b/build/x86-msvs/obj_int_extract.bat new file mode 100644 index 000000000..1bb865331 --- /dev/null +++ b/build/x86-msvs/obj_int_extract.bat @@ -0,0 +1,15 @@ +REM Copyright (c) 2011 The WebM project authors. All Rights Reserved. +REM +REM Use of this source code is governed by a BSD-style license +REM that can be found in the LICENSE file in the root of the source +REM tree. An additional intellectual property rights grant can be found +REM in the file PATENTS. All contributing project authors may +REM be found in the AUTHORS file in the root of the source tree. +echo on + +cl /I "./" /I "%1" /nologo /c "%1/vp8/common/asm_com_offsets.c" +cl /I "./" /I "%1" /nologo /c "%1/vp8/decoder/asm_dec_offsets.c" +cl /I "./" /I "%1" /nologo /c "%1/vp8/encoder/asm_enc_offsets.c" +obj_int_extract.exe rvds "asm_com_offsets.obj" > "asm_com_offsets.asm" +obj_int_extract.exe rvds "asm_dec_offsets.obj" > "asm_dec_offsets.asm" +obj_int_extract.exe rvds "asm_enc_offsets.obj" > "asm_enc_offsets.asm" |