[sim] made softfloat files C instead of C++
[riscv-isa-sim.git] / softfloat / s_shortShift32Right1Jam.c
diff --git a/softfloat/s_shortShift32Right1Jam.c b/softfloat/s_shortShift32Right1Jam.c
new file mode 100755 (executable)
index 0000000..db4c304
--- /dev/null
@@ -0,0 +1,12 @@
+
+#include <stdint.h>
+#include "platform.h"
+#include "primitives.h"
+
+uint32_t softfloat_shortShift32Right1Jam( uint32_t a )
+{
+
+    return a>>1 | ( a & 1 );
+
+}
+