On Wed, 31 Jul 2013, Ben Avison wrote:
Before After
Mean StdDev Mean StdDev Change
This function 479.8 16.7 181.0 11.1 +165.1%
Overall 2898.0 24.4 2738.2 26.3 +5.8%
---
libavcodec/arm/Makefile | 1 +
libavcodec/arm/h264dsp_armv6.S | 251 +++++++++++++++++++++++++++++++++++++
libavcodec/arm/h264dsp_init_arm.c | 4 +
3 files changed, 256 insertions(+), 0 deletions(-)
create mode 100644 libavcodec/arm/h264dsp_armv6.S
+93: @ Found a candidate somewhere in the preceding 16 bytes
+ sub RESULT, PTR, BUF
+ sub RESULT, RESULT, #16
+ teq TMP0, #0
+ beq 95f @ not in first 4 bytes
+ sub TMP0, DAT0, #0x20000
+ bics TMP0, TMP0, DAT0
This is missing an "ittt pl" here
+ ldrbpl DAT0, [PTR, #-15]
+ addpl RESULT, RESULT, #2
+ bpl 94f
+ teq RESULT, #0
+ beq 98f @ don't look back a byte if found at first byte in buffer
+ ldrb DAT0, [PTR, #-17]
+94: teq DAT0, #0
and an "it eq" here
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel