-/* $OpenBSD: softfloat-macros.h,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: softfloat-macros.h,v 1.2 2018/01/19 16:16:09 kettenis Exp $ */
/*
===============================================================================
The result is stored in the location pointed to by `zPtr'.
-------------------------------------------------------------------------------
*/
-__inline void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr )
+static __inline void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr )
{
bits32 z;
which are stored at the locations pointed to by `z0Ptr' and `z1Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
shift64Right(
bits32 a0, bits32 a1, int16 count, bits32 *z0Ptr, bits32 *z1Ptr )
{
the locations pointed to by `z0Ptr' and `z1Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
shift64RightJamming(
bits32 a0, bits32 a1, int16 count, bits32 *z0Ptr, bits32 *z1Ptr )
{
`z2Ptr'.)
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
shift64ExtraRightJamming(
bits32 a0,
bits32 a1,
pieces which are stored at the locations pointed to by `z0Ptr' and `z1Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
shortShift64Left(
bits32 a0, bits32 a1, int16 count, bits32 *z0Ptr, bits32 *z1Ptr )
{
`z1Ptr', and `z2Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
shortShift96Left(
bits32 a0,
bits32 a1,
are stored at the locations pointed to by `z0Ptr' and `z1Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
add64(
bits32 a0, bits32 a1, bits32 b0, bits32 b1, bits32 *z0Ptr, bits32 *z1Ptr )
{
`z1Ptr', and `z2Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
add96(
bits32 a0,
bits32 a1,
`z1Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
sub64(
bits32 a0, bits32 a1, bits32 b0, bits32 b1, bits32 *z0Ptr, bits32 *z1Ptr )
{
`z0Ptr', `z1Ptr', and `z2Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
sub96(
bits32 a0,
bits32 a1,
`z0Ptr' and `z1Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void mul32To64( bits32 a, bits32 b, bits32 *z0Ptr, bits32 *z1Ptr )
+static __inline void
+ mul32To64( bits32 a, bits32 b, bits32 *z0Ptr, bits32 *z1Ptr )
{
bits16 aHigh, aLow, bHigh, bLow;
bits32 z0, zMiddleA, zMiddleB, z1;
`z2Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
mul64By32To96(
bits32 a0,
bits32 a1,
the locations pointed to by `z0Ptr', `z1Ptr', `z2Ptr', and `z3Ptr'.
-------------------------------------------------------------------------------
*/
-__inline void
+static __inline void
mul64To128(
bits32 a0,
bits32 a1,
returns 0.
-------------------------------------------------------------------------------
*/
-__inline flag eq64( bits32 a0, bits32 a1, bits32 b0, bits32 b1 )
+static __inline flag eq64( bits32 a0, bits32 a1, bits32 b0, bits32 b1 )
{
return ( a0 == b0 ) && ( a1 == b1 );
Otherwise, returns 0.
-------------------------------------------------------------------------------
*/
-__inline flag le64( bits32 a0, bits32 a1, bits32 b0, bits32 b1 )
+static __inline flag le64( bits32 a0, bits32 a1, bits32 b0, bits32 b1 )
{
return ( a0 < b0 ) || ( ( a0 == b0 ) && ( a1 <= b1 ) );
returns 0.
-------------------------------------------------------------------------------
*/
-__inline flag lt64( bits32 a0, bits32 a1, bits32 b0, bits32 b1 )
+static __inline flag lt64( bits32 a0, bits32 a1, bits32 b0, bits32 b1 )
{
return ( a0 < b0 ) || ( ( a0 == b0 ) && ( a1 < b1 ) );
returns 0.
-------------------------------------------------------------------------------
*/
-__inline flag ne64( bits32 a0, bits32 a1, bits32 b0, bits32 b1 )
+static __inline flag ne64( bits32 a0, bits32 a1, bits32 b0, bits32 b1 )
{
return ( a0 != b0 ) || ( a1 != b1 );