Change rs6000_const_f32_to_i32 return type.
commit7591309696537212a1d0497bc09c09b7abc7e650
authorMichael Meissner <meissner@linux.ibm.com>
Tue, 13 Jul 2021 03:50:38 +0000 (12 23:50 -0400)
committerMichael Meissner <meissner@linux.ibm.com>
Tue, 13 Jul 2021 03:50:38 +0000 (12 23:50 -0400)
tree347d767253f5da708291c5e911f40fc6dabe9a94
parent07bcbf9cc2a031ba5abcff368b452bfc99bf707e
Change rs6000_const_f32_to_i32 return type.

The function rs6000_const_f32_to_i32 called REAL_VALUE_TO_TARGET_SINGLE
with a long long type and returns it.  This patch changes the type to long
which is the proper type for REAL_VALUE_TO_TARGET_SINGLE.

2021-07-12  Michael Meissner  <meissner@linux.ibm.com>

gcc/
* config/rs6000/altivec.md (xxspltiw_v4sf): Change local variable
value to to long.
* config/rs6000/rs6000-protos.h (rs6000_const_f32_to_i32): Change
return type to long.
* config/rs6000/rs6000.c (rs6000_const_f32_to_i32): Change return
type to long.
gcc/config/rs6000/altivec.md
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c