This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: poly_uint64 / TYPE_VECTOR_SUBPARTS question
- From: Steve Ellcey <sellcey at cavium dot com>
- To: Richard Sandiford <richard dot sandiford at linaro dot org>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Fri, 09 Feb 2018 09:40:50 -0800
- Subject: Re: poly_uint64 / TYPE_VECTOR_SUBPARTS question
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Steve dot Ellcey at cavium dot com;
- References: <1518127722.14236.3.camel@cavium.com> <87h8qqw0cp.fsf@linaro.org>
- Reply-to: sellcey at cavium dot com
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Fri, 2018-02-09 at 17:15 +0000, Richard Sandiford wrote:
>
>
> If the code you're adding is inherently specific to Advanced SIMD
> (not sure, but guessing yes based on this being aarch64-builtins.c)
> then like Kugan says, using to_constant is OK.
>
> Which code are you copying over?
>
> Thanks,
> Richard
OK, I found the is_constant member function and used that. I was
looking at the i386 code that generates calls to libmvec. Someone
here wrote vector sin/cos functions for V2DF and I want to test them
out to see if they would work with GCC/libmvec on aarch64.
Steve Ellcey
sellcey@cavium.com