#include <stdint.h>
#include "platform.h"
#include "primitives.h"
Go to the source code of this file.
◆ softfloat_mul128To256M
#define softfloat_mul128To256M softfloat_mul128To256M |
◆ softfloat_mul128To256M()
Definition at line 46 of file s_mul128To256M.c.
48{
49 struct uint128 p0, p64, p128;
51
55 z64 = p64.v0 + p0.v64;
56 z128 = p64.v64 + (z64 < p64.v0);
58 z128 += p128.v0;
59 z192 = p128.v64 + (z128 < p128.v0);
61 z64 += p64.v0;
63 p64.v64 += (z64 < p64.v0);
64 z128 += p64.v64;
66 zPtr[
indexWord( 4, 3 )] = z192 + (z128 < p64.v64);
67
68}
#define indexWord(total, n)
struct uint128 softfloat_mul64To128(uint64_t a, uint64_t b)