Thank you Andrew for the hint.
I noticed that the option Mask() is used a lot with the flag msoft-float.
The documentation states that Mask sets a flag in the target_flags
variable.
What is the advantage of setting a flag in target_flags, compared to using
Var() on a custom variable?
Thank you
Be
On Sat, Nov 4, 2023 at 9:41 AM Enrico via Gcc wrote:
>
> Hello,
>
>
> for a custom architecture I am working on, I would like to entirely disable
> the usage of hardware floating point instructions in favor of library
> methods on demand.
>
> I need advice on what is the best strategy to do this.
Hello,
for a custom architecture I am working on, I would like to entirely disable
the usage of hardware floating point instructions in favor of library
methods on demand.
I need advice on what is the best strategy to do this. My idea is to:
- create a new flag (let's say -m[no-]float-insn or