diff options
author | Olivier Hainque <hainque@adacore.com> | 2015-02-20 14:23:05 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2015-02-20 15:23:05 +0100 |
commit | 9b9e7e8a7452038b432d71e3f99be5874be75c4b (patch) | |
tree | 7deffacf4ac2e6d47e90a6149623850082a190d7 /gcc/ada/g-alveop.adb | |
parent | 389b90826bafbb5d92d49ce03e0aa4672c649cc8 (diff) | |
download | gcc-9b9e7e8a7452038b432d71e3f99be5874be75c4b.zip gcc-9b9e7e8a7452038b432d71e3f99be5874be75c4b.tar.gz gcc-9b9e7e8a7452038b432d71e3f99be5874be75c4b.tar.bz2 |
g-allein.ads (vec_vspltw): Remove.
2015-02-20 Olivier Hainque <hainque@adacore.com>
* g-allein.ads (vec_vspltw): Remove.
* g-alveop.ad?: Replace vec_vspltw renamings by proper Inline_Always
wrappers with Intrinsic convention.
From-SVN: r220864
Diffstat (limited to 'gcc/ada/g-alveop.adb')
-rw-r--r-- | gcc/ada/g-alveop.adb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/gcc/ada/g-alveop.adb b/gcc/ada/g-alveop.adb index 8896edd..1d1b56d 100644 --- a/gcc/ada/g-alveop.adb +++ b/gcc/ada/g-alveop.adb @@ -8221,6 +8221,58 @@ package body GNAT.Altivec.Vector_Operations is dststt (To_PTR (A), B, C); end vec_dststt; + -- vec_vspltw -- + + function vec_vspltw + (A : vector_float; + B : c_int) return vector_float + is + begin + return To_LL_VF (vspltw (To_LL_VSI (A), B)); + end vec_vspltw; + + function vec_vspltw + (A : vector_unsigned_int; + B : c_int) return vector_unsigned_int + is + begin + return To_LL_VUI (vspltw (To_LL_VSI (A), B)); + end vec_vspltw; + + function vec_vspltw + (A : vector_bool_int; + B : c_int) return vector_bool_int + is + begin + return To_LL_VBI (vspltw (To_LL_VSI (A), B)); + end vec_vspltw; + + -- vec_vsplth -- + + function vec_vsplth + (A : vector_bool_short; + B : c_int) return vector_bool_short + is + begin + return To_LL_VBS (vsplth (To_LL_VSS (A), B)); + end vec_vsplth; + + function vec_vsplth + (A : vector_unsigned_short; + B : c_int) return vector_unsigned_short + is + begin + return To_LL_VUS (vsplth (To_LL_VSS (A), B)); + end vec_vsplth; + + function vec_vsplth + (A : vector_pixel; + B : c_int) return vector_pixel + is + begin + return To_LL_VP (vsplth (To_LL_VSS (A), B)); + end vec_vsplth; + ----------------------------------- -- Bodies for Altivec predicates -- ----------------------------------- |