Discussion:
vreinterpretq_*_p128 for converting from polynomials?
Jeffrey Walton
2016-07-28 15:36:01 UTC
Permalink
Hi Everyone,

I'm having trouble finding vreinterpretq_u64_p128 (and friends) to
help convert a polynomial. I can't find it in arm_neon.h or
arm_acle.h:

$ grep p128 /usr/lib/gcc/aarch64-linux-gnu/4.9/include/arm_acle.h
$ grep p128 /usr/lib/gcc/aarch64-linux-gnu/4.9/include/arm_neon.h
$ grep p64 /usr/lib/gcc/aarch64-linux-gnu/4.9/include/arm_acle.h
$ grep p64 /usr/lib/gcc/aarch64-linux-gnu/4.9/include/arm_neon.h
vmull_p64 (poly64_t a, poly64_t b)
vmull_high_p64 (poly64x2_t a, poly64x2_t b)
$

An RPI-3 with ARMv8/Aarch32 and GCC 4.9.2 has it in arm_neon.h:

$ cat /usr/lib/gcc/arm-linux-gnueabihf/4.9.2/include/arm_neon.h | grep
-A 4 vreinterpretq_u64_p128
vreinterpretq_u64_p128 (poly128_t __a)
{
return (uint64x2_t)__builtin_neon_vreinterpretv2diti
((__builtin_neon_ti) __a);
}

Is there another file that should be included for it? Or is there
something else I should be doing when I want to convert from a
polynomial to a type like uint64x2_t?

Thanks in advance.

Jeff
Jim Wilson
2016-07-28 16:28:51 UTC
Permalink
Post by Jeffrey Walton
I'm having trouble finding vreinterpretq_u64_p128 (and friends) to
help convert a polynomial. I can't find it in arm_neon.h or
Yes, these *p128* intrinsics are missing from the aarch64 port. I'd
suggest filing a bug report.

Jim
Jeffrey Walton
2016-07-30 02:55:47 UTC
Permalink
Post by Jim Wilson
Post by Jeffrey Walton
I'm having trouble finding vreinterpretq_u64_p128 (and friends) to
help convert a polynomial. I can't find it in arm_neon.h or
Yes, these *p128* intrinsics are missing from the aarch64 port. I'd
suggest filing a bug report.
Thanks Jim.

Please forgive my ignorance. Who gets the report? Linaro, Debian or GCC?

Jeff
Jim Wilson
2016-07-30 04:07:57 UTC
Permalink
Post by Jeffrey Walton
Post by Jim Wilson
Yes, these *p128* intrinsics are missing from the aarch64 port. I'd
suggest filing a bug report.
Please forgive my ignorance. Who gets the report? Linaro, Debian or GCC?
The FSF GCC bugzilla.
https://gcc.gnu.org/bugzilla/
You need an account to file a bug, and if you don't already have one,
you might not be able to file a bug report at the moment as we
temporarily disabled account creation to deal with a spam attack, and
I don't know if that has been turned back on. If this is too much
trouble, I can file a bug report for you.

Jim
Jeffrey Walton
2016-07-30 05:11:55 UTC
Permalink
Post by Jim Wilson
Post by Jeffrey Walton
Post by Jim Wilson
Yes, these *p128* intrinsics are missing from the aarch64 port. I'd
suggest filing a bug report.
Please forgive my ignorance. Who gets the report? Linaro, Debian or GCC?
The FSF GCC bugzilla.
https://gcc.gnu.org/bugzilla/
Perfect, thanks, done. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=72758 .

Jeff

Loading...