Changeset cc74cb5 in mainline for kernel/arch/ia64/src/fpu_context.c


Ignore:
Timestamp:
2018-09-14T23:15:04Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6f58770
Parents:
09ab0a9a
Message:

Set FPSR.sf1 controls to standard values

The Itanium Software Conventions and Runtime Architecture Guide reserves
the Status Field 1 of FPSR to be used by the divide and square root code
and requires that it has certain standard values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/fpu_context.c

    r09ab0a9a rcc74cb5  
    491491            "mov ar.fpsr = %0 ;;\n"
    492492            : "+r" (a)
    493             : "r" (FPSR_TRAPS_ALL)
     493            : "r" (FPSR_TRAPS_ALL | FPSR_SF1_CTRL)
    494494        );
    495495
Note: See TracChangeset for help on using the changeset viewer.