Changeset c67aff2 in mainline for uspace/lib/softfloat/include/common.h
- Timestamp:
- 2011-08-06T07:04:50Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d3e241a, e0e922d
- Parents:
- 9a6034a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softfloat/include/common.h
r9a6034a rc67aff2 1 1 /* 2 2 * Copyright (c) 2005 Josef Cejka 3 * Copyright (c) 2011 Petr Koupy 3 4 * All rights reserved. 4 5 * … … 30 31 * @{ 31 32 */ 32 /** @file 33 /** @file Common helper operations. 33 34 */ 34 35 … … 39 40 40 41 extern float64 finishFloat64(int32_t, uint64_t, char); 42 extern float128 finishFloat128(int32_t, uint64_t, uint64_t, char, uint64_t); 41 43 44 extern int countZeroes8(uint8_t); 45 extern int countZeroes32(uint32_t); 42 46 extern int countZeroes64(uint64_t); 43 extern int countZeroes32(uint32_t);44 extern int countZeroes8(uint8_t);45 47 46 48 extern void roundFloat32(int32_t *, uint32_t *); 47 49 extern void roundFloat64(int32_t *, uint64_t *); 50 extern void roundFloat128(int32_t *, uint64_t *, uint64_t *); 51 52 extern void lshift128(uint64_t, uint64_t, int, uint64_t *, uint64_t *); 53 extern void rshift128(uint64_t, uint64_t, int, uint64_t *, uint64_t *); 54 55 extern void and128(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t *, uint64_t *); 56 extern void or128(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t *, uint64_t *); 57 extern void xor128(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t *, uint64_t *); 58 extern void not128(uint64_t, uint64_t, uint64_t *, uint64_t *); 59 60 extern int eq128(uint64_t, uint64_t, uint64_t, uint64_t); 61 extern int le128(uint64_t, uint64_t, uint64_t, uint64_t); 62 extern int lt128(uint64_t, uint64_t, uint64_t, uint64_t); 63 64 extern void add128(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t *, uint64_t *); 65 extern void sub128(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t *, uint64_t *); 66 67 extern void mul64(uint64_t, uint64_t, uint64_t *, uint64_t *); 68 extern void mul128(uint64_t, uint64_t, uint64_t, uint64_t, 69 uint64_t *, uint64_t *, uint64_t *, uint64_t *); 70 71 extern uint64_t div128est(uint64_t, uint64_t, uint64_t); 48 72 49 73 #endif
Note:
See TracChangeset
for help on using the changeset viewer.