Ping

> -----Original Message-----
> From: [email protected] [mailto:gcc-patches-
> [email protected]] On Behalf Of Tamar Christina
> Sent: Monday, November 6, 2017 16:52
> To: [email protected]
> Cc: nd <[email protected]>; Ramana Radhakrishnan
> <[email protected]>; Richard Earnshaw
> <[email protected]>; [email protected]; Kyrylo Tkachov
> <[email protected]>
> 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  <[email protected]>
> 
>       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  <[email protected]>
> 
>       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