This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, testsuite]: PR 58757: Check for FP denormal values without triggering denormal exceptions


On Tue, Sep 23, 2014 at 7:57 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:

>> Attached patch avoids triggering denormal exceptions when FP insns are
>> used to check for non-zero denormal values.
>
> But I thought the point of the test was to verify that the compiler's
> understanding of existence of subnormal values was consistent with the
> processor.  If the processor is in a mode supporting such values, the
> exceptions should be masked.  That is, the present test should pass
> unconditionally, if it doesn't pass that indicates a bug (which might be
> appropriate for XFAILing).

Alpha needs special instruction mode to process denormals. Without
this special mode the insn traps as soon as denormal value is
processed.

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]