diff options
author | Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> | 2006-12-07 22:11:51 +0000 |
---|---|---|
committer | Trevor Smigiel <tsmigiel@gcc.gnu.org> | 2006-12-07 22:11:51 +0000 |
commit | 9dc5f9bad9be09c039a68047121d80a2d53caa63 (patch) | |
tree | 48adf93552e542da04a740164ede93c3dcb73359 /gcc/config | |
parent | baa5bf1141c3d697abe54c6e1a8ee87a33f67015 (diff) | |
download | gcc-9dc5f9bad9be09c039a68047121d80a2d53caa63.zip gcc-9dc5f9bad9be09c039a68047121d80a2d53caa63.tar.gz gcc-9dc5f9bad9be09c039a68047121d80a2d53caa63.tar.bz2 |
spu.c (array_to_constant): Correct the order of arguments to the calls of hwint_to_const_double.
* config/spu/spu.c (array_to_constant): Correct the order of arguments
to the calls of hwint_to_const_double.
From-SVN: r119635
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/spu/spu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 4aa8e38..03843fd 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -3603,14 +3603,14 @@ array_to_constant (enum machine_mode mode, unsigned char arr[16]) { val = (arr[0] << 24) | (arr[1] << 16) | (arr[2] << 8) | arr[3]; val = trunc_int_for_mode (val, SImode); - return hwint_to_const_double (val, SFmode); + return hwint_to_const_double (SFmode, val); } if (mode == DFmode) { val = (arr[0] << 24) | (arr[1] << 16) | (arr[2] << 8) | arr[3]; val <<= 32; val |= (arr[4] << 24) | (arr[5] << 16) | (arr[6] << 8) | arr[7]; - return hwint_to_const_double (val, DFmode); + return hwint_to_const_double (DFmode, val); } if (!VECTOR_MODE_P (mode)) |