Displaying 4 results from an estimated 4 matches for "get_eip0".
2004 Sep 10
3
patch
...e last iteration
inc edx ; compensate for the shorter opcode on the last iteration
@@ -409,6 +418,7 @@
.loop2_end:
.end:
+ pop ebx
pop edi
pop esi
ret
@@ -804,7 +814,11 @@
.i_32:
sub edi, esi
neg eax
- lea edx, [eax + eax * 8 + .jumper_0]
+ lea edx, [eax + eax * 8 + .jumper_0 - .get_eip0]
+ call .get_eip0
+.get_eip0:
+ pop eax
+ add edx, eax
inc edx
mov eax, [esp + 28] ; eax = qlp_coeff[]
xor ebp, ebp
@@ -1203,7 +1217,11 @@
.x87_32:
sub esi, edi
neg eax
- lea edx, [eax + eax * 8 + .jumper_0]
+ lea edx, [eax + eax * 8 + .jumper_0 - .get_eip0]
+ call .get_eip0
+.get_eip0...
2004 Sep 10
5
last minute changes
--- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote:
> On Wed, Nov 14, 2001 at 09:37:47AM -0800, Josh Coalson wrote:
> > cpu support for 3dnow and sse can be easily detected at
> > runtime. I turned off 3dnow by default because it is
> > implicated in some crashes.
>
> Hmm, i never have any crash. Can i get more informations about these
> crases? Or you
2014 Jan 03
1
PATCH: match calls and returns
.....you must make sure that all calls
are matched with returns. Never jump out of a subroutine without
a return and never use a return as an indirect jump."
(see paragraph 3.15 in microarchitecture.pdf and
examples 3.5a and 3.5b in optimizing_assembly.pdf)
Basically this patch replaces
call .get_eip0
.get_eip0:
pop eax
with
call .mov_eip_to_eax
.get_eip0:
and
.mov_eip_to_eax:
mov eax, [esp]
ret
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_eip.diff
Type: application/octet-stream
Size: 2054 bytes
Desc: not available
Url : http://lists.x...
2014 Jan 03
2
PATCH: asm versions for two _wide() functions
As I wrote earlier, GCC generates slow ia32 code for FLAC__lpc_compute_residual_from_qlp_coefficients_wide()
and FLAC__lpc_restore_signal_wide(). So 24-bit encoding/decoding is slower
for GCC compile than for MSVS or ICC compile.
I took FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32
and FLAC__lpc_restore_signal_asm_ia32 asm functions and wrote their _wide
versions.
-------------- next