New C55 macro
This commit is contained in:
parent
fb7359a61f
commit
bfcbd184b5
1 changed files with 5 additions and 3 deletions
|
@ -35,7 +35,6 @@
|
||||||
#ifndef FIXED_C5X_H
|
#ifndef FIXED_C5X_H
|
||||||
#define FIXED_C5X_H
|
#define FIXED_C5X_H
|
||||||
|
|
||||||
#if 0 /* All macros disabled until they can be properly tested */
|
|
||||||
#undef MAX16
|
#undef MAX16
|
||||||
#define MAX16(a,b) _max(a,b)
|
#define MAX16(a,b) _max(a,b)
|
||||||
|
|
||||||
|
@ -50,6 +49,9 @@
|
||||||
|
|
||||||
#undef VSHR32
|
#undef VSHR32
|
||||||
#define VSHR32(a, shift) _lshl(a,-(shift))
|
#define VSHR32(a, shift) _lshl(a,-(shift))
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* FIXED_C5X_H */
|
#undef MULT16_16_Q15
|
||||||
|
#define MULT16_16_Q15(a,b) (_smpy(a,b))
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* FIXED_C5X_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue