2 * dct36_k7.c - 3DNowEx(DSP)! optimized dct36()
4 * This code based 'dct36_3dnow.s' by Syuuhei Kashiyama
5 * <squash@mb.kcom.ne.jp>, only two types of changes have been made:
7 * - added new opcode PSWAPD
8 * - removed PREFETCH instruction for speedup
9 * - changed function name for support 3DNowEx! automatic detection
11 * note: because K7 processors are an aggresive out-of-order three-way
12 * superscalar ones instruction order is not significand for them.
14 * You can find Kashiyama's original 3dnow! support patch
15 * (for mpg123-0.59o) at
16 * http://user.ecc.u-tokyo.ac.jp/~g810370/linux-simd/ (Japanese).
18 * by KIMURA Takuhiro <kim@hannah.ipc.miyakyo-u.ac.jp> - until 31.Mar.1999
19 * <kim@comtec.co.jp> - after 1.Apr.1999
21 * Original disclaimer:
22 * The author of this program disclaim whole expressed or implied
23 * warranties with regard to this program, and in no event shall the
24 * author of this program liable to whatever resulted from the use of
25 * this program. Use it at your own risk.
27 * Modified by Nick Kurshev <nickols_k@mail.ru>
29 * 2003/06/21: Moved to GCC inline assembly - Alex Beregszaszi
32 #define DCT36_OPTIMIZE_FOR_K7
34 #include "dct36_3dnow.c"