On Mon, Jun 17, 2024 at 2:29 PM Eric Botcazou <botca...@adacore.com> wrote: > > Tested on x86-64/Linux, applied on the mainline. > > > 2024-06-17 Eric Botcazou <ebotca...@adacore.com> > > c-family/ > * c-ada-spec.cc (is_float16): New predicate. > (dump_ada_node) <REAL_TYPE>: Call it.
Hmm, is_float16 seems to be me would be _Float16 rather than __bf16. Those two are two different formats; both could be supported on a target (both aarch64 and x86_64 support both at the same time). Also for __bf16, I think comparing against the format being arm_bfloat_half_format would be a better choice rather than depending on the name. Thanks, Andrew Pinski > > -- > Eric Botcazou