On 11/03/26 4:34 pm, Surya Kumari Jangala wrote:
> Hi Kishan,
>
> On 04/03/26 12:17 pm, Kishan Parmar wrote:
>> Hello,
>>
>> This patch depends on the -mcpu=future patch and will be upstreamed
>> after that patch is upstreamed.
>>
>> Thanks and regards,
>> Kishan Parmar
>>
>> Add support for gating rs6000 built-ins on a new target predicate
>> "future", corresponding to -mcpu=future.
>>
>> Extend rs6000-gen-builtins.cc and rs6000-builtin.cc to recognize
>> [future] as a valid built-in gating predicate to enable defining new
>> built-ins in .bif files.
>>
>> 2025-03-03  Kishan Parmar  <[email protected]>
>>             Michael Meissner  <[email protected]>
>>
>> gcc/ChangeLog:
>>
>>      * config/rs6000/rs6000-builtin.cc (rs6000_invalid_builtin): Handle 
>> ENB_FUTURE
>>      and issue diagnostic requiring -mcpu=future.
>>      (rs6000_builtin_is_supported): Return TARGET_FUTURE for ENB_FUTURE 
>> built-ins.
>>      * config/rs6000/rs6000-gen-builtins.cc (enum bif_stanza): Add 
>> BSTZ_FUTURE.
>>      (struct attrinfo): Add isfuture member.
> I don't see why we need 'future' as an attribute. We will be using it as a 
> stanza
> header, but I don't foresee any need of 'future' as an attribute.
>
> -Surya
>
Hello,

I've sent the updated PATCH V2.
url - 
https://inbox.sourceware.org/gcc-patches/[email protected]/T/#u

Thank You,
Kishan

Reply via email to