1 /* OpenCP Module Player 2 * copyright (c) '94-'10 Niklas Beisert <nbeisert@physik.tu-muenchen.de> 3 * 4 * assembler routines for Quality Mixer 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License parse_quota_types(const char * in_str,unsigned int * qtype_bits,char ** err_token)17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 * 20 * revision history: (please note changes here) 21 * -nb980510 Niklas Beisert <nbeisert@physik.tu-muenchen.de> 22 * -first release 23 * -kb980717 Tammo Hinrichs <opencp@gmx.net> 24 * -some pentium optimization on inner loops 25 * -kbwhenever Tammo Hinrichs <opencp@gmx.net> 26 * -used CS addressing here and there for more optimal cache usage 27 * -ss04???? 28 */ 29 30 #include "config.h" 31 #include <stdio.h> 32 #include "types.h" 33 #include "dwmix.h" 34 #include "dwmixqa.h" 35 36 #if defined(__PIC__) && defined(I386_ASM) 37 #warning I386_ASM is disabled in non FPU mixers when compiled PIC 38 #undef I386_ASM 39 #endif 40 41 #ifdef I386_ASM 42 43 #include "dwmixqa_x86.c" 44 45 #else 46 47 #include "dwmixqa_c.c" 48 49 #endif 50