diff options
Diffstat (limited to 'libspeex/bfin.h')
-rw-r--r-- | libspeex/bfin.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libspeex/bfin.h b/libspeex/bfin.h new file mode 100644 index 0000000..b934cf2 --- /dev/null +++ b/libspeex/bfin.h @@ -0,0 +1,15 @@ +/* Common Blackfin assembly defines + * + * Copyright (C) 2005-2009 Analog Devices + */ + +#if __GNUC__ <= 3 +/* GCC-3.4 and older did not use hardware loops and thus did not have + * register constraints for declaring clobbers. + */ +# define BFIN_HWLOOP0_REGS +# define BFIN_HWLOOP1_REGS +#else +# define BFIN_HWLOOP0_REGS , "LB0", "LT0", "LC0" +# define BFIN_HWLOOP1_REGS , "LB1", "LT1", "LC1" +#endif |