[PATCH][AArch64] Vneg NEON intrinsics modified

Alex Velenko Alex.Velenko@arm.com
Tue Oct 8 16:10:00 GMT 2013


Hi,

This patch implements the behavior of the following
neon intrinsics using C:
vneg[q]_f[32,64]
vneg[q]_s[8,16,32,64]

Regression tests for listed intrinsics included.
I ran a full regression test for aarch64-none-elf
with no regressions.

Ok?

Thanks,
Alex

gcc/testsuite/

2013-10-08  Alex Velenko  <Alex.Velenko@arm.com>

	* gcc.target/aarch64/vneg_f.c: New testcase.
	* gcc.target/aarch64/vneg_s.c: New testcase.

gcc/

2013-10-08  Alex Velenko  <Alex.Velenko@arm.com>

	* config/aarch64/arm_neon.h (vneg_f32): Asm replaced with C.
	(vneg_f64): New intrinsic.
	(vneg_s8): Asm replaced with C.
	(vneg_s16): Likewise.
	(vneg_s32): Likewise.
	(vneg_s64): New intrinsic.
	(vnegq_f32): Asm replaced with C.
	(vnegq_f64): Likewise.
	(vnegq_s8): Likewise.
	(vnegq_s16): Likewise.
	(vnegq_s32): Likewise.
	(vnegq_s64): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vneg.patch
Type: text/x-patch
Size: 20261 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131008/e64b1e13/attachment.bin>


More information about the Gcc-patches mailing list