RISC-V Proxy Kernel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
295 B

#include <stdint.h>
#include "platform.h"
#include "primitives.h"
struct uint128
softfloat_shortShift128Right( uint64_t a64, uint64_t a0, unsigned int count )
{
struct uint128 z;
z.v64 = a64>>count;
z.v0 = a64<<( ( - count ) & 63 ) | a0>>count;
return z;
}