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.
17 lines
321 B
17 lines
321 B
|
|
#include <stdint.h>
|
|
#include "platform.h"
|
|
#include "primitives.h"
|
|
|
|
struct uint64_extra
|
|
softfloat_shortShift64ExtraRightJam(
|
|
uint64_t a, uint64_t extra, unsigned int count )
|
|
{
|
|
struct uint64_extra z;
|
|
|
|
z.v = a>>count;
|
|
z.extra = a<<( ( - count ) & 63 ) | ( extra != 0 );
|
|
return z;
|
|
|
|
}
|
|
|
|
|