Re: [PATCH] aarch64: Ignore target pragmas while defining intrinsics

2025-02-18 Thread Richard Sandiford
Andrew Carlotti writes: > When initialising intrinsics with `#pragma GCC aarch64 "arm_*.h"`, we > often set an explicit target, but currently leave current_target_pragma > unchanged. This results in the target pragma being applied to each > simulated intrinsic on top of our explicit target, which

[PATCH] aarch64: Ignore target pragmas while defining intrinsics

2025-02-18 Thread Andrew Carlotti
When initialising intrinsics with `#pragma GCC aarch64 "arm_*.h"`, we often set an explicit target, but currently leave current_target_pragma unchanged. This results in the target pragma being applied to each simulated intrinsic on top of our explicit target, which is clearly undesirable. As far