Commit Graph

23 Commits

Author SHA1 Message Date
diego e530d4b467 Replace duplicated code by a macro.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28938 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-12 11:55:26 +00:00
diego 143a63fd9e Fix and restructure fastmemcpybench. It is now one binary that runs all
available memcpy variants and prints benchmark results about them.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28929 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-10 10:05:09 +00:00
reimar 591ce556b7 Make fastmemcpybench almost working - only thing missing is a way to
override HAVE_MMX etc. from config.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28906 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 12:59:14 +00:00
diego 807b942713 comment/output cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28904 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 11:32:43 +00:00
diego a0bce02b7c whitespace cosmetics:
- Remove all tabs and trailing whitespace.
- Indent with 4 spaces.
- K&R-ify and prettyprint some parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28903 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 11:28:31 +00:00
michael b638947171 Revert
r3082 | michael | 2001-11-23 13:00:40 +0100 (Fri, 23 Nov 2001) | 2 lines
	missaligned arrays, as nick requested
Reason: idiotic idea


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28890 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 15:20:14 +00:00
diego 824abb5a65 Add missing 'void' keyword to parameterless function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 14:48:03 +00:00
diego 26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego e588ab056d Change a bunch of video-output-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:38:11 +00:00
diego 5423c418c2 cosmetics: Remove useless parentheses from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 09:42:28 +00:00
diego c5d5fe98b2 Mark all functions that are only used within the file as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26607 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-30 13:53:40 +00:00
diego 2c12e91a23 Remove unused #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24231 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:50:58 +00:00
diego 14b2c39cd6 warning fix:
fastmemcpybench.c: At top level:
fastmemcpybench.c:29: warning: 'mga_next_frame' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24225 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 09:59:23 +00:00
diego a1d3c0aeaf warning fix:
fastmemcpybench.c: In function 'mga_init':
fastmemcpybench.c:36: warning: unused variable 'frame_mem'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24224 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 09:58:35 +00:00
diego 0520dff832 Unify include path handling by using -I.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17018 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 16:16:33 +00:00
rathann 9ca81fc9c3 small compilation fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13840 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-01 14:46:57 +00:00
michael cc5af9a1b6 bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3083 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-23 12:12:25 +00:00
michael 4a06953ed4 missaligned arrays, as nick requested
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3082 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-23 12:00:40 +00:00
michael 2a6e9d9eda newly allocated memory seems to point to only 1 zero filled 4k page or something so there is a near 100% cache hit rate ... not very realistic, writeing something in the source array fixes that so the benchmark scores are meaningfull now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3077 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 19:22:49 +00:00
nickols_k 798db8a716 slight proofreading
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@688 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-05-02 14:48:35 +00:00
arpi_esp 5dc6430ec3 added mga_vid support (systemram->videoram tests)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@573 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-22 03:40:45 +00:00
atmosfear a2c7d931db Initial release, used to benchmark fastmemcpy.h code from libvo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@563 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-21 18:19:12 +00:00