Re: [PATCH] x86: Add target("80387") function attribute

2025-08-14 Thread H.J. Lu
On Thu, Aug 14, 2025 at 5:37 AM H.J. Lu wrote: > > On Wed, Aug 13, 2025 at 11:33 PM Uros Bizjak wrote: > > > > On Thu, Aug 14, 2025 at 6:58 AM H.J. Lu wrote: > > > > > > Add target("80387") attribute to enable and disable x87 instructions in a > > > function. > > > > > > gcc/ > > > > > >

Re: [PATCH] x86: Add target("80387") function attribute

2025-08-14 Thread H.J. Lu
On Wed, Aug 13, 2025 at 11:33 PM Uros Bizjak wrote: > > On Thu, Aug 14, 2025 at 6:58 AM H.J. Lu wrote: > > > > Add target("80387") attribute to enable and disable x87 instructions in a > > function. > > > > gcc/ > > > > PR target/121541 > > * config/i386/i386-options.cc > >

Re: [PATCH] x86: Add target("80387") function attribute

2025-08-13 Thread Uros Bizjak
On Thu, Aug 14, 2025 at 6:58 AM H.J. Lu wrote: > > Add target("80387") attribute to enable and disable x87 instructions in a > function. > > gcc/ > > PR target/121541 > * config/i386/i386-options.cc > (ix86_valid_target_attribute_inner_p): Add a bool argument to > r

[PATCH] x86: Add target("80387") function attribute

2025-08-13 Thread H.J. Lu
Add target("80387") attribute to enable and disable x87 instructions in a function. gcc/ PR target/121541 * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p): Add a bool argument to return if x87 is disabled by target("no-80387") attribute. Add