| Index: crosstest/test_cast.h
|
| diff --git a/crosstest/test_cast.h b/crosstest/test_cast.h
|
| index 27d0dd02498df598a937de20216571957fa5492e..c67ad2f76e62af85c04216e82b110ede8d94f480 100644
|
| --- a/crosstest/test_cast.h
|
| +++ b/crosstest/test_cast.h
|
| @@ -21,3 +21,13 @@ typedef signed char myint8_t;
|
|
|
| template <typename FromType, typename ToType> ToType cast(FromType a);
|
| template <typename FromType, typename ToType> ToType castBits(FromType a);
|
| +
|
| +// Targets like MIPS32, pass floating-point arguments in general purpose
|
| +// registers when the first argument is passed in a general purpose register.
|
| +// Overloaded cast and castBits functions take two extra integer argument to
|
| +// check proper conversion of floating-point to/from general purpose registers.
|
| +template <typename FromType, typename ToType> ToType cast(int i, FromType a,
|
| + int j);
|
| +template <typename FromType, typename ToType> ToType castBits(int i,
|
| + FromType a,
|
| + int j);
|
|
|