Spike, a RISC-V ISA Simulator
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.
 
 
 
 
 
 

15 lines
277 B

#include <stdint.h>
#include "platform.h"
#include "primitives.h"
uint32_t softfloat_shift32RightJam( uint32_t a, unsigned int count )
{
return
( count < 32 )
? a>>count | ( (uint32_t) ( a<<( ( - count ) & 31 ) ) != 0 )
: ( a != 0 );
}