diff options
author | Alan Lawrence <alan.lawrence@arm.com> | 2015-09-08 19:08:34 +0000 |
---|---|---|
committer | Alan Lawrence <alalaw01@gcc.gnu.org> | 2015-09-08 19:08:34 +0000 |
commit | 922f9c255896c0e24e997292cc7518b4b6545e7c (patch) | |
tree | b47582d070f61e22a2a8041aa39d0476f99176b6 /gcc/fold-const.c | |
parent | 7c3694857570a7ed472cbacbb027521715a26da6 (diff) | |
download | gcc-922f9c255896c0e24e997292cc7518b4b6545e7c.zip gcc-922f9c255896c0e24e997292cc7518b4b6545e7c.tar.gz gcc-922f9c255896c0e24e997292cc7518b4b6545e7c.tar.bz2 |
[AArch64] Implement vcvt_{,high_}f16_f32
* config/aarch64/aarch64-simd.md (aarch64_float_truncate_lo_v2sf):
Reparameterize to...
(aarch64_float_truncate_lo_<mode>): ...this, for both V2SF and V4HF.
(aarch64_float_truncate_hi_v4sf): Reparameterize to...
(aarch64_float_truncate_hi_<Vdbl>): ...this, for both V4SF and V8HF.
* config/aarch64/aarch64-simd-builtins.def (float_truncate_hi_): Add
v8hf variant.
(float_truncate_lo_): Use BUILTIN_VDF iterator.
* config/aarch64/arm_neon.h (vcvt_f16_f32, vcvt_high_f16_f32): New.
* config/aarch64/iterators.md (VDF, Vdtype): New.
(VWIDE, Vmwtype): Add cases for V4HF and V2SF.
From-SVN: r227545
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions