* Builiding not optimized Libgcc for ARM Cortex-M4 target
@ 2020-11-24 20:47 Enrico Tabanelli
2020-12-03 11:59 ` Richard Earnshaw
0 siblings, 1 reply; 4+ messages in thread
From: Enrico Tabanelli @ 2020-11-24 20:47 UTC (permalink / raw)
To: gcc-help
Good morning,
I am trying to compile Libgcc for the ARM Cortex-M4 target from scratch since I need to compare Floating Point SW emulation on an ARM Cortex-M4 and Risc-V based processors. By default, GCC includes an optimized version of the FP SW emulation routines, ieee754-sf.S, which is included in the ARM back-end of Libgcc. For my work, I would like to use the basic routines included in libgcc/softfp.
Does anyone know how to exclude ieee754-sf.S in the libgcc building process? In particular, how to configure GCC and if there is something to change inside the ARM back-end?
Thanks,
Enrico Tabanelli
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Builiding not optimized Libgcc for ARM Cortex-M4 target
2020-11-24 20:47 Builiding not optimized Libgcc for ARM Cortex-M4 target Enrico Tabanelli
@ 2020-12-03 11:59 ` Richard Earnshaw
2020-12-03 21:24 ` Enrico Tabanelli
0 siblings, 1 reply; 4+ messages in thread
From: Richard Earnshaw @ 2020-12-03 11:59 UTC (permalink / raw)
To: Enrico Tabanelli, gcc-help
On 24/11/2020 20:47, Enrico Tabanelli via Gcc-help wrote:
> Good morning,
>
> I am trying to compile Libgcc for the ARM Cortex-M4 target from scratch since I need to compare Floating Point SW emulation on an ARM Cortex-M4 and Risc-V based processors. By default, GCC includes an optimized version of the FP SW emulation routines, ieee754-sf.S, which is included in the ARM back-end of Libgcc. For my work, I would like to use the basic routines included in libgcc/softfp.
> Does anyone know how to exclude ieee754-sf.S in the libgcc building process? In particular, how to configure GCC and if there is something to change inside the ARM back-end?
>
> Thanks,
> Enrico Tabanelli
>
I think you'd need to hack the build system. I'm not aware of any
standard configuration hooks to do this.
R.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Builiding not optimized Libgcc for ARM Cortex-M4 target
2020-12-03 11:59 ` Richard Earnshaw
@ 2020-12-03 21:24 ` Enrico Tabanelli
2020-12-07 13:00 ` Richard Earnshaw
0 siblings, 1 reply; 4+ messages in thread
From: Enrico Tabanelli @ 2020-12-03 21:24 UTC (permalink / raw)
To: Richard Earnshaw, gcc-help
Hi Richard,
Do you know how to hack the build system properly to exclude the optimized routines?
Enrico
________________________________
From: Richard Earnshaw <Richard.Earnshaw@foss.arm.com>
Sent: Thursday, December 3, 2020 12:59 PM
To: Enrico Tabanelli <enrico.tabanelli3@unibo.it>; gcc-help@gcc.gnu.org <gcc-help@gcc.gnu.org>
Subject: Re: Builiding not optimized Libgcc for ARM Cortex-M4 target
On 24/11/2020 20:47, Enrico Tabanelli via Gcc-help wrote:
> Good morning,
>
> I am trying to compile Libgcc for the ARM Cortex-M4 target from scratch since I need to compare Floating Point SW emulation on an ARM Cortex-M4 and Risc-V based processors. By default, GCC includes an optimized version of the FP SW emulation routines, ieee754-sf.S, which is included in the ARM back-end of Libgcc. For my work, I would like to use the basic routines included in libgcc/softfp.
> Does anyone know how to exclude ieee754-sf.S in the libgcc building process? In particular, how to configure GCC and if there is something to change inside the ARM back-end?
>
> Thanks,
> Enrico Tabanelli
>
I think you'd need to hack the build system. I'm not aware of any
standard configuration hooks to do this.
R.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Builiding not optimized Libgcc for ARM Cortex-M4 target
2020-12-03 21:24 ` Enrico Tabanelli
@ 2020-12-07 13:00 ` Richard Earnshaw
0 siblings, 0 replies; 4+ messages in thread
From: Richard Earnshaw @ 2020-12-07 13:00 UTC (permalink / raw)
To: Enrico Tabanelli, gcc-help
On 03/12/2020 21:24, Enrico Tabanelli wrote:
> Hi Richard,
>
> Do you know how to hack the build system properly to exclude the
> optimized routines?
Sorry, not in detail. Most of the changes will probably be in
libgcc/config/arm; but you may also need to make changes to
gcc/config/arm/arm.c to handle the function names that are used when
calling the soft-float C code.
R.
>
> Enrico
> ------------------------------------------------------------------------
> *From:* Richard Earnshaw <Richard.Earnshaw@foss.arm.com>
> *Sent:* Thursday, December 3, 2020 12:59 PM
> *To:* Enrico Tabanelli <enrico.tabanelli3@unibo.it>;
> gcc-help@gcc.gnu.org <gcc-help@gcc.gnu.org>
> *Subject:* Re: Builiding not optimized Libgcc for ARM Cortex-M4 target
>
> On 24/11/2020 20:47, Enrico Tabanelli via Gcc-help wrote:
>> Good morning,
>>
>> I am trying to compile Libgcc for the ARM Cortex-M4 target from scratch since I need to compare Floating Point SW emulation on an ARM Cortex-M4 and Risc-V based processors. By default, GCC includes an optimized version of the FP SW emulation routines, ieee754-sf.S, which is included in the ARM back-end of Libgcc. For my work, I would
> like to use the basic routines included in libgcc/softfp.
>> Does anyone know how to exclude ieee754-sf.S in the libgcc building process? In particular, how to configure GCC and if there is something to change inside the ARM back-end?
>>
>> Thanks,
>> Enrico Tabanelli
>>
>
> I think you'd need to hack the build system. I'm not aware of any
> standard configuration hooks to do this.
>
> R.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-07 13:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 20:47 Builiding not optimized Libgcc for ARM Cortex-M4 target Enrico Tabanelli
2020-12-03 11:59 ` Richard Earnshaw
2020-12-03 21:24 ` Enrico Tabanelli
2020-12-07 13:00 ` Richard Earnshaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).