Ping

> -----Original Message-----
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-
> ow...@gcc.gnu.org] On Behalf Of Tamar Christina
> Sent: Monday, November 6, 2017 16:52
> To: gcc-patches@gcc.gnu.org
> Cc: nd <n...@arm.com>; Ramana Radhakrishnan
> <ramana.radhakrish...@arm.com>; Richard Earnshaw
> <richard.earns...@arm.com>; ni...@redhat.com; Kyrylo Tkachov
> <kyrylo.tkac...@arm.com>
> Subject: [PATCH][GCC][ARM] Generate .arch and .arch_extensions for each
> function if required. [Patch (3/3)]
> 
> Hi All,
> 
> This patch adds the needed machinery to generate the appropriate .arch
> and .arch_extension directives per function.
> 
> Borrowing from AArch64 this is only done when it's required (i.e. when the
> directives to be set differ from the currently set one).
> 
> As part if this the .fpu directive has also been cleaned up to follow the same
> logic.
> 
> Regtested on arm-none-eabi and no regressions.
> 
> Ok for trunk?
> 
> gcc/
> 2017-11-06  Tamar Christina  <tamar.christ...@arm.com>
> 
>       PR target/82641
>       * config/arm/arm.c (INCLUDE_STRING): Define.
>       (arm_last_printed_arch_string, arm_last_printed_fpu_string): New.
>       (arm_declare_function_name): Conservatively
> emit .arch, .arch_extensions
>       and .fpu.
> 
> gcc/testsuite/
> 2017-11-06  Tamar Christina  <tamar.christ...@arm.com>
> 
>       PR target/82641
>       * gcc.target/arm/pragma_arch_attribute_2.c: New.
>       * gcc.target/arm/pragma_arch_attribute_2.c: New.
>       * gcc.target/arm/pragma_arch_attribute_3.c: New.
>       * gcc.target/arm/pragma_fpu_attribute.c: New.
>       * gcc.target/arm/pragma_fpu_attribute_2.c: New.
> 
> --

Reply via email to