[PATCH 9/15][AArch64] vld{2,3,4}{,_lane,_dup}, vcombine, vcreate

Alan Lawrence alan.lawrence@arm.com
Thu Aug 6 16:28:00 GMT 2015


Alan Lawrence wrote:
 > James Greenhalgh wrote:
 >> Hi Alan,
 >>
 >> The arm_neon.h portion of this patch does not apply after Charles' recent
 >> changes. Could you please rebase and resubmit the patch for review?
 >>
 >> Thanks,
 >> James
 >
 > Ah, indeed, thanks. Here's a rebased version, using Charles' new versions of
 > __(LD|ST)[234]_LANE_FUNC. I'll follow with a patch adding corresponding
 > lane_f16_indices tests in a separate email.
 >
 > (Changelog as before)
 >
 > Bootstrapped + check-gcc on aarch64-none-linux-gnu.


Here, in fact. gcc/ChangeLog:

	* config/aarch64/aarch64.c (aarch64_split_simd_combine): Add V4HFmode.
	* config/aarch64/aarch64-builtins.c (VAR13, VAR14): New.
	(aarch64_scalar_builtin_types, aarch64_init_simd_builtin_scalar_types):
	Add __builtin_aarch64_simd_hf.
	* config/aarch64/arm_neon.h (float16x4x2_t, float16x8x2_t,
	float16x4x3_t, float16x8x3_t, float16x4x4_t, float16x8x4_t,
	vcombine_f16, vst2_lane_f16, vst2q_lane_f16, vst3_lane_f16,
	vst3q_lane_f16, vst4_lane_f16, vst4q_lane_f16, vld2_f16, vld2q_f16,
	vld3_f16, vld3q_f16, vld4_f16, vld4q_f16, vld2_dup_f16, vld2q_dup_f16,
	vld3_dup_f16, vld3q_dup_f16, vld4_dup_f16, vld4q_dup_f16,
	vld2_lane_f16, vld2q_lane_f16, vld3_lane_f16, vld3q_lane_f16,
	vld4_lane_f16, vld4q_lane_f16, vst2_f16, vst2q_f16, vst3_f16,
	vst3q_f16, vst4_f16, vst4q_f16, vcreate_f16): New.

	* config/aarch64/iterators.md (VALLDIF, Vtype, Vetype, Vbtype,
	V_cmp_result, v_cmp_result): Add cases for V4HF and V8HF.
	(VDC, Vdbl): Add V4HF.

gcc/testsuite/ChangeLog:

	* gcc.target/aarch64/vldN_1.c: Add float16x4_t and float16x8_t cases.
	* gcc.target/aarch64/vldN_dup_1.c: Likewise.
	* gcc.target/aarch64/vldN_lane_1.c: Likewise.
         (main): update orig_data to avoid float16 NaN on bigendian.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 09_aarch64_vcreate_et_al_v2.patch
Type: text/x-patch
Size: 29804 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150806/5f2c9dee/attachment.bin>


More information about the Gcc-patches mailing list