Re: [PATCH v4 07/15] ARC: hardware floating point support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 3/27/20 11:37 AM, Joseph Myers wrote:

> feupdateenv has to preserve the previously raised exceptions even in the 
> FE_DFL_ENV case.  It's equivalent to
> exc = fetestexcept (FE_ALL_EXCEPT);
> fesetenv (envp);
> feraiseexcept (exc);


>> In some places I have following:
>>   if (((fpcr >> __FPU_RND_SHIFT) & FE_DOWNWARD) != round)
>> So FE_DOWNWARD (0x3) is used as mask, is that OK or would you rather see
>>   #define __FPU_RND_MASK 0x3
> I think it's cleanest to have a separate define for the mask.


linux-snps-arc mailing list

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux