Re: Add a simulate_builin_function_decl langhook

2019-10-28 Thread Richard Sandiford
Jeff Law writes: > On 10/5/19 5:29 AM, Richard Sandiford wrote: >> >> Sure. This message is going to go to the other extreme, sorry, but I'm >> not sure which part will be the most convincing (if any). > No worries. Worst case going to the other extreme is I have to read it > more than once aft

Re: Add a simulate_builin_function_decl langhook

2019-10-27 Thread Jeff Law
On 10/5/19 5:29 AM, Richard Sandiford wrote: > > Sure. This message is going to go to the other extreme, sorry, but I'm > not sure which part will be the most convincing (if any). No worries. Worst case going to the other extreme is I have to read it more than once after nodding off halfway thro

Re: Ping: Add a simulate_builin_function_decl langhook

2019-10-18 Thread Richard Sandiford
Here's a version rebased on top of Nathan's C++ patch yesterday. This actually makes the patch simpler; the changes to the frontends are now pure additions, so no existing frontend code should be affected. FWIW, this patch and the enum one: https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01523.ht

Ping: Add a simulate_builin_function_decl langhook

2019-10-14 Thread Richard Sandiford
Ping See also https://gcc.gnu.org/ml/gcc-patches/2019-10/msg00413.html for more details about why this seemed like a good idea. A shorter version of that message (well, it started out that way :-)) is that it lets us use: #ifndef _ARM_SVE_H_ #define _ARM_SVE_H_ #include typedef __fp16

Re: Add a simulate_builin_function_decl langhook

2019-10-05 Thread Richard Sandiford
Jeff Law writes: > On 9/26/19 6:04 AM, Richard Sandiford wrote: >> Although it's possible to define the SVE intrinsics in a normal header >> file, it's much more convenient to define them directly in the compiler. >> This also speeds up compilation and gives better error messages. >> >> The idea

Re: Add a simulate_builin_function_decl langhook

2019-10-04 Thread Jeff Law
On 9/26/19 6:04 AM, Richard Sandiford wrote: > Although it's possible to define the SVE intrinsics in a normal header > file, it's much more convenient to define them directly in the compiler. > This also speeds up compilation and gives better error messages. > > The idea is therefore for arm_sve.

Add a simulate_builin_function_decl langhook

2019-09-26 Thread Richard Sandiford
Although it's possible to define the SVE intrinsics in a normal header file, it's much more convenient to define them directly in the compiler. This also speeds up compilation and gives better error messages. The idea is therefore for arm_sve.h (the main intrinsics header file) to have the pragma: