Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
s_shiftRightJam64Extra.c File Reference
#include <stdint.h>
#include "platform.h"
#include "primitiveTypes.h"
Include dependency graph for s_shiftRightJam64Extra.c:

Go to the source code of this file.

Functions

struct uint64_extra softfloat_shiftRightJam64Extra (uint64_t a, uint64_t extra, uint_fast32_t dist)
 

Function Documentation

◆ softfloat_shiftRightJam64Extra()

struct uint64_extra softfloat_shiftRightJam64Extra ( uint64_t a,
uint64_t extra,
uint_fast32_t dist )

Definition at line 44 of file s_shiftRightJam64Extra.c.

46{
47 struct uint64_extra z;
48
49 if ( dist < 64 ) {
50 z.v = a>>dist;
51 z.extra = a<<(-dist & 63);
52 } else {
53 z.v = 0;
54 z.extra = (dist == 64) ? a : (a != 0);
55 }
56 z.extra |= (extra != 0);
57 return z;
58
59}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1181
Here is the caller graph for this function: