lbn960jx.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) 1995 Colin Plumb. All rights reserved.
  3. * For licensing and other legal details, see the file legal.c.
  4. *
  5. * lbn960jx.h - This file defines the interfaces to assembly primitives
  6. * for the the Intel i960Jx series of processors. In fact, these thould
  7. * work on any i960 series processor, but haven't been tested.
  8. * It is intended to be included in "lbn.h"
  9. * via the "#include BNINCLUDE" mechanism.
  10. */
  11. #define BN_LITTLE_ENDIAN 1
  12. typedef unsigned long bnword32;
  13. #define BNWORD32 bnword32;
  14. #ifdef __cplusplus
  15. /* These assembly-language primitives use C names */
  16. extern "C" {
  17. #endif
  18. /* Function prototypes for the asm routines */
  19. void
  20. lbnMulN1_32(bnword32 *out, bnword32 const *in, unsigned len, bnword32 k);
  21. #define lbnMulN1_32 lbnMulN1_32
  22. bnword32
  23. lbnMulAdd1_32(bnword32 *out, bnword32 const *in, unsigned len, bnword32 k);
  24. #define lbnMulAdd1_32 lbnMulAdd1_32
  25. bnword32
  26. lbnMulSub1_32(bnword32 *out, bnword32 const *in, unsigned len, bnword32 k);
  27. #define lbnMulSub1_32 lbnMulSub1_32
  28. #ifdef __cplusplus
  29. }
  30. #endif