[PATCH] Remove alpha specific fmax, fmin to fix sNaN handling [BZ #20947]

Maciej W. Rozycki macro@mips.com
Thu Jan 4 08:43:00 GMT 2018


On Tue, 2 Jan 2018, Adhemerval Zanella wrote:

> It is the 'cvttq/svm' which changes the fpcr and sets INE bit.
> 
> (gdb) i r fpcr
> fpcr           0x680e000000000000       7497930429618454528
> (gdb) ni
> 0x000002000009a194      38            __asm (
> (gdb) i r fpcr
> fpcr           0xe90e000000200000       -1653384013196296192
> 
> (0x000002000009a194 is the cvttq/svm from s_ceil.S).

 FYI, you can use `x /i $pc' and also `display /i $pc' to have the current 
machine instruction disassembled in GDB.

  Maciej



More information about the Libc-alpha mailing list