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 sell...@cavium.com