summaryrefslogtreecommitdiff
path: root/libavcodec/alpha/dsputil_alpha_asm.S
diff options
context:
space:
mode:
authorFalk Hüffner <mellum@users.sourceforge.net>2002-07-01 23:02:36 +0000
committerFalk Hüffner <mellum@users.sourceforge.net>2002-07-01 23:02:36 +0000
commitd13c54cdc04cc7c9f2edab2683de710acf43e801 (patch)
tree679a3d447ba5d1c1ee30960d42411b0709f2c314 /libavcodec/alpha/dsputil_alpha_asm.S
parentbb7d4939bae627bc9f917ae1d2870cfd4f571cde (diff)
Add profiling support.
Originally committed as revision 710 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alpha/dsputil_alpha_asm.S')
-rw-r--r--libavcodec/alpha/dsputil_alpha_asm.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/libavcodec/alpha/dsputil_alpha_asm.S b/libavcodec/alpha/dsputil_alpha_asm.S
index 9e2476de1a..a0d9562089 100644
--- a/libavcodec/alpha/dsputil_alpha_asm.S
+++ b/libavcodec/alpha/dsputil_alpha_asm.S
@@ -23,6 +23,9 @@
*/
#include "regdef.h"
+#ifdef HAVE_AV_CONFIG_H
+#include "config.h"
+#endif
/* Some nicer register names. */
#define ta t10
@@ -51,6 +54,11 @@ put_pixels_clamped_mvi_asm:
.frame sp, 0, ra
.prologue 0
+#ifdef HAVE_GPROF
+ lda AT, _mcount
+ jsr AT, (AT), _mcount
+#endif
+
lda t8, -1
lda t9, 8 # loop counter
zap t8, 0xaa, t8 # 00ff00ff00ff00ff
@@ -101,6 +109,11 @@ add_pixels_clamped_mvi_asm:
.frame sp, 0, ra
.prologue 0
+#ifdef HAVE_GPROF
+ lda AT, _mcount
+ jsr AT, (AT), _mcount
+#endif
+
lda t1, -1
lda th, 8
zap t1, 0x33, tg